- Timestamp:
- Sep 25, 2018 6:13:54 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r74265 r74464 831 831 832 832 833 #ifdef VBOX_GUI_WITH_NEW_MANAGER 834 /** Tool item classes. */ 835 enum UIToolsClass 836 { 837 UIToolsClass_Invalid, 838 UIToolsClass_Global, 839 UIToolsClass_Machine 840 }; 841 842 843 /** Tool item types. */ 844 enum UIToolsType 845 { 846 UIToolsType_Invalid, 847 /* Global types: */ 848 UIToolsType_Media, 849 UIToolsType_Network, 850 /* Machine types: */ 851 UIToolsType_Details, 852 UIToolsType_Snapshots, 853 UIToolsType_Logs, 854 }; 855 #endif /* VBOX_GUI_WITH_NEW_MANAGER */ 856 857 833 858 #endif /* !___UIExtraDataDefs_h___ */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r74322 r74464 351 351 break; 352 352 } 353 default: 354 break; 353 355 } 354 356 } -
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UITools.h
r74319 r74464 22 22 #include <QWidget> 23 23 24 /* GUI icludes: */ 25 #include "UIExtraDataDefs.h" 26 24 27 /* Forward declarations: */ 25 28 class QVBoxLayout; … … 29 32 class UIToolsView; 30 33 class UIVirtualBoxManagerWidget; 31 32 33 /** Item classes. */34 enum UIToolsClass35 {36 UIToolsClass_Global,37 UIToolsClass_Machine38 };39 40 41 /** Item types. */42 enum UIToolsType43 {44 UIToolsType_Invalid,45 /* Global class: */46 UIToolsType_Media,47 UIToolsType_Network,48 /* Machine class: */49 UIToolsType_Details,50 UIToolsType_Snapshots,51 UIToolsType_Logs,52 };53 54 34 55 35 /** QWidget extension used as VM Tools-pane. */ … … 149 129 }; 150 130 151 152 131 #endif /* !___UITools_h___ */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/tools/UIToolsModel.cpp
r74369 r74464 174 174 case UIToolsClass_Global: m_pLastItemGlobal = m_pCurrentItem; break; 175 175 case UIToolsClass_Machine: m_pLastItemMachine = m_pCurrentItem; break; 176 default: break; 176 177 } 177 178 } … … 586 587 break; 587 588 } 589 default: 590 break; 588 591 } 589 592 return false;
Note:
See TracChangeset
for help on using the changeset viewer.