• 大小: 778KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-01
  • 标签: C++GUI  

资源简介

C++GUI Qt4编程(第二版)详细讲述了用最新的Qt版本进行图形用户界面应用程序开发的各个方面。前5章主要涉及Qt基础知识,后两个部分主要讲解Qt的中高级编程,包括布局管理、事件处理、二维/三维图形、拖放、项视图类、容器类、输入/输出、数据库、多线程、网络、XML、国际化、嵌入式编程等内容。对于本书讲授的大量Qt4编程原理和实践,都可以轻易将其应用于Qt4.4、Qt4.5以及后续版本的Qt程序开发过程中。   本书适合对Qt编程感兴趣的程序员以及广大计算机编程爱好者阅读,也可作为相关机构的培训教材。该文件是该书的完整配套的示例程序,

资源截图

代码片段和文件信息

import com.trolltech.qt.core.*;
import com.trolltech.qt.gui.*;

public class FindDialog extends QDialog {
    public Signal2 findNext =
            new Signal2();

    public Signal2 findPrevious =
            new Signal2();

    public FindDialog(QWidget parent) {
        super(parent);

        label = new QLabel(tr(“Find &what:“));
        lineEdit = new QLineEdit();
        label.setBuddy(lineEdit);

        caseCheckBox = new QCheckBox(tr(“Match &case“));
        backwardCheckBox = new QCheckBox(tr(“Search &backward“));

        findButton = new QPushButton(tr(“&Find“));
        findButton.setDefault(true);
        findButton.setEnabled(false);

        closeButton = new QPu

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2538  2008-01-09 08:43  qt-book\examples.pro

     文件       2922  2008-01-09 08:43  qt-book\README.txt

     文件        125  2008-01-09 08:43  qt-book\chap24\unitconverter\main.cpp

     文件       3547  2008-01-09 08:43  qt-book\chap24\unitconverter\unitconverter.cpp

     文件        169  2008-01-09 08:43  qt-book\chap24\unitconverter\unitconverter.desktop

     文件        659  2008-01-09 08:43  qt-book\chap24\unitconverter\unitconverter.h

     文件        552  2008-01-09 08:43  qt-book\chap24\unitconverter\unitconverter.pro

     文件       1197  2008-01-09 08:43  qt-book\chap24\unitconverter\pics\Example.png

     文件        657  2008-01-09 08:43  qt-book\chap24\expenses\expense.cpp

     文件        485  2008-01-09 08:43  qt-book\chap24\expenses\expense.h

     文件       3161  2008-01-09 08:43  qt-book\chap24\expenses\expensedialog.cpp

     文件        711  2008-01-09 08:43  qt-book\chap24\expenses\expensedialog.h

     文件        133  2008-01-09 08:43  qt-book\chap24\expenses\expenses.desktop

     文件        643  2008-01-09 08:43  qt-book\chap24\expenses\expenses.pro

     文件       6375  2008-01-09 08:43  qt-book\chap24\expenses\expensewindow.cpp

     文件        831  2008-01-09 08:43  qt-book\chap24\expenses\expensewindow.h

     文件        120  2008-01-09 08:43  qt-book\chap24\expenses\main.cpp

     文件       1279  2008-01-09 08:43  qt-book\chap24\expenses\pics\add.png

     文件       1468  2008-01-09 08:43  qt-book\chap24\expenses\pics\cancel.png

     文件       1368  2008-01-09 08:43  qt-book\chap24\expenses\pics\clear.png

     文件       1468  2008-01-09 08:43  qt-book\chap24\expenses\pics\delete.png

     文件       1627  2008-01-09 08:43  qt-book\chap24\expenses\pics\edit.png

     文件        456  2008-01-09 08:43  qt-book\chap24\expenses\pics\expenses.png

     文件       1393  2008-01-09 08:43  qt-book\chap24\expenses\pics\ok.png

     文件       2447  2008-01-09 08:43  qt-book\chap24\expenses\pics\send.png

     文件       1029  2008-01-09 08:43  qt-book\chap23\tictactoe\application.cpp

     文件        388  2008-01-09 08:43  qt-book\chap23\tictactoe\application.h

     文件        235  2008-01-09 08:43  qt-book\chap23\tictactoe\main.cpp

     文件       4617  2008-01-09 08:43  qt-book\chap23\tictactoe\tictactoe.cpp

     文件        766  2008-01-09 08:43  qt-book\chap23\tictactoe\tictactoe.h

............此处省略616个文件信息

评论

共有 条评论