QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Attributes | List of all members
QgsDialog Class Reference

#include <qgsdialog.h>

Inheritance diagram for QgsDialog:
Inheritance graph

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

Returns the button box.

Definition at line 61 of file qgsdialog.h.

◆ layout()

QVBoxLayout* QgsDialog::layout ( )

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

Definition at line 59 of file qgsdialog.h.

Member Data Documentation

◆ mButtonBox

QDialogButtonBox* QgsDialog::mButtonBox = nullptr

Definition at line 65 of file qgsdialog.h.

◆ mLayout

QVBoxLayout* QgsDialog::mLayout = nullptr

Definition at line 64 of file qgsdialog.h.

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