QGIS API Documentation  3.37.0-Master (a5b4d9743e8)
Public Member Functions | Protected Attributes | List of all members
QgsDialog Class Reference

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

#include <qgsdialog.h>

Inheritance diagram for QgsDialog:
Inheritance graph
[legend]

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. More...
 
QDialogButtonBox * buttonBox ()
 Returns the button box. More...
 
QVBoxLayout * layout ()
 Returns the central layout. Widgets added to it must have this dialog as parent. More...
 

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 20 of file qgsdialog.cpp.

Member Function Documentation

◆ buttonBox()

QDialogButtonBox* QgsDialog::buttonBox ( )
inline

Returns the button box.

Definition at line 48 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 46 of file qgsdialog.h.

Member Data Documentation

◆ mButtonBox

QDialogButtonBox* QgsDialog::mButtonBox = nullptr
protected

Definition at line 52 of file qgsdialog.h.

◆ mLayout

QVBoxLayout* QgsDialog::mLayout = nullptr
protected

Definition at line 51 of file qgsdialog.h.


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