44 #include "private/qapplication_p.h" 90 if (!screen || screenNo < 0)
95 if (screenNo >= subScreens.
size())
97 screen = subScreens.
at(screenNo);
113 if (!screen || screenNo < 0)
117 if (subScreens.
size() == 0 && screenNo == 0)
120 if (screenNo >= subScreens.
size())
135 return screenNumber(midpoint);
145 if (subScreens.
size() == 0)
148 for (
int i = 0; i < subScreens.
size(); ++i)
QRect maxWindowRect(const QScreen *screen) const
#define QT_END_NAMESPACE
This macro expands to.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QApplicationPrivate * instance()
QRect boundingRect() const
Returns the bounding rectangle of this region.
Q_DECL_CONSTEXPR const T & qMax(const T &a, const T &b)
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
virtual QRegion region() const
Returns the region covered by this screen driver.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QPoint bottomRight() const
Returns the position of the rectangle's bottom-right corner.
const T & at(int i) const
Returns the item at index position i in the list.
The QResizeEvent class contains event parameters for resize events.
bool contains(const QPoint &p) const
Returns true if the region contains the point p; otherwise returns false.
static QScreen * instance()
Returns a pointer to the application's QScreen instance.
void moveTopLeft(const QPoint &p)
Moves the rectangle, leaving the top-left corner at the given position.
bool isEmpty() const
Returns true if the rectangle is empty, otherwise returns false.
virtual QList< QScreen * > subScreens() const
The QPoint class defines a point in the plane using integer precision.
int size() const
Returns the number of items in the list.
The QRect class defines a rectangle in the plane using integer precision.
The QScreen class is a base class for screen drivers in Qt for Embedded Linux.
#define QT_USE_NAMESPACE
This macro expands to using QT_NAMESPACE if QT_NAMESPACE is defined and nothing otherwise.
The QList class is a template class that provides lists.
QPoint topLeft() const
Returns the position of the rectangle's top-left corner.