- Timestamp:
- Oct 3, 2013 1:04:18 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 89500
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r48801 r48832 544 544 } 545 545 546 void UIMachineLogic::sltHostScreenResized(int /*iHostScreenNumber*/) 547 { 548 /* Deliver event to all machine-windows: */ 549 foreach (UIMachineWindow *pMachineWindow, machineWindows()) 550 pMachineWindow->handleScreenResize(); 551 } 552 546 553 UIMachineLogic::UIMachineLogic(QObject *pParent, UISession *pSession, UIVisualStateType visualStateType) 547 554 : QIWithRetranslateUI3<QObject>(pParent) … … 714 721 connect(uisession(), SIGNAL(sigHostScreenCountChanged(int)), 715 722 this, SLOT(sltHostScreenCountChanged(int))); 723 724 /* Host-screen-resize updaters: */ 725 connect(uisession(), SIGNAL(sigHostScreenFullGeometryResized(int)), 726 this, SLOT(sltHostScreenResized(int))); 727 connect(uisession(), SIGNAL(sigHostScreenAvailableGeometryResized(int)), 728 this, SLOT(sltHostScreenResized(int))); 716 729 } 717 730 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r48519 r48832 113 113 /* Qt callback handler: */ 114 114 virtual void sltHostScreenCountChanged(int cHostScreenCount); 115 virtual void sltHostScreenResized(int iHostScreenNumber); 115 116 116 117 protected: -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r48706 r48832 439 439 } 440 440 441 void UIMachineWindow::handleScreenResize() 442 { 443 showInNecessaryMode(); 444 } 445 441 446 void UIMachineWindow::updateAppearanceOf(int iElement) 442 447 { -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.h
r48705 r48832 111 111 /* Visibility stuff: */ 112 112 void handleScreenCountChange(); 113 void handleScreenResize(); 113 114 114 115 /* Update stuff: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r48515 r48832 875 875 connect(QApplication::desktop(), SIGNAL(screenCountChanged(int)), 876 876 this, SIGNAL(sigHostScreenCountChanged(int))); 877 878 connect(QApplication::desktop(), SIGNAL(resized(int)), 879 this, SIGNAL(sigHostScreenFullGeometryResized(int))); 880 connect(QApplication::desktop(), SIGNAL(workAreaResized(int)), 881 this, SIGNAL(sigHostScreenAvailableGeometryResized(int))); 877 882 } 878 883 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.h
r48515 r48832 206 206 /* Qt callback signal: */ 207 207 void sigHostScreenCountChanged(int cHostScreenCount); 208 void sigHostScreenFullGeometryResized(int iHostScreenNumber); 209 void sigHostScreenAvailableGeometryResized(int iHostScreenNumber); 208 210 209 211 /* Session signals: */
Note:
See TracChangeset
for help on using the changeset viewer.