This file is a part of 1590598318-1.zip containing example source code for the
Foundations of Qt Development book available from APress (ISBN 1590598318).
These are the examples for chapter 3 - Widgets and Layouts
designer-and-code
Listings 3-1, 3-2, 3-3
A simple dialog with layouts and stretch factors created using source code as
well as using Designer.
gridlayout
Listing 3-4
Shows buttons in a QGridLayout.
pushbutton
Listing 3-5
Shows QPushButton widgets.
buttonbox
Listing 3-6
Shows a QDialogButtonBox widget with buttons.
label
Listings 3-7
Shows QLabel widgets.
lineedit
Not shown in any Listings, but Figures 3-12 and 3-13.
Shows QLineEdit widgets in different modes.
radiobutton
Listings 3-8
Shows QRadioButton widgets in QButtonGroups.
groupbox
Not shown in any Listings, but Figure 3-15.
Shows QGroupBox widgets.
listwidget
Listings 3-9, 3-10
Shows two QListWidget instances and QPushButton widgets used to move items
between the two lists.
spinbox
Not shown in any Listings, but Figure 3-17.
Shows a QSpinBox widget connected to a QLCDNumber widget.
progressbar
Not shown in any Listings, but Figure 3-19.
Shows QProgressBar widgets in different working modes.
filedialog
Listings 3-11, 3-12, 3-13, 3-14
Shows the QFileDialog class and the getOpenFileName, getOpenFileNames,
getSaveFileName and getExistingDirectory methods.
messagebox
Listings 3-15, 3-16, 3-17, 3-18, 3-19
Shows the QMessageBox class and the QInputDialog class. For the latter, the
getText, getItem and getInteger methods are used.
colorandfont
Listings 3-20, 3-21
Shows the QColorDialog and QFontDialog classes.
validator
Listing 3-22
Shows the QIntValidator and QDoubleValidator classes.
regexp
Listings 3-23, 3-24
Shows how to use a regular expression and the QRegExp class.
revalidator
Listing 3-25
Shows how to use the QRegExpValidator and a regular expression to validate
user input.
没有合适的资源?快使用搜索试试~ 我知道了~
Qt开发基础(Foundations of Qt Development)【英文版】

共547个文件
cpp:203个
pro:125个
h:90个


Qt开发基础(Foundations of Qt Development)【英文版】
资源推荐
资源详情
资源评论










收起资源包目录





































































































共 547 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论

- qq_388072992019-03-20质量很不错,并且不是扫描的
- ziseliuxingzh2011-11-08非常好,文档清晰,还有code
- skyztttt2011-10-25书和源码都有,谢谢分享
soaliap
- 粉丝: 7
- 资源: 45

上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
最新资源
- 故障切换群集和 Microsoft 群集服务的设置(VMware vSphere 6.7,VMware ESXi 6.7,vCe
- python初学者视频教程及学习资料
- vSphere 主机配置文件(VMware vSphere 7.0,VMware ESXi 7.0,vCenter Server
- 基于ARMA差分还原的客流量时间序列预测 完整代码数据 毕设
- 基于springboot停车管理系统(数据库源代码、可远程调试、有文档)
- 【计算机毕业设计】基于SSH的医院在线挂号的系统源代码
- 光伏发电量预测机器学习数据集
- 【计算机毕业设计】javaEE+SqlServer企业车辆管理系统设计与实现
- Linux网络操作系统-课程标准
- 操作系统课程设计高分大作业(97分),共25页word版本
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
