QGIS API Documentation  2.99.0-Master (e077efd)
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=QgisGui::ModalDialogFlags, QDialogButtonBox::StandardButtons buttons=QDialogButtonBox::Close, Qt::Orientation orientation=Qt::Horizontal)
 Constructor for QgsDialog. More...
 
 ~QgsDialog ()
 
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
 
QVBoxLayout * mLayout
 

Detailed Description

A generic dialog with layout and button box.

Definition at line 30 of file qgsdialog.h.

Constructor & Destructor Documentation

§ QgsDialog()

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

Constructor for QgsDialog.

Definition at line 20 of file qgsdialog.cpp.

§ ~QgsDialog()

QgsDialog::~QgsDialog ( )

Definition at line 42 of file qgsdialog.cpp.

Member Function Documentation

§ buttonBox()

QDialogButtonBox* QgsDialog::buttonBox ( )
inline

Returns the button box.

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

Member Data Documentation

§ mButtonBox

QDialogButtonBox* QgsDialog::mButtonBox
protected

Definition at line 50 of file qgsdialog.h.

§ mLayout

QVBoxLayout* QgsDialog::mLayout
protected

Definition at line 49 of file qgsdialog.h.


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