Changeset 11535 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include
- Timestamp:
- Aug 21, 2008 12:05:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxToolBar.h
r10519 r11535 54 54 if (layout()) 55 55 layout()->setContentsMargins (0, 0, 0, 0);; 56 56 57 57 setContextMenuPolicy (Qt::NoContextMenu); 58 58 … … 125 125 } 126 126 127 128 /**129 * Substitutes for QMainWindow::setUsesBigPixmaps() when QMainWindow is130 * not used (otherwise just redirects the call to #mainWindow()).131 */132 void setUsesBigPixmaps (bool enable)133 {134 QSize size (24, 24);135 if (!enable)136 size = QSize (16, 16);137 138 if (mMainWindow)139 mMainWindow->setIconSize (size);140 else141 setIconSize (size);142 }143 144 127 void setUsesTextLabel (bool enable) 145 128 {
Note:
See TracChangeset
for help on using the changeset viewer.