Changeset 68278 in vbox
- Timestamp:
- Aug 3, 2017 10:50:51 AM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r68277 r68278 168 168 #endif /* VBOX_WS_X11 && QT_VERSION >= 0x050000 */ 169 169 170 void UISelectorWindow::sltHandleShowTabBarMachine()171 {172 m_pActionTabBarGlobal->setVisible(false);173 m_pActionTabBarMachine->setVisible(true);174 }175 176 void UISelectorWindow::sltHandleShowTabBarGlobal()177 {178 m_pActionTabBarMachine->setVisible(false);179 m_pActionTabBarGlobal->setVisible(true);180 }181 182 170 void UISelectorWindow::sltShowSelectorWindowContextMenu(const QPoint &position) 183 171 { … … 1108 1096 /* Update action visibility: */ 1109 1097 updateActionsVisibility(); 1098 } 1099 1100 void UISelectorWindow::sltHandleShowTabBarMachine() 1101 { 1102 m_pActionTabBarGlobal->setVisible(false); 1103 m_pActionTabBarMachine->setVisible(true); 1104 } 1105 1106 void UISelectorWindow::sltHandleShowTabBarGlobal() 1107 { 1108 m_pActionTabBarMachine->setVisible(false); 1109 m_pActionTabBarGlobal->setVisible(true); 1110 1110 } 1111 1111 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r68277 r68278 86 86 void QT_VERSION_NOT_DEFINED 87 87 #endif /* VBOX_WS_X11 && QT_VERSION >= 0x050000 */ 88 89 /** Handles request to show Machine tab-bar. */90 void sltHandleShowTabBarMachine();91 /** Handles request to show Global tab-bar. */92 void sltHandleShowTabBarGlobal();93 88 94 89 /** Handles selector-window context-menu call for passed @a position. */ … … 194 189 /** @} */ 195 190 196 /** @name Tools -toolbarstuff.191 /** @name Tools stuff. 197 192 * @{ */ 198 193 /** Handles tools type switch. */ 199 194 void sltHandleToolsTypeSwitch(); 200 /** @} */ 201 202 /** @name Tools-pane stuff. 203 * @{ */ 195 196 /** Handles request to show Machine tab-bar. */ 197 void sltHandleShowTabBarMachine(); 198 /** Handles request to show Global tab-bar. */ 199 void sltHandleShowTabBarGlobal(); 200 204 201 /** Handles rquest to open Machine tool of passed @a enmType. */ 205 202 void sltHandleToolOpenedMachine(ToolTypeMachine enmType);
Note:
See TracChangeset
for help on using the changeset viewer.