QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsDialog Class Reference

A generic dialog with layout and button box. More...

#include <qgsdialog.h>

Inheritance diagram for QgsDialog:

Public Member Functions

 QgsDialog (QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags, QDialogButtonBox::StandardButtons buttons=QDialogButtonBox::Close, Qt::Orientation orientation=Qt::Horizontal)
 Constructor for QgsDialog.
QDialogButtonBox * buttonBox ()
 Returns the button box.
QVBoxLayout * layout ()
 Returns the central layout. Widgets added to it must have this dialog as parent.

Protected Attributes

QDialogButtonBox * mButtonBox = nullptr
QVBoxLayout * mLayout = nullptr

Detailed Description

A generic dialog with layout and button box.

Definition at line 33 of file qgsdialog.h.

Constructor & Destructor Documentation

◆ QgsDialog()

QgsDialog::QgsDialog ( QWidget * parent = nullptr,
Qt::WindowFlags fl = QgsGuiUtils::ModalDialogFlags,
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close,
Qt::Orientation orientation = Qt::Horizontal )

Constructor for QgsDialog.

Definition at line 22 of file qgsdialog.cpp.

Member Function Documentation

◆ buttonBox()

QDialogButtonBox * QgsDialog::buttonBox ( )
inline

Returns the button box.

Definition at line 45 of file qgsdialog.h.

◆ layout()

QVBoxLayout * QgsDialog::layout ( )
inline

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

Definition at line 43 of file qgsdialog.h.

Member Data Documentation

◆ mButtonBox

QDialogButtonBox* QgsDialog::mButtonBox = nullptr
protected

Definition at line 49 of file qgsdialog.h.

◆ mLayout

QVBoxLayout* QgsDialog::mLayout = nullptr
protected

Definition at line 48 of file qgsdialog.h.


The documentation for this class was generated from the following files: