Changeset 57540 in vbox for trunk/src/VBox
- Timestamp:
- Aug 25, 2015 4:46:17 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102352
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r57481 r57540 364 364 /* Redirect call to QDesktopWidget: */ 365 365 return QApplication::desktop()->availableGeometry(iHostScreenIndex); 366 } 367 368 const QRect VBoxGlobal::screenGeometry(QWidget *pWidget /* = 0 */) const 369 { 370 /* Redirect to existing wrapper: */ 371 return screenGeometry(QApplication::desktop()->screenNumber(pWidget)); 372 } 373 374 const QRect VBoxGlobal::availableGeometry(QWidget *pWidget /* = 0 */) const 375 { 376 /* Redirect to existing wrapper: */ 377 return availableGeometry(QApplication::desktop()->screenNumber(pWidget)); 366 378 } 367 379 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.h
r57480 r57540 140 140 bool isVBoxSVCAvailable() const { return m_fVBoxSVCAvailable; } 141 141 142 /** Returns the geometry of the host-screen with @a iHostScreenIndex. 143 * @note The default screen is used if @a iHostScreenIndex is -1. */ 144 const QRect screenGeometry(int iHostScreenIndex = -1) const; 145 /** Returns the available-geometry of the host-screen with @a iHostScreenIndex. 146 * @note The default screen is used if @a iHostScreenIndex is -1. */ 147 const QRect availableGeometry(int iHostScreenIndex = -1) const; 142 /** @name Host-screen geometry stuff 143 * @{ */ 144 /** Returns the geometry of the host-screen with @a iHostScreenIndex. 145 * @note The default screen is used if @a iHostScreenIndex is -1. */ 146 const QRect screenGeometry(int iHostScreenIndex = -1) const; 147 /** Returns the available-geometry of the host-screen with @a iHostScreenIndex. 148 * @note The default screen is used if @a iHostScreenIndex is -1. */ 149 const QRect availableGeometry(int iHostScreenIndex = -1) const; 150 151 /** Returns the geometry of the host-screen which contains @a pWidget. 152 * @note The default screen is used if @a pWidget is 0. */ 153 const QRect screenGeometry(QWidget *pWidget = 0) const; 154 /** Returns the available-geometry of the host-screen which contains @a pWidget. 155 * @note The default screen is used if @a pWidget is 0. */ 156 const QRect availableGeometry(QWidget *pWidget = 0) const; 157 /** @} */ 148 158 149 159 VBoxGlobalSettings &settings() { return gset; } … … 533 543 X11WMType m_enmWindowManagerType; 534 544 535 /** X11: Holds the desktop-widget watchdog instance aware of host-screen geometry changes. */ 536 UIDesktopWidgetWatchdog *m_pDesktopWidgetWatchdog; 545 /** @name Host-screen geometry stuff 546 * @{ */ 547 /** X11: Holds the desktop-widget watchdog instance aware of host-screen geometry changes. */ 548 UIDesktopWidgetWatchdog *m_pDesktopWidgetWatchdog; 549 /** @} */ 537 550 #endif /* Q_WS_X11 */ 538 551 … … 541 554 /** The --restore-current option. */ 542 555 bool mRestoreCurrentSnapshot; 556 543 557 /** @name Ad-hoc VM reconfiguration. 544 558 * @{ */ 545 /** Floppy image. */546 QString m_strFloppyImage;547 /** DVD image. */548 QString m_strDvdImage;559 /** Floppy image. */ 560 QString m_strFloppyImage; 561 /** DVD image. */ 562 QString m_strDvdImage; 549 563 /** @} */ 564 550 565 /** @name VMM options 551 566 * @{ */ 552 /** The --disable-patm option. */553 bool mDisablePatm;554 /** The --disable-csam option. */555 bool mDisableCsam;556 /** The --recompile-supervisor option. */557 bool mRecompileSupervisor;558 /** The --recompile-user option. */559 bool mRecompileUser;560 /** The --execute-all-in-iem option. */561 bool mExecuteAllInIem;562 /** The --warp-factor option value. */563 uint32_t mWarpPct;567 /** The --disable-patm option. */ 568 bool mDisablePatm; 569 /** The --disable-csam option. */ 570 bool mDisableCsam; 571 /** The --recompile-supervisor option. */ 572 bool mRecompileSupervisor; 573 /** The --recompile-user option. */ 574 bool mRecompileUser; 575 /** The --execute-all-in-iem option. */ 576 bool mExecuteAllInIem; 577 /** The --warp-factor option value. */ 578 uint32_t mWarpPct; 564 579 /** @} */ 565 580
Note:
See TracChangeset
for help on using the changeset viewer.