对话框范例

Qt 包括用于很多常见操作的标准对话框,譬如:文件选择、打印及颜色选择。

用户创建的,可以与之交互的专用模态 (或非模态) 自定义对话框。

类向导范例 The License Wizard example shows how to implement linear wizards using QWizard.
配置对话框范例 The Config Dialog examples shows how a configuration dialog can be created by using an icon view with a stacked widget.
扩展范例 The Extension example shows how to add an extension to a QDialog using the QAbstractButton::toggled() signal and the QWidget::setVisible() slot.
查找文件范例 The Find Files example shows how to use QProgressDialog to provide feedback on the progress of a slow operation. The example also shows how to use QFileDialog to facilitate browsing, how to use QTextStream's streaming operators to read a file, and how to use QTableWidget to provide standard table display facilities for applications. In addition, files can be opened using the QDesktopServices class.
许可向导范例 许可向导范例展示如何以 Qt 实现复杂向导。
标准对话框范例 The Standard Dialogs example shows the standard dialogs that are provided by Qt.
选项卡对话框范例 The Tab Dialog example shows how to construct a tab dialog using the QTabWidget class.
通俗向导范例 The Trivial Wizard example illustrates how to create a linear three-page registration wizard using three instances of QWizardPage and one instance of QWizard.