Quantum GIS API Documentation  master-693a1fe
QgsDialog Class Reference

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

#include <qgsdialog.h>

List of all members.

Public Member Functions

 QgsDialog (QWidget *parent=0, Qt::WFlags fl=QgisGui::ModalDialogFlags, QDialogButtonBox::StandardButtons buttons=QDialogButtonBox::Close, Qt::Orientation orientation=Qt::Horizontal)
 ~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
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 ( QWidget *  parent = 0,
Qt::WFlags  fl = QgisGui::ModalDialogFlags,
QDialogButtonBox::StandardButtons  buttons = QDialogButtonBox::Close,
Qt::Orientation  orientation = Qt::Horizontal 
)

Definition at line 20 of file qgsdialog.cpp.

References layout(), mButtonBox, and mLayout.

Definition at line 42 of file qgsdialog.cpp.


Member Function Documentation

QDialogButtonBox* QgsDialog::buttonBox ( ) [inline]

Returns the button box.

Definition at line 42 of file qgsdialog.h.

QVBoxLayout* QgsDialog::layout ( ) [inline]

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

Definition at line 40 of file qgsdialog.h.

Referenced by QgsRasterFormatSaveOptionsWidget::helpOptions(), QgsVectorGradientColorRampV2Dialog::on_btnInformation_pressed(), QgsCptCityColorRampV2Dialog::on_pbtnLicenseDetails_pressed(), and QgsDialog().


Member Data Documentation

QDialogButtonBox* QgsDialog::mButtonBox [protected]

Definition at line 46 of file qgsdialog.h.

Referenced by QgsDialog().

QVBoxLayout* QgsDialog::mLayout [protected]

Definition at line 45 of file qgsdialog.h.

Referenced by QgsDialog().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines