Changeset 846 for trunk/src/gui/graphicsview/qgraphicsproxywidget.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/graphicsview/qgraphicsproxywidget.cpp
r769 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 976 976 } 977 977 break; 978 978 979 case QEvent::ToolTipChange: 979 980 // Propagate tooltip change to the proxy. … … 984 985 } 985 986 break; 987 986 988 default: 987 989 break; … … 1025 1027 pos = d->mapToReceiver(pos, receiver); 1026 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1027 1038 // Send mouse event. ### Doesn't propagate the event. 1028 1039 QContextMenuEvent contextMenuEvent(QContextMenuEvent::Reason(event->reason()), 1029 pos.toPoint(), receiver->mapToGlobal(pos.toPoint()), event->modifiers());1040 pos.toPoint(), , event->modifiers()); 1030 1041 QApplication::sendEvent(receiver, &contextMenuEvent); 1031 1042 … … 1498 1509 contained in this proxy. 1499 1510 1500 This function makes it possible to a quire proxies for1511 This function makes it possible to aquire proxies for 1501 1512 non top-level widgets. For instance, you can embed a dialog, 1502 1513 and then transform only one of its widgets.
Note:
See