42 #ifndef QWINDOWSURFACE_QVFB_H 43 #define QWINDOWSURFACE_QVFB_H 45 #include <QtGui/private/qwindowsurface_p.h> 46 #include <QPlatformWindow> #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 void setGeometry(const QRect &rect)
Sets the currently allocated area to be the given rect.
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
#define QT_BEGIN_NAMESPACE
This macro expands to.
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.
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.
QVFbWindowSurface(QVFbScreen *screen, QWidget *window)
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.