Paint buffer for Qwt widgets.
Más...
#include <qwt_paint_buffer.h>
Lista de todos los miembros.
Descripción detallada
Paint buffer for Qwt widgets.
QwtPaintBuffer offers a simple way to en/disable double buffering. Double buffering is enabled as default and in general there will be no reason to change this.
Documentación del constructor y destructor
QwtPaintBuffer::QwtPaintBuffer |
( |
| ) |
[explicit] |
Create an open paint buffer
- Parámetros:
-
device | Device to paint on |
rect | Rect to paint on |
painter | Painter to paint on device. In case of 0 QwtPaintBuffer uses an internal painter |
- Ver también:
- open()
QwtPaintBuffer::~QwtPaintBuffer |
( |
| ) |
[virtual] |
Closes the buffer
- Ver también:
- close()
Documentación de las funciones miembro
const QPixmap& QwtPaintBuffer::buffer |
( |
| ) |
const [inline] |
Return Buffer used for double buffering.
void QwtPaintBuffer::close |
( |
void |
| ) |
|
Flush the internal pixmap buffer to the device and close the buffer.
- Devuelve:
- Device to paint on
void QwtPaintBuffer::flush |
( |
| ) |
[protected] |
Flush the internal pixmap buffer to the device.
bool QwtPaintBuffer::isEnabled |
( |
| ) |
[static] |
- Devuelve:
- true if double buffering is enabled, false otherwise.
Open the buffer
- Parámetros:
-
device | Device to paint on |
rect | Rect to paint on |
painter | Painter to paint on device. In case of 0 QwtPaintBuffer uses an internal painter |
- Devuelve:
- Depending on isEnabled() the painter connected to an internal pixmap buffer otherwise the painter connected to the device.
void QwtPaintBuffer::setEnabled |
( |
bool |
enable | ) |
[static] |
Enable/Disable double buffering. Please note that this is a global switch for all QwtPaintBuffers, but won't change opened buffers.
La documentación para esta clase fue generada a partir de los siguientes ficheros: