标签:
无标签
3 FindDialog::FindDialog(QWidget *parent)
4 : QDialog(parent)
5 {
6 label = new QLabel(tr("Find &what:"));
......
On line 4, we pass on the
parent parameter to the base class constructor.
The return value is ignored when a slot is executed in response to a
signal, but when we call a slot as a function the return value is
available to us just as it is when we call any ordinary C++ function.
A dialog is modeless if it's invoked using
show() (unless we call
setModal() beforehand to make it modal); it is modal if it's invoked using
exec().
系统分类:
软件开发 | 用户分类:
综合 | 来源:
整理 | 【推荐给朋友】 | 【添加到收藏夹】