1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
/** \ingroup gui
* A generic dialog with layout and button box
*/
class QgsDialog : QDialog
{
%TypeHeaderCode
#include <qgsdialog.h>
%End
public:
QgsDialog( QWidget *parent = 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();
};
|