Changeset 107333 in vbox
- Timestamp:
- Dec 16, 2024 5:31:41 PM (5 weeks ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIMachineManagerWidget.cpp
r107332 r107333 252 252 } 253 253 254 void UIMachineManagerWidget::switchToVMActivityPane(const QUuid &uMachineId)255 {256 AssertPtrReturnVoid(m_pPaneChooser);257 AssertPtrReturnVoid(m_pMenuTools);258 m_pPaneChooser->setCurrentMachine(uMachineId);259 m_pMenuTools->setToolsType(UIToolType_VMActivity);260 }261 262 254 bool UIMachineManagerWidget::isCurrentStateItemSelected() const 263 255 { … … 441 433 // smaller size often being ignored until it is actually shown. 442 434 pMenu->resize(ourGeo.size()); 435 } 436 437 void UIMachineManagerWidget::sltSwitchToVMActivityPane(const QUuid &uMachineId) 438 { 439 AssertPtrReturnVoid(m_pPaneChooser); 440 AssertPtrReturnVoid(m_pMenuTools); 441 m_pPaneChooser->setCurrentMachine(uMachineId); 442 m_pMenuTools->setToolsType(UIToolType_VMActivity); 443 443 } 444 444 … … 541 541 connect(gEDataManager, &UIExtraDataManager::sigSettingsExpertModeChange, 542 542 this, &UIMachineManagerWidget::sltHandleSettingsExpertModeChange); 543 544 /* Parent connections: */ 545 connect(m_pParent, &UIToolPaneGlobal::sigSwitchToMachineActivityPane, 546 this, &UIMachineManagerWidget::sltSwitchToVMActivityPane); 543 547 544 548 /* Splitter connections: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIMachineManagerWidget.h
r107332 r107333 188 188 /** Closes pane tool of passed @a enmType. */ 189 189 void closeTool(UIToolType enmType); 190 191 /** Switches to VM Activity pane of machine with @a uMachineId. */192 void switchToVMActivityPane(const QUuid &uMachineId);193 190 /** @} */ 194 191 … … 259 256 * @param enmType Brings current tool type. */ 260 257 void sltHandleToolsMenuIndexChange(UIToolType enmType) { switchToolTo(enmType); } 258 259 /** Switches to VM Activity pane of machine with @a uMachineId. */ 260 void sltSwitchToVMActivityPane(const QUuid &uMachineId); 261 261 /** @} */ 262 262
Note:
See TracChangeset
for help on using the changeset viewer.