1. <C++ GUI Qt 4 编程(第二版)>
the first part <basic qt>
Goal: be familiar with most of qt widget and create form application
Deadline:June19 ~ June21
Caution1:
trying to specify signal or slot argument values when connecting will cause your code to fail at run-time. Theconnectfunction understands only the argumenttypes
The following example will fail at run-time
QObject::connect(sender, SIGNAL(textChanged("testString")), receiver, SLOT(setText("testString")));
Caution2:
signal and slot argument types must be the same when connecting
QObject::connect(sender, SIGNAL(textChanged(QString)), receiver, SLOT(setText(int)));
Inconvenience:
Qt cann't automatically alter all the referring when the object name is changed.
2. the second part <medium qt>
3. the third part <high qt>
本文详细介绍了C++GUIQt4编程的三个阶段:基础Qt部分,中级Qt部分和高级Qt部分。每个阶段都有明确的目标和截止日期。文章特别强调了在连接信号和槽时应注意的事项,包括信号和槽参数类型必须匹配,以及对象名称更改时Qt不能自动更新引用的问题。此外,文章还概述了Qt编程中常见的不便之处。
1755

被折叠的 条评论
为什么被折叠?



