|
25 | 25 | namespace QgisGui
|
26 | 26 | {
|
27 | 27 |
|
28 |
| -/*! |
29 |
| - * /var ModalDialogFlags |
30 |
| - * /brief Flags used to create a modal dialog (adapted from QMessageBox). |
31 |
| - * |
32 |
| - * Using these flags for all modal dialogs throughout QGIS ensures that |
33 |
| - * for platforms such as the Mac where modal and modeless dialogs have |
34 |
| - * different looks, QGIS modal dialogs will look the same as Qt modal |
35 |
| - * dialogs and all modal dialogs will look distinct from modeless dialogs. |
36 |
| - * Althought not the standard Mac modal look, it does lack the minimize |
37 |
| - * control which makes sense only for modeless dislogs. |
38 |
| - * |
39 |
| - * The Qt3 method of creating a true Mac modal dialog is deprecated in Qt4 |
40 |
| - * and should not be used due to conflicts with QMessageBox style dialogs. |
41 |
| - * |
42 |
| - * Qt::WindowMaximizeButtonHint is included but will be ignored if |
43 |
| - * the dialog is a fixed size and does not have a size grip. |
44 |
| - */ |
45 |
| -Qt::WFlags ModalDialogFlags = |
46 |
| - Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMaximizeButtonHint; |
| 28 | + /*! |
| 29 | + * /var ModalDialogFlags |
| 30 | + * /brief Flags used to create a modal dialog (adapted from QMessageBox). |
| 31 | + * |
| 32 | + * Using these flags for all modal dialogs throughout QGIS ensures that |
| 33 | + * for platforms such as the Mac where modal and modeless dialogs have |
| 34 | + * different looks, QGIS modal dialogs will look the same as Qt modal |
| 35 | + * dialogs and all modal dialogs will look distinct from modeless dialogs. |
| 36 | + * Althought not the standard Mac modal look, it does lack the minimize |
| 37 | + * control which makes sense only for modeless dislogs. |
| 38 | + * |
| 39 | + * The Qt3 method of creating a true Mac modal dialog is deprecated in Qt4 |
| 40 | + * and should not be used due to conflicts with QMessageBox style dialogs. |
| 41 | + * |
| 42 | + * Qt::WindowMaximizeButtonHint is included but will be ignored if |
| 43 | + * the dialog is a fixed size and does not have a size grip. |
| 44 | + */ |
| 45 | + static const Qt::WFlags ModalDialogFlags = |
| 46 | + Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowMaximizeButtonHint; |
47 | 47 |
|
48 | 48 | }
|
49 | 49 |
|
|
0 commit comments