45 #include <QtCore/qdebug.h> 46 #include <QtGui/qpainter.h> 47 #include <private/qapplication_p.h>
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
QRect rect(const QWidget *widget) const
Returns the rectangle for widget in the coordinates of this window surface.
void resize(const QSize &size)
The QVFbScreen class implements a screen driver for the virtual framebuffer.
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
QRect boundingRect() const
Returns the bounding rectangle of this region.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QVFbWindow(QVFbScreen *screen, QWidget *window)
QSize size() const
Returns the size of the rectangle.
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.
The QRegion class specifies a clip region for a painter.
The QWindowSurface class provides the drawing area for top-level windows.
The QPoint class defines a point in the plane using integer precision.
static void handleGeometryChange(QWidget *w, const QRect &newRect)
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
Flushes the given region from the specified widget onto the screen.
virtual void setDirty(const QRect &r)
Reimplemented Function
QVFbWindowSurface(QVFbScreen *screen, QWidget *window)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.
void setGeometry(const QRect &rect)
This function is called by Qt whenever a window is moved or the window is resized.