Class: QgsDialog

class qgis.gui.QgsDialog(parent: QWidget = None, fl: Union[Qt.WindowFlags, Qt.WindowType] = QgsGuiUtils.ModalDialogFlags, buttons: Union[QDialogButtonBox.StandardButtons, QDialogButtonBox.StandardButton] = QDialogButtonBox.Close, orientation: Qt.Orientation = Qt.Horizontal)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsDialog.

A generic dialog with layout and button box

Parameters
  • parent (QWidget = None) –

  • fl (Union[Qt.WindowFlags) –

  • buttons (Union[QDialogButtonBox.StandardButtons) –

  • orientation

actionEvent()
buttonBox(self) → QDialogButtonBox

Returns the button box.

Return type

QDialogButtonBox

changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
layout(self) → QVBoxLayout

Returns the central layout. Widgets added to it must have this dialog as parent.

Return type

QVBoxLayout

leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()