Home · All Classes · Modules

QDialog Class Reference
[QtGui module]

Inherits QWidget.

Inherited by QAbstractPrintDialog, QColorDialog, QErrorMessage, QFileDialog, QFontDialog, QInputDialog, QMessageBox, QPageSetupDialog, QPrintPreviewDialog, QProgressDialog and QWizard.

Types

Methods

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.contextMenuEvent (self, QContextMenuEvent)

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().

Qt.Orientation QDialog.orientation (self)

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.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0