Changeset 277 for trunk/src/gui/widgets/qmenu.cpp
- Timestamp:
- Nov 2, 2009, 3:00:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/widgets/qmenu.cpp
r2 r277 165 165 } 166 166 167 // Windowsand KDE allows menus to cover the taskbar, while GNOME and Mac don't167 // Windows, OS/2 and KDE allows menus to cover the taskbar, while GNOME and Mac don't 168 168 QRect QMenuPrivate::popupGeometry(int screen) const 169 169 { 170 #if def Q_WS_WIN170 #if defined(Q_WS_WIN) || defined(Q_WS_PM) 171 171 return QApplication::desktop()->screenGeometry(screen); 172 172 #elif defined Q_WS_X11 … … 1096 1096 QList< QPointer<QWidget> > list; 1097 1097 for(QWidget *widget = q->parentWidget(); widget; ) { 1098 if (qobject_cast<QMenu*>(widget) 1098 if (qobject_cast<QMenu*>(widget) 1099 1099 #ifndef QT_NO_MENUBAR 1100 1100 || qobject_cast<QMenuBar*>(widget) … … 1262 1262 is represented vertically and rendered by QStyle. In addition, actions 1263 1263 can have a text label, an optional icon drawn on the very left side, 1264 and shortcut key sequence such as "Ctrl+X". 1264 and shortcut key sequence such as "Ctrl+X". 1265 1265 1266 1266 The existing actions held by a menu can be found with actions().
Note:
See TracChangeset
for help on using the changeset viewer.