Changeset 97386 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 3, 2022 2:52:09 PM (2 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp
r96407 r97386 817 817 && (geo.width() != newGeo.width() || geo.height() != newGeo.height())) 818 818 pWidget->resize(newGeo.width() - iExtraW, newGeo.height() - iExtraH); 819 } 820 821 /* static */ 822 void UIDesktopWidgetWatchdog::restoreWidget(QWidget *pWidget) 823 { 824 pWidget->show(); 825 pWidget->setWindowState(pWidget->windowState() & ~Qt::WindowMinimized); 826 pWidget->activateWindow(); 827 pWidget->raise(); 819 828 } 820 829 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.h
r96407 r97386 150 150 QWidget *pRelative, 151 151 bool fCanResize = true); 152 /** Restores and exposes the @a pWidget on desktop. */ 153 static void restoreWidget(QWidget *pWidget); 152 154 153 155 /** Assigns top-level @a pWidget geometry passed as QRect coordinates.
Note:
See TracChangeset
for help on using the changeset viewer.