對話框範例

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.