2012-09-24 02:28:15 +02:00
|
|
|
/** \ingroup gui
|
|
|
|
* A generic dialog with layout and button box
|
|
|
|
*/
|
|
|
|
class QgsDialog : QDialog
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsdialog.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
2014-03-27 10:42:38 +01:00
|
|
|
QgsDialog( QWidget *parent = 0, Qt::WindowFlags fl = QgisGui::ModalDialogFlags,
|
2012-09-24 02:28:15 +02:00
|
|
|
QDialogButtonBox::StandardButtons buttons = QDialogButtonBox::Close,
|
|
|
|
Qt::Orientation orientation = Qt::Horizontal );
|
|
|
|
~QgsDialog();
|
|
|
|
|
|
|
|
//! Returns the central layout. Widgets added to it must have this dialog as parent.
|
|
|
|
QVBoxLayout *layout();
|
|
|
|
//! Returns the button box.
|
|
|
|
QDialogButtonBox *buttonBox();
|
|
|
|
};
|