1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-23 00:05:43 -04:00
QGIS/python/gui/qgsdialog.sip
2016-10-24 10:36:23 +10:00

21 lines
609 B
Plaintext

/** \ingroup gui
* A generic dialog with layout and button box
*/
class QgsDialog : QDialog
{
%TypeHeaderCode
#include <qgsdialog.h>
%End
public:
QgsDialog( QWidget *parent /TransferThis/ = 0, const Qt::WindowFlags& 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();
};