资源简介
这是一个内容十分丰富的Qt例子集。案例具有代表性,十分适合Qt学习者工作人员学习和参考。基本上涵盖了Qt开发过程中的常见情况。
代码片段和文件信息
/****************************************************************************
**
** 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 examples\activeqt\activeqt.pro
文件 314 2012-04-27 03:45 examples\activeqt\comapp\comapp.pro
文件 23 2012-04-27 03:45 examples\activeqt\comapp\comapp.rc
文件 6769 2012-04-27 03:45 examples\activeqt\comapp\main.cpp
文件 5741 2012-04-27 03:45 examples\activeqt\dotnet\walkthrough\csharp.csproj
文件 3974 2012-04-27 03:45 examples\activeqt\dotnet\walkthrough\Form1.cs
文件 7402 2012-04-27 03:45 examples\activeqt\dotnet\walkthrough\Form1.resx
文件 3883 2012-04-27 03:45 examples\activeqt\dotnet\walkthrough\Form1.vb
文件 5588 2012-04-27 03:45 examples\activeqt\dotnet\walkthrough\vb.vbproj
文件 3575 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\app.csproj
文件 3801 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\lib.vcproj
文件 2608 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\networker.cpp
文件 2487 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\networker.h
文件 2477 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\tools.cpp
文件 2328 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\tools.h
文件 2359 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\worker.cpp
文件 2563 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\lib\worker.h
文件 834 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\main.cs
文件 1410 2012-04-27 03:45 examples\activeqt\dotnet\wrapper\wrapper.sln
文件 231 2012-04-27 03:45 examples\activeqt\hierarchy\hierarchy.inf
文件 537 2012-04-27 03:45 examples\activeqt\hierarchy\hierarchy.pro
文件 2321 2012-04-27 03:45 examples\activeqt\hierarchy\main.cpp
文件 3412 2012-04-27 03:45 examples\activeqt\hierarchy\ob
文件 3383 2012-04-27 03:45 examples\activeqt\hierarchy\ob
文件 438 2012-04-27 03:45 examples\activeqt\menus\fileopen.xpm
文件 415 2012-04-27 03:45 examples\activeqt\menus\filesave.xpm
文件 2644 2012-04-27 03:45 examples\activeqt\menus\main.cpp
文件 5837 2012-04-27 03:45 examples\activeqt\menus\menus.cpp
文件 2609 2012-04-27 03:45 examples\activeqt\menus\menus.h
文件 219 2012-04-27 03:45 examples\activeqt\menus\menus.inf
............此处省略7009个文件信息
- 上一篇:Mathematica8使用入门
- 下一篇:XposedDemo
相关资源
- 安卓公交查询系统毕业设计论文和源
- 秒余额灰色项目源码(含视频教程)
- 毕业设计-QT-音乐播放器
- 自动发卡平台源码非花旗发卡平台+安
- qt飞秋通讯终结版
- STL源码剖析 高清 带目录电子书+源代
- ClamAV的VS2005工程源码
- Activiti官方唯一推荐中文书籍——《
- 开心农场实现教程
- SSM整合时的Maven项目源码
- IONIC+PhoneGap项目源码
- 数独游戏源码
- 简单天气预报demo
- 8套源码8套H5 app源代码—WeX5移动开发
- Qt实现二值细胞图像区域上色
- 基于QT开发CAN总线上位机
- VS2017+QT5.9.1使用大漠插件(COM组件)
- WDK/DDK USBVIEW 源码 VC2010编译环境 内含
- VFP程序源码打包A
- 麒麟子麻将源码.zip
- paint.net 源码
- 当当网数据1.1G)快速检索
- 对QQ的简单模仿源码
- OpenGL ES 2.0 编程指南中英文+源码
- 洗车管理系统源码
- 工作易高端人才招聘系统100%商业最新
- QT实现群聊私聊
- stm32烧写源码dos
- cocos creator完整牛牛前端源码
- 植物大战僵尸源码
评论
共有 条评论