[Previous: Application Main Window] [Next: Desktop Integration]
Dialogs can be modal, in which case the user is required to provide necessary information before work in the main window can continue, or modeless. Modeless dialogs do not prevent the user from interacting with any of the other windows in the application.
Qt provides a set of ready-made dialogs for file, font, color-selection and more.
Dialog widget for specifying colors |
|
Dialog that allow users to select files or directories |
|
Dialog widget for selecting a font |
|
Simple convenience dialog to get a single value from the user |
|
Modal dialog for informing the user or for asking the user a question and receiving an answer |
|
Configuration dialog for the page-related options on a printer |
|
Dialog for specifying the printer's configuration |
|
Dialog for previewing and configuring page layouts for printer output |
|
Feedback on the progress of a slow operation |
Custom dialogs can be easily created by composing regular widgets into a QDialog. These classes are specifically designed for building custom dialogs:
The base class of dialog windows |
|
Widget that presents buttons in a layout that is appropriate to the current widget style |
[Previous: Application Main Window] [Next: Desktop Integration]
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.