mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
21 lines
582 B
Plaintext
21 lines
582 B
Plaintext
|
/** \ingroup gui
|
||
|
* A generic dialog with layout and button box
|
||
|
*/
|
||
|
class QgsDialog : QDialog
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsdialog.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsDialog( QWidget *parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags,
|
||
|
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();
|
||
|
};
|