diff options
author | Martin Smith <msmith@trolltech.com> | 2010-02-23 13:57:41 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2010-02-23 13:57:41 (GMT) |
commit | f6ea3f09eac800109a3a60ea96f7fcbd5d5aa0d4 (patch) | |
tree | 5371acc4d876675df34f17514fac702645a8041f /src/gui | |
parent | 341c49c91d48dca14902863d4c2303829b3d67f9 (diff) | |
download | Qt-f6ea3f09eac800109a3a60ea96f7fcbd5d5aa0d4.zip Qt-f6ea3f09eac800109a3a60ea96f7fcbd5d5aa0d4.tar.gz Qt-f6ea3f09eac800109a3a60ea96f7fcbd5d5aa0d4.tar.bz2 |
doc: Added indication of default modality value for panels.
Task: QTBUG-7970
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index d19a102..bd214e1 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -641,9 +641,16 @@ are children of a modal panel are not blocked. The values are: - \value NonModal The panel is not modal and does not block input to other panels. - \value PanelModal The panel is modal to a single item hierarchy and blocks input to its parent pane, all grandparent panels, and all siblings of its parent and grandparent panels. - \value SceneModal The window is modal to the entire scene and blocks input to all panels. + + \value NonModal The panel is not modal and does not block input to + other panels. This is the default value for panels. + + \value PanelModal The panel is modal to a single item hierarchy + and blocks input to its parent pane, all grandparent panels, and + all siblings of its parent and grandparent panels. + + \value SceneModal The window is modal to the entire scene and + blocks input to all panels. \sa QGraphicsItem::setPanelModality(), QGraphicsItem::panelModality(), QGraphicsItem::ItemIsPanel */ |