Changeset 54509 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 25, 2015 6:14:06 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/VirtualBox2.qrc
r54199 r54509 85 85 <file alias="scale_16px.png">images/scale_16px.png</file> 86 86 <file alias="scale_disabled_16px.png">images/scale_disabled_16px.png</file> 87 <file alias="scale_factor_16px.png">images/scale_factor_16px.png</file> 88 <file alias="scale_factor_disabled_16px.png">images/scale_factor_disabled_16px.png</file> 87 89 <file alias="scale_on_16px.png">images/scale_on_16px.png</file> 88 90 <file alias="scale_on_disabled_16px.png">images/scale_on_disabled_16px.png</file> … … 202 204 <file alias="video_capture_on_disabled_16px.png">images/video_capture_on_disabled_16px.png</file> 203 205 <file alias="video_capture_settings_16px.png">images/video_capture_settings_16px.png</file> 206 <file alias="virtual_screen_16px.png">images/virtual_screen_16px.png</file> 207 <file alias="virtual_screen_disabled_16px.png">images/virtual_screen_disabled_16px.png</file> 204 208 <file alias="vm_add_16px.png">images/vm_add_16px.png</file> 205 209 <file alias="vm_clone_16px.png">images/vm_clone_16px.png</file> -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
r54459 r54509 27 27 # include "UIFrameBuffer.h" 28 28 # include "UIConverter.h" 29 # include "UIIconPool.h" 29 30 # include "UISession.h" 30 31 # include "VBoxGlobal.h" … … 941 942 942 943 UIActionMenuScaleFactor(UIActionPool *pParent) 943 : UIActionMenu(pParent ) {}944 : UIActionMenu(pParent, ":/scale_factor_16px.png", ":/scale_factor_disabled_16px.png") {} 944 945 945 946 protected: … … 2460 2461 { 2461 2462 /* Add 'Virtual Screen %1' menu: */ 2462 QMenu *pSubMenu = pMenu->addMenu(QApplication::translate("UIMultiScreenLayout", 2463 QMenu *pSubMenu = pMenu->addMenu(UIIconPool::iconSet(":/virtual_screen_16px.png", 2464 ":/virtual_screen_disabled_16px.png"), 2465 QApplication::translate("UIMultiScreenLayout", 2463 2466 "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2464 2467 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); … … 2474 2477 { 2475 2478 /* Add 'Virtual Screen %1' menu: */ 2476 QMenu *pSubMenu = pMenu->addMenu(QApplication::translate("UIMultiScreenLayout", 2479 QMenu *pSubMenu = pMenu->addMenu(UIIconPool::iconSet(":/virtual_screen_16px.png", 2480 ":/virtual_screen_disabled_16px.png"), 2481 QApplication::translate("UIMultiScreenLayout", 2477 2482 "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2478 2483 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex); … … 2520 2525 { 2521 2526 /* Add 'Virtual Screen %1' menu: */ 2522 QMenu *pSubMenu = pMenu->addMenu(QApplication::translate("UIMultiScreenLayout", 2527 QMenu *pSubMenu = pMenu->addMenu(UIIconPool::iconSet(":/virtual_screen_16px.png", 2528 ":/virtual_screen_disabled_16px.png"), 2529 QApplication::translate("UIMultiScreenLayout", 2523 2530 "Virtual Screen %1").arg(iGuestScreenIndex + 1)); 2524 2531 pSubMenu->setProperty("Guest Screen Index", iGuestScreenIndex);
Note:
See TracChangeset
for help on using the changeset viewer.