Changeset 27435 in vbox
- Timestamp:
- Mar 17, 2010 11:26:12 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58914
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxMiniToolBar.cpp
r27427 r27435 107 107 /* Right margin of tool-bar */ 108 108 mMargins << widgetForAction (addWidget (new QWidget (this))); 109 110 aParent->installEventFilter(this); 109 111 } 110 112 … … 417 419 } 418 420 421 bool VBoxMiniToolBar::eventFilter(QObject *pObj, QEvent *pEvent) 422 { 423 if (pEvent->type() == QEvent::Resize) 424 { 425 moveToBase(); 426 return true; 427 } 428 return VBoxToolBar::eventFilter(pObj, pEvent); 429 } 430 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxMiniToolBar.h
r25178 r27435 72 72 void showEvent (QShowEvent *aEvent); 73 73 void paintEvent (QPaintEvent *aEvent); 74 bool eventFilter(QObject *pObj, QEvent *pEvent); 74 75 75 76 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.