![]() |
Home · Modules · Classes · Namespaces · Functions |
The QxtConfigDialog class provides a configuration dialog. More...
#include <QxtConfigDialog>
Inherits QDialog.
The QxtConfigDialog class provides a configuration dialog.
QxtConfigDialog provides a convenient interface for building common configuration dialogs. QxtConfigDialog consists of a list of icons and a stack of pages.
Example usage:
QxtConfigDialog dialog; dialog.configWidget()->addPage(new ConfigurationPage(&dialog), QIcon(":/images/config.png"), tr("Configuration")); dialog.configWidget()->addPage(new UpdatePage(&dialog), QIcon(":/images/update.png"), tr("Update")); dialog.configWidget()->addPage(new QueryPage(&dialog), QIcon(":/images/query.png"), tr("Query")); dialog.exec();
See also QxtConfigWidget.
Constructs a new QxtConfigDialog with parent and flags.
Constructs a new QxtConfigDialog with icon position, parent and flags.
Destructs the config dialog.
Note: The default implementation calls SLOT(accept()) of each page page provided that such slot exists.
Reimplemented from QDialog.
See also reject().
Returns the config widget.
See also setConfigWidget().
Returns the dialog button box.
The default buttons are QDialogButtonBox::Ok and QDialogButtonBox::Cancel.
See also setDialogButtonBox().
Note: The default implementation calls SLOT(reject()) of each page provided that such slot exists.
Reimplemented from QDialog.
See also accept().
Sets the configWidget. The previous config widget is deleted if the parent equals this.
See also configWidget().
Sets the dialog buttonBox. The previous button box is deleted if the parent equals this.
See also dialogButtonBox().
Copyright © 2007-2011 Qxt Foundation |
Qxt 0.6.2 |