QDialog Class Reference
[QtGui module]
Inherits QWidget.
Inherited by QAbstractPrintDialog, QColorDialog, QErrorMessage, QFileDialog, QFontDialog, QInputDialog, QMessageBox, QPageSetupDialog, QPrintPreviewDialog, QProgressDialog and QWizard.
Types
Methods
- __init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)
- accept (self)
- closeEvent (self, QCloseEvent)
- contextMenuEvent (self, QContextMenuEvent)
- done (self, int)
- bool eventFilter (self, QObject, QEvent)
- int exec_ (self)
- QWidget extension (self)
- bool isSizeGripEnabled (self)
- keyPressEvent (self, QKeyEvent)
- QSize minimumSizeHint (self)
- open (self)
- Qt.Orientation orientation (self)
- reject (self)
- resizeEvent (self, QResizeEvent)
- int result (self)
- setExtension (self, QWidget)
- setModal (self, bool)
- setOrientation (self, Qt.Orientation)
- setResult (self, int)
- setSizeGripEnabled (self, bool)
- setVisible (self, bool)
- showEvent (self, QShowEvent)
- showExtension (self, bool)
- QSize sizeHint (self)
Qt Signals
Detailed Description
Type Documentation
QDialog.DialogCode
Method Documentation
QDialog.__init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QDialog.accept (self)
This method is also a Qt slot with the C++ signature void accept().
QDialog.closeEvent (self, QCloseEvent)
QDialog.done (self, int)
This method is also a Qt slot with the C++ signature void done(int).
bool QDialog.eventFilter (self, QObject, QEvent)
int QDialog.exec_ (self)
This method is also a Qt slot with the C++ signature int exec().
QWidget QDialog.extension (self)
bool QDialog.isSizeGripEnabled (self)
QDialog.keyPressEvent (self, QKeyEvent)
QSize QDialog.minimumSizeHint (self)
QDialog.open (self)
This method is also a Qt slot with the C++ signature void open().
QDialog.reject (self)
This method is also a Qt slot with the C++ signature void reject().
QDialog.resizeEvent (self, QResizeEvent)
int QDialog.result (self)
QDialog.setExtension (self, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QDialog.setModal (self, bool)
QDialog.setOrientation (self, Qt.Orientation)
QDialog.setResult (self, int)
QDialog.setSizeGripEnabled (self, bool)
QDialog.setVisible (self, bool)
QDialog.showEvent (self, QShowEvent)
QDialog.showExtension (self, bool)
This method is also a Qt slot with the C++ signature void showExtension(bool).
QSize QDialog.sizeHint (self)
Qt Signal Documentation
void accepted ()
This is the default overload of this signal.
void finished (int)
This is the default overload of this signal.
void rejected ()
This is the default overload of this signal.