#include <qdialog.h>

Public Types |
|
| enum | DialogCode { Rejected, Accepted } |
Public Slots |
|
| void | open () |
| int | exec () |
| virtual void | done (int) |
| virtual void | accept () |
| virtual void | reject () |
| void | showExtension (bool) |
Signals |
|
| void | finished (int result) |
| void | accepted () |
| void | rejected () |
Public Member Functions |
|
| QDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~QDialog () | |
| int | result () const |
| void | setVisible (bool visible) |
| void | setOrientation (Qt::Orientation orientation) |
| Qt::Orientation | orientation () const |
| void | setExtension (QWidget *extension) |
| QWidget * | extension () const |
| QSize | sizeHint () const |
| QSize | minimumSizeHint () const |
| void | setSizeGripEnabled (bool) |
| bool | isSizeGripEnabled () const |
| void | setModal (bool modal) |
| void | setResult (int r) |
Protected Member Functions |
|
| QDialog (QDialogPrivate &, QWidget *parent, Qt::WindowFlags f=0) | |
| void | keyPressEvent (QKeyEvent *) |
| void | closeEvent (QCloseEvent *) |
| void | showEvent (QShowEvent *) |
| void | resizeEvent (QResizeEvent *) |
| void | contextMenuEvent (QContextMenuEvent *) |
| bool | eventFilter (QObject *, QEvent *) |
| void | adjustPosition (QWidget *) |
Properties |
|
| bool | sizeGripEnabled |
| bool | modal |
Friends |
|
| class | QPushButton |
| enum DialogCode |
| ~QDialog | ( | ) |
| int result | ( | ) | const |
| void setVisible | ( | bool | visible | ) | [virtual] |
Reimplemented from QWidget.
Reimplemented in QColorDialog, QFileDialog, QFontDialog, QInputDialog, QPrintPreviewDialog, and QWizard.
| void setOrientation | ( | Qt::Orientation | orientation | ) |
| Qt::Orientation orientation | ( | ) | const |
| void setExtension | ( | QWidget * | extension | ) |
| QWidget* extension | ( | ) | const |
| QSize sizeHint | ( | ) | const [virtual] |
Reimplemented from QWidget.
Reimplemented in QInputDialog, QMessageBox, QProgressDialog, and QWizard.
| QSize minimumSizeHint | ( | ) | const [virtual] |
| void setSizeGripEnabled | ( | bool | ) |
| bool isSizeGripEnabled | ( | ) | const |
| void setModal | ( | bool | modal | ) |
| void setResult | ( | int | r | ) |
| void finished | ( | int | result | ) | [signal] |
| void accepted | ( | ) | [signal] |
| void rejected | ( | ) | [signal] |
| void open | ( | ) | [slot] |
| int exec | ( | ) | [slot] |
Reimplemented in QAbstractPageSetupDialog, QAbstractPrintDialog, QPageSetupDialog, and QPrintDialog.
| virtual void done | ( | int | ) | [virtual, slot] |
Reimplemented in QAbstractPageSetupDialog, QColorDialog, QErrorMessage, QFileDialog, QFontDialog, QInputDialog, QPrintDialog, QPrintPreviewDialog, and QWizard.
| virtual void accept | ( | ) | [virtual, slot] |
Reimplemented in QFileDialog.
| virtual void reject | ( | ) | [virtual, slot] |
| void showExtension | ( | bool | ) | [slot] |
| void keyPressEvent | ( | QKeyEvent * | ) | [protected, virtual] |
| void closeEvent | ( | QCloseEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
Reimplemented in QMessageBox, and QProgressDialog.
| void showEvent | ( | QShowEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
Reimplemented in QMessageBox, and QProgressDialog.
| void resizeEvent | ( | QResizeEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
Reimplemented in EnlargedCurveEditor, QMessageBox, QProgressDialog, and QWizard.
| void contextMenuEvent | ( | QContextMenuEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
Reimplemented from QObject.
| void adjustPosition | ( | QWidget * | ) | [protected] |
friend class QPushButton
[friend] |
bool sizeGripEnabled [read,
write] |
bool modal [read, write] |