PaintArea.
More...
#include <paintarea.h>
PaintArea.
A small compoenent that acts as the "window" for special drawing.
The PaintArea is embedded in the MainWindow. The PaintArea receives UI events from Qt and, after some processing emits signals.
◆ PaintArea() [1/2]
PaintArea::PaintArea |
( |
QWidget * |
parent = 0 | ) |
|
◆ PaintArea() [2/2]
PaintArea::PaintArea |
( |
QWidget * |
parent = 0 | ) |
|
◆ drawImage() [1/2]
QImage & PaintArea::drawImage |
( |
| ) |
|
|
inline |
◆ drawImage() [2/2]
QImage & PaintArea::drawImage |
( |
| ) |
|
|
inline |
◆ keyPressEvent()
void PaintArea::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
◆ mouseClick [1/2]
void PaintArea::mouseClick |
( |
const QPoint & |
pos | ) |
|
|
signal |
◆ mouseClick [2/2]
void PaintArea::mouseClick |
( |
const QPoint & |
pos | ) |
|
|
signal |
◆ mouseDrag [1/2]
void PaintArea::mouseDrag |
( |
const QPoint & |
from, |
|
|
const QPoint & |
to, |
|
|
Qt::MouseButton |
mouseButton |
|
) |
| |
|
signal |
◆ mouseDrag [2/2]
void PaintArea::mouseDrag |
( |
const QPoint & |
from, |
|
|
const QPoint & |
to, |
|
|
Qt::MouseButton |
mouseButton |
|
) |
| |
|
signal |
◆ mouseMove [1/2]
void PaintArea::mouseMove |
( |
const QPoint & |
pos | ) |
|
|
signal |
◆ mouseMove [2/2]
void PaintArea::mouseMove |
( |
const QPoint & |
pos | ) |
|
|
signal |
◆ mouseMoveEvent() [1/2]
void PaintArea::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseMoveEvent() [2/2]
void PaintArea::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mousePressEvent() [1/2]
void PaintArea::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mousePressEvent() [2/2]
void PaintArea::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseReleaseEvent() [1/2]
void PaintArea::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseReleaseEvent() [2/2]
void PaintArea::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseWheel [1/2]
void PaintArea::mouseWheel |
( |
const QPoint & |
pos, |
|
|
int |
wheel_steps |
|
) |
| |
|
signal |
◆ mouseWheel [2/2]
void PaintArea::mouseWheel |
( |
const QPoint & |
pos, |
|
|
int |
wheel_steps |
|
) |
| |
|
signal |
◆ needsPainting [1/2]
void PaintArea::needsPainting |
( |
QPainter & |
painter | ) |
|
|
signal |
◆ needsPainting [2/2]
void PaintArea::needsPainting |
( |
QPainter & |
painter | ) |
|
|
signal |
◆ paintEvent() [1/2]
void PaintArea::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
◆ paintEvent() [2/2]
void PaintArea::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
◆ resizeEvent() [1/2]
void PaintArea::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
◆ resizeEvent() [2/2]
void PaintArea::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protected |
◆ wheelEvent() [1/2]
void PaintArea::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protected |
◆ wheelEvent() [2/2]
void PaintArea::wheelEvent |
( |
QWheelEvent * |
event | ) |
|
|
protected |
The documentation for this class was generated from the following files: