QgisGui Namespace Reference
[Gui]


Detailed Description

/namespace QgisGui The QgisGui namespace contains constants used throughout the QGIS GUI.


Variables

static const Qt::WFlags ModalDialogFlags


Variable Documentation

const Qt::WFlags QgisGui::ModalDialogFlags [static]

Initial value:


    Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMaximizeButtonHint
/var ModalDialogFlags /brief Flags used to create a modal dialog (adapted from QMessageBox).

Using these flags for all modal dialogs throughout QGIS ensures that for platforms such as the Mac where modal and modeless dialogs have different looks, QGIS modal dialogs will look the same as Qt modal dialogs and all modal dialogs will look distinct from modeless dialogs. Althought not the standard Mac modal look, it does lack the minimize control which makes sense only for modeless dislogs.

The Qt3 method of creating a true Mac modal dialog is deprecated in Qt4 and should not be used due to conflicts with QMessageBox style dialogs.

Qt::WindowMaximizeButtonHint is included but will be ignored if the dialog is a fixed size and does not have a size grip.

Definition at line 45 of file qgisgui.h.


Generated on Fri Nov 21 01:51:27 2008 for Quantum GIS API Documentation by  doxygen 1.5.1