QGIS API Documentation  2.6.0-Brighton
 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::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.
QDialogButtonBox * buttonBox ()
 Returns the button box.

Protected Attributes

QVBoxLayout * mLayout
QDialogButtonBox * mButtonBox

Detailed Description

A generic dialog with layout and button box.

Constructor & Destructor Documentation

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

Member Function Documentation

QDialogButtonBox* QgsDialog::buttonBox ( )
inline

Returns the button box.

QVBoxLayout* QgsDialog::layout ( )
inline

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

Member Data Documentation

QDialogButtonBox* QgsDialog::mButtonBox
protected
QVBoxLayout* QgsDialog::mLayout
protected

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