mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
21 lines
602 B
Plaintext
21 lines
602 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, 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();
|
|
};
|