Obsolete Members for QDesktopWidget
The following members of class QDesktopWidget are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
(obsolete)
primaryScreen : const int(obsolete)
screenCount : const int(obsolete)
virtualDesktop : const bool
- 1 property inherited from QWidget
Property Documentation
primaryScreen : const int
This property holds the index of the screen that is configured to be the primary screen on the system.
Use QGuiApplication::primaryScreen() instead.
Access functions:
int | primaryScreen() const |
Notifier signal:
void | primaryScreenChanged() |
screenCount : const int
This property holds the number of screens currently available on the system.
Use QGuiApplication::screens() instead.
This property was introduced in Qt 4.6.
Access functions:
int | screenCount() const |
Notifier signal:
void | screenCountChanged(int) |
virtualDesktop : const bool
if the system manages the available screens in a virtual desktop.
For virtual desktops, screen() will always return the same widget. The size of the virtual desktop is the size of this desktop widget.
Use QScreen::virtualSiblings() of primary screen instead.
Access functions:
bool | isVirtualDesktop() const |