实例介绍
【实例截图】
【核心代码】
.
├── Qt5 C GUI Programming Cookbook源码.zip
└── Qt5CGUIProgrammingCookbook_Code
├── Chapter 1
│ ├── Basic_Stylesheet_with_Qt_Designer
│ │ ├── Look_and_Feel_Customization.pro
│ │ ├── Look_and_Feel_Customization.pro.user
│ │ ├── login_bg.png
│ │ ├── logo.png
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ ├── mainwindow.ui
│ │ ├── resources.qrc
│ │ ├── restart_icon.png
│ │ └── shutdown_icon.png
│ ├── Custom_Properties_and_Subcontrols
│ │ ├── Custom_Properties_Subcontrols.pro
│ │ ├── Custom_Properties_Subcontrols.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ └── Styling_in_QML
│ ├── Look_and_Feel_Customization_QML.pro
│ ├── Look_and_Feel_Customization_QML.pro.user
│ ├── MainForm.ui.qml
│ ├── deployment.pri
│ ├── login_bg.png
│ ├── logo.png
│ ├── main.cpp
│ ├── main.qml
│ ├── qml.qrc
│ ├── restart_icon.png
│ └── shutdown_icon.png
├── Chapter 2
│ ├── Property_Animation_in_Qt
│ │ ├── PropertyAnimation.pro
│ │ ├── PropertyAnimation.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ ├── Sprite_Animation
│ │ ├── Sprite_QML.pro
│ │ ├── Sprite_QML.pro.user
│ │ ├── deployment.pri
│ │ ├── horse_1.png
│ │ ├── main.cpp
│ │ ├── main.qml
│ │ └── qml.qrc
│ ├── State_Machine_in_Qt
│ │ ├── StateMachine.pro
│ │ ├── StateMachine.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ └── States_Transitions_and_Animations_in_QML
│ ├── Animation_QML.pro
│ ├── Animation_QML.pro.user
│ ├── deployment.pri
│ ├── main.cpp
│ ├── main.qml
│ └── qml.qrc
├── Chapter 3
│ ├── Applying_Image_Effects_to_Graphics
│ │ ├── Graphics_Effects.pro
│ │ ├── Graphics_Effects.pro.user
│ │ ├── butterfly.png
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ ├── mainwindow.ui
│ │ ├── resources.qrc
│ │ └── tux.png
│ ├── Coordinate_Transformation
│ │ ├── Coordinate_Transformation.pro
│ │ ├── Coordinate_Transformation.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ ├── Creating_a_Basic_Paint_Program
│ │ ├── Simple_Paint_Program.pro
│ │ ├── Simple_Paint_Program.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ ├── Displaying_Images_on_Screen
│ │ ├── Displaying_Images_on_Screen.pro
│ │ ├── Displaying_Images_on_Screen.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ ├── Graphics_Painter_in_Qt
│ │ ├── QPainter_2D_Graphics.pro
│ │ ├── QPainter_2D_Graphics.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ ├── mainwindow.ui
│ │ └── tux.png
│ └── QML_2D_Canvas
│ ├── QML_2D_Canvas.pro
│ ├── QML_2D_Canvas.pro.user
│ ├── deployment.pri
│ ├── main.cpp
│ ├── main.qml
│ ├── qml.qrc
│ └── tux.png
├── Chapter 4
│ ├── OpenGL_2D_Graphics
│ │ ├── OpenGL_in_Qt.pro
│ │ ├── OpenGL_in_Qt.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ └── mainwindow.h
│ ├── OpenGL_3D_Graphics
│ │ ├── OpenGL_in_Qt.pro
│ │ ├── OpenGL_in_Qt.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ └── mainwindow.h
│ ├── OpenGL_Hello_World
│ │ ├── OpenGL_in_Qt.pro
│ │ ├── OpenGL_in_Qt.pro.user
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ └── mainwindow.h
│ ├── OpenGL_Lighting_Texture_Filter
│ │ ├── OpenGL_in_Qt.pro
│ │ ├── OpenGL_in_Qt.pro.user
│ │ ├── bricks.jpg
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ └── mainwindow.h
│ ├── OpenGL_Movement
│ │ ├── OpenGL_in_Qt.pro
│ │ ├── OpenGL_in_Qt.pro.user
│ │ ├── bricks.jpg
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ └── mainwindow.h
│ └── Qt_Canvas_3D
│ ├── Qt_Canvas_3D.pro
│ ├── Qt_Canvas_3D.pro.user
│ ├── bricks.jpg
│ ├── deployment.pri
│ ├── glcode.js
│ ├── main.cpp
│ ├── main.qml
│ ├── qml.qrc
│ └── three.js
├── Chapter 5
│ ├── Basic_User_Interface_Design
│ │ ├── Chapter5.pro
│ │ ├── Chapter5.pro.user
│ │ ├── Chapter5.pro.user.c844d43
│ │ ├── MainForm.ui.qml
│ │ ├── deployment.pri
│ │ ├── main.cpp
│ │ ├── main.qml
│ │ └── qml.qrc
│ ├── QML_Animation
│ │ ├── MainForm.ui.qml
│ │ ├── QML_Animation.pro
│ │ ├── QML_Animation.pro.user
│ │ ├── deployment.pri
│ │ ├── fan.png
│ │ ├── main.cpp
│ │ ├── main.qml
│ │ └── qml.qrc
│ ├── QML_Cpp
│ │ ├── MainForm.ui.qml
│ │ ├── QML_Cpp.pro
│ │ ├── QML_Cpp.pro.user
│ │ ├── deployment.pri
│ │ ├── main.cpp
│ │ ├── main.qml
│ │ ├── myclass.cpp
│ │ ├── myclass.h
│ │ └── qml.qrc
│ ├── QML_Model_Views
│ │ ├── MainForm.ui.qml
│ │ ├── QML_Model_Views.pro
│ │ ├── QML_Model_Views.pro.user
│ │ ├── android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build.gradle
│ │ │ └── res
│ │ │ └── values
│ │ │ └── libs.xml
│ │ ├── arrow.png
│ │ ├── deployment.pri
│ │ ├── home.png
│ │ ├── main.cpp
│ │ ├── main.qml
│ │ ├── map.png
│ │ ├── profile.png
│ │ ├── qml.qrc
│ │ ├── search.png
│ │ └── settings.png
│ ├── Setting_Up_Qt_for_Mobile_App
│ │ ├── MainForm.ui.qml
│ │ ├── Setting_Up_Qt_for_Mobile_App.pro
│ │ ├── Setting_Up_Qt_for_Mobile_App.pro.user
│ │ ├── android
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── build.gradle
│ │ │ ├── gradle
│ │ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ │ ├── gradlew
│ │ │ ├── gradlew.bat
│ │ │ └── res
│ │ │ └── values
│ │ │ └── libs.xml
│ │ ├── deployment.pri
│ │ ├── main.cpp
│ │ ├── main.qml
│ │ └── qml.qrc
│ └── TouchInput
│ ├── MainForm.ui.qml
│ ├── Tab.qml
│ ├── TouchInput.pro
│ ├── TouchInput.pro.user
│ ├── android
│ │ ├── AndroidManifest.xml
│ │ ├── build.gradle
│ │ ├── gradle
│ │ │ └── wrapper
│ │ └── res
│ │ └── values
│ │ └── libs.xml
│ ├── deployment.pri
│ ├── main.cpp
│ ├── main.qml
│ ├── qml.qrc
│ └── tux.png
├── ReadME.txt
├── Scripts
│ ├── Chapter01
│ │ └── OLD
│ │ ├── Buttons
│ │ │ ├── Buttons.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── ComboBox
│ │ │ ├── ComboBox.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── ContainerWidgets
│ │ │ ├── ContainerWidgets.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── FormLayout
│ │ │ ├── FormLayout.pro
│ │ │ ├── main.cpp
│ │ │ ├── mainwindow.cpp
│ │ │ ├── mainwindow.h
│ │ │ └── mainwindow.ui
│ │ ├── HelloWidgetsWorld
│ │ │ ├── HelloWidgetsWorld.pro
│ │ │ ├── main.cpp
│ │ │ ├── main.cpp.autosave
│ │ │ ├── mainwindow.cpp
│ │ │ └── mainwindow.h
│ │ ├── Labels
│ │ │ ├── Labels.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── LineEdit
│ │ │ ├── LineEdit.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── ListWidget
│ │ │ ├── Folder.ico
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ ├── maindialog.ui
│ │ │ ├── maindialog[Konflikt].cpp
│ │ │ └── resources.qrc
│ │ ├── RadioButtons
│ │ │ ├── RadioButtons.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── ScrollArea
│ │ │ ├── ScrollArea.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ └── maindialog.h
│ │ ├── SignalsAndSlots
│ │ │ ├── SignalsAndSlots.pro
│ │ │ ├── main.cpp
│ │ │ ├── mainwindow.cpp
│ │ │ └── mainwindow.h
│ │ ├── SizePolicies
│ │ │ ├── SizePolicies.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ ├── TreeView
│ │ │ ├── TreeView.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ └── maindialog.ui
│ │ └── VisualSignalsAndSlots
│ │ ├── VisualSignalsAndSlots.pro
│ │ ├── main.cpp
│ │ ├── mainwindow.cpp
│ │ ├── mainwindow.h
│ │ └── mainwindow.ui
│ ├── Chapter02
│ │ └── old
│ │ ├── OpenFileWidget
│ │ │ ├── OpenFileWidget.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ ├── maindialog.ui
│ │ │ ├── openfilewidget.cpp
│ │ │ ├── openfilewidget.h
│ │ │ └── openfilewidget.ui
│ │ ├── Paint
│ │ │ ├── Paint.pro
│ │ │ ├── Resources.qrc
│ │ │ ├── green-grass-texture.png
│ │ │ ├── main.cpp
│ │ │ ├── mainwindow.cpp
│ │ │ ├── mainwindow.h
│ │ │ ├── mainwindow.ui
│ │ │ ├── renderarea.cpp
│ │ │ └── renderarea.h
│ │ ├── StopWatch
│ │ │ ├── StopWatch.pro
│ │ │ ├── main.cpp
│ │ │ ├── maindialog.cpp
│ │ │ ├── maindialog.h
│ │ │ ├── maindialog.ui
│ │ │ ├── stopwatch.cpp
│ │ │ └── stopwatch.h
│ │ └── StyleSheets
│ │ ├── Resources.qrc
│ │ ├── StyleSheets.pro
│ │ ├── main.cpp
│ │ ├── maindialog.cpp
│ │ ├── maindialog.h
│ │ ├── maindialog.ui
│ │ └── styles.css
│ └── Chapter03
└── software-hardware_list.PDF
68 directories, 301 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论