QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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>

Public Member Functions

 QgsDialog (QWidget *parent=0, Qt::WFlags 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.
QDialogButtonBox * buttonBox ()
 Returns the button box.

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

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