Changeset 73673 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 14, 2018 6:43:35 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r73602 r73673 372 372 } 373 373 374 void UIVirtualBoxManager::sltHandleToolTypeChange() 375 { 376 updateActionsVisibility(); 377 updateActionsAppearance(); 378 } 379 374 380 void UIVirtualBoxManager::sltHandleStateChange(const QString &) 375 381 { … … 1152 1158 prepareWidgets(); 1153 1159 prepareConnections(); 1160 1161 /* Update actions initially: */ 1162 updateActionsVisibility(); 1163 updateActionsAppearance(); 1154 1164 1155 1165 /* Load settings: */ … … 1625 1635 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigMachineSettingsLinkClicked, 1626 1636 this, &UIVirtualBoxManager::sltOpenMachineSettingsDialogDefault); 1637 connect(m_pWidget, &UIVirtualBoxManagerWidget::sigToolTypeChange, 1638 this, &UIVirtualBoxManager::sltHandleToolTypeChange); 1627 1639 connect(menuBar(), &QMenuBar::customContextMenuRequested, 1628 1640 m_pWidget, &UIVirtualBoxManagerWidget::sltHandleContextMenuRequest); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.h
r73492 r73673 112 112 /** Handles signal about group saving progress change. */ 113 113 void sltHandleGroupSavingProgressChange(); 114 115 /** Handles singal about Tool type change. */ 116 void sltHandleToolTypeChange(); 114 117 /** @} */ 115 118 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp
r73632 r73673 321 321 m_pPaneToolsMachine->setMachine(pItem ? pItem->machine() : CMachine()); 322 322 } 323 324 /* Let the parent know: */ 325 emit sigToolTypeChange(); 323 326 } 324 327 … … 332 335 /* Open corresponding tool: */ 333 336 m_pPaneToolsGlobal->openTool(enmType); 337 338 /* Let the parent know: */ 339 emit sigToolTypeChange(); 334 340 } 335 341 … … 338 344 /* Close corresponding tool: */ 339 345 m_pPaneToolsMachine->closeTool(enmType); 346 347 /* Let the parent know: */ 348 emit sigToolTypeChange(); 340 349 } 341 350 … … 344 353 /* Close corresponding tool: */ 345 354 m_pPaneToolsGlobal->closeTool(enmType); 355 356 /* Let the parent know: */ 357 emit sigToolTypeChange(); 346 358 } 347 359 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.h
r73631 r73673 53 53 void sigMachineSettingsLinkClicked(const QString &strCategory, const QString &strControl, const QString &strId); 54 54 55 /** Notifies about Tool type switch. */56 void sigTool sTypeSwitch();55 /** Notifies about Tool type change. */ 56 void sigToolTypeChange(); 57 57 58 58 public:
Note:
See TracChangeset
for help on using the changeset viewer.