43 #include <QtGui/qapplication.h> 44 #include <QtGui/private/qapplication_p.h> 45 #include <QtGui/qdesktopwidget.h> 46 #include <QtGui/qplatformintegration_qpa.h> 47 #include <QtGui/qwidget.h> 48 #include <QtGui/private/qwidget_p.h> 59 for (
int i = list.
size()-1; i >= 0; --i) {
81 static const int dpi = 100;
84 return QSize(width,height);
94 QApplicationPrivate::platformIntegration();
95 return integration->
screens()[topData->screenIndex];
QPointer< QWidget > widget
int width() const
Returns the width of the rectangle.
int height() const
Returns the height of the rectangle.
static QWidgetList topLevelWidgets()
Returns a list of the top-level widgets (windows) in the application.
bool contains(const QPoint &p, bool proper=false) const
Returns true if the given point is inside or on the edge of the rectangle, otherwise returns false...
static QDesktopWidget * desktop()
Returns the desktop widget (also called the root window).
The QPoint class defines a point in the plane using integer precision.
int size() const
Returns the number of items in the list.
The QSize class defines the size of a two-dimensional object using integer point precision.
The QList class is a template class that provides lists.