![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
The QWindowSurface class provides the drawing area for top-level windows. More...
#include <QWindowSurface>
This class is under development and is subject to change.
Inherited by QWSWindowSurface.
This class was introduced in Qt 4.3.
The QWindowSurface class provides the drawing area for top-level windows.
Constructs an empty surface for the given top-level window.
Destroys this surface.
This function is called before painting onto the surface begins, with the region in which the painting will occur.
See also endPaint().
Returns a QImage pointer which represents the actual buffer the widget is drawn into or 0 if this is unavailable.
You must call beginPaint() before you call this function and the returned pointer is only valid until endPaint() is called.
This function is called after painting onto the surface has ended, with the region in which the painting was performed.
See also beginPaint().
Flushes the given region from the specified widget onto the screen.
Note that the offset parameter is currently unused.
See also painterOffset().
Returns the currently allocated area on the screen.
See also setGeometry().
Implement this function to return the appropriate paint device.
See also painterOffset().
Scrolls the given region dx pixels to the right and dy downward; both dx and dy may be negative.
Returns true if the area was scrolled successfully; false otherwise.
Sets the currently allocated area to be the given rectangle.
This function is called whenever area covered by the top-level window changes.
See also geometry().
Returns a pointer to the top-level window associated with this surface.
See also isValid() and key().
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.0beta |