对话框范例

Qt includes standard dialogs for many common operations, such as file selection, printing, and color selection.

Custom dialogs can also be created for specialized modal or modeless interactions with users.

类向导范例 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.
许可向导范例 The License Wizard example shows how to implement complex wizards in 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.