QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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]
Collaboration diagram for QgsDialog:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

QVBoxLayout * mLayout
 
QDialogButtonBox * mButtonBox
 

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::WindowFlags  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.

QgsDialog::~QgsDialog ( )

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: