这是一个内容十分丰富的Qt例子集。案例具有代表性,十分适合Qt学习者工作人员学习和参考。基本上涵盖了Qt开发过程中的常见情况。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 737 2012-04-27 03:45 examplesactiveqtactiveqt.pro
文件 314 2012-04-27 03:45 examplesactiveqtcomappcomapp.pro
文件 23 2012-04-27 03:45 examplesactiveqtcomappcomapp.rc
文件 6769 2012-04-27 03:45 examplesactiveqtcomappmain.cpp
文件 5741 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughcsharp.csproj
文件 3974 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughForm1.cs
文件 7402 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughForm1.resx
文件 3883 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughForm1.vb
文件 5588 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughvb.vbproj
文件 3575 2012-04-27 03:45 examplesactiveqtdotnetwrapperapp.csproj
文件 3801 2012-04-27 03:45 examplesactiveqtdotnetwrapperliblib.vcproj
文件 2608 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib
etworker.cpp
文件 2487 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib
etworker.h
文件 2477 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib ools.cpp
文件 2328 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib ools.h
文件 2359 2012-04-27 03:45 examplesactiveqtdotnetwrapperlibworker.cpp
文件 2563 2012-04-27 03:45 examplesactiveqtdotnetwrapperlibworker.h
文件 834 2012-04-27 03:45 examplesactiveqtdotnetwrappermain.cs
文件 1410 2012-04-27 03:45 examplesactiveqtdotnetwrapperwrapper.sln
文件 231 2012-04-27 03:45 examplesactiveqthierarchyhierarchy.inf
文件 537 2012-04-27 03:45 examplesactiveqthierarchyhierarchy.pro
文件 2321 2012-04-27 03:45 examplesactiveqthierarchymain.cpp
文件 3412 2012-04-27 03:45 examplesactiveqthierarchyobjects.cpp
文件 3383 2012-04-27 03:45 examplesactiveqthierarchyobjects.h
文件 438 2012-04-27 03:45 examplesactiveqtmenusfileopen.xpm
文件 415 2012-04-27 03:45 examplesactiveqtmenusfilesave.xpm
文件 2644 2012-04-27 03:45 examplesactiveqtmenusmain.cpp
文件 5837 2012-04-27 03:45 examplesactiveqtmenusmenus.cpp
文件 2609 2012-04-27 03:45 examplesactiveqtmenusmenus.h
文件 219 2012-04-27 03:45 examplesactiveqtmenusmenus.inf
............此处省略7009个文件信息
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** “Redistribution and use in source and binary forms with or without
** modification are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** “AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
** LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL
** SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
** LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE
** DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.“
** $QT_END_LICENSE$
**
****************************************************************************/
#include
#include
#include
#include
class Application;
class DocumentList;
//! [0]
class Document : public Qobject
{
Q_object
Q_CLASSINFO(“ClassID“ “{2b5775cd-72c2-43da-bc3b-b0e8d1e1c4f7}“)
Q_CLASSINFO(“InterfaceID“ “{2ce1761e-07a3-415c-bd11-0eab2c7283de}“)
Q_PROPERTY(Application *application READ application)
Q_PROPERTY(QString title READ title WRITE settitle)
public:
Document(DocumentList *list);
~Document();
Application *application() const;
QString title() const;
void settitle(const QString &title);
private:
QWidget *page;
};
//! [0]
//! [1]
class DocumentList : public Qobject
{
Q_object
Q_CLASSINFO(“ClassID“ “{496b761d-924b-4554-a18a-8f3704d2a9a6}“)
Q_CLASSINFO(“InterfaceID“ “{6c9e30e8-3ff6-4e6a-9edc-d219d074a148}“)
Q_PROPERTY(Applicatio
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 737 2012-04-27 03:45 examplesactiveqtactiveqt.pro
文件 314 2012-04-27 03:45 examplesactiveqtcomappcomapp.pro
文件 23 2012-04-27 03:45 examplesactiveqtcomappcomapp.rc
文件 6769 2012-04-27 03:45 examplesactiveqtcomappmain.cpp
文件 5741 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughcsharp.csproj
文件 3974 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughForm1.cs
文件 7402 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughForm1.resx
文件 3883 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughForm1.vb
文件 5588 2012-04-27 03:45 examplesactiveqtdotnetwalkthroughvb.vbproj
文件 3575 2012-04-27 03:45 examplesactiveqtdotnetwrapperapp.csproj
文件 3801 2012-04-27 03:45 examplesactiveqtdotnetwrapperliblib.vcproj
文件 2608 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib
etworker.cpp
文件 2487 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib
etworker.h
文件 2477 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib ools.cpp
文件 2328 2012-04-27 03:45 examplesactiveqtdotnetwrapperlib ools.h
文件 2359 2012-04-27 03:45 examplesactiveqtdotnetwrapperlibworker.cpp
文件 2563 2012-04-27 03:45 examplesactiveqtdotnetwrapperlibworker.h
文件 834 2012-04-27 03:45 examplesactiveqtdotnetwrappermain.cs
文件 1410 2012-04-27 03:45 examplesactiveqtdotnetwrapperwrapper.sln
文件 231 2012-04-27 03:45 examplesactiveqthierarchyhierarchy.inf
文件 537 2012-04-27 03:45 examplesactiveqthierarchyhierarchy.pro
文件 2321 2012-04-27 03:45 examplesactiveqthierarchymain.cpp
文件 3412 2012-04-27 03:45 examplesactiveqthierarchyob
文件 3383 2012-04-27 03:45 examplesactiveqthierarchyob
文件 438 2012-04-27 03:45 examplesactiveqtmenusfileopen.xpm
文件 415 2012-04-27 03:45 examplesactiveqtmenusfilesave.xpm
文件 2644 2012-04-27 03:45 examplesactiveqtmenusmain.cpp
文件 5837 2012-04-27 03:45 examplesactiveqtmenusmenus.cpp
文件 2609 2012-04-27 03:45 examplesactiveqtmenusmenus.h
文件 219 2012-04-27 03:45 examplesactiveqtmenusmenus.inf
............此处省略7009个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)