krita/ui
KisQPainterCanvas Class Reference
KisQPainterCanvas is the widget that shows the actual image using arthur. More...
#include <kis_qpainter_canvas.h>

Detailed Description
KisQPainterCanvas is the widget that shows the actual image using arthur.
NOTE: if you change something in the event handling here, also change it in the opengl canvas.
Definition at line 45 of file kis_qpainter_canvas.h.
Constructor & Destructor Documentation
| KisQPainterCanvas::KisQPainterCanvas | ( | KisCanvas2 * | canvas, | |
| QWidget * | parent | |||
| ) |
Definition at line 86 of file kis_qpainter_canvas.cpp.
| KisQPainterCanvas::~KisQPainterCanvas | ( | ) | [virtual] |
Definition at line 111 of file kis_qpainter_canvas.cpp.
Member Function Documentation
| void KisQPainterCanvas::adjustOrigin | ( | ) | [virtual] |
Implements KisAbstractCanvasWidget.
Definition at line 315 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::contextMenuEvent | ( | QContextMenuEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 214 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::documentOffsetMoved | ( | const QPoint & | pt | ) | [virtual] |
Implements KisAbstractCanvasWidget.
Definition at line 287 of file kis_qpainter_canvas.cpp.
| QPoint KisQPainterCanvas::documentOrigin | ( | ) | [virtual] |
Implements KisAbstractCanvasWidget.
Definition at line 343 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::documentOriginChanged | ( | const QPoint & | origin | ) | [signal] |
This signal is emitted when the document origin has changed.
The document origin is the point (in pixel) on the virtual canvas where the documents origin (0,0) or the top left corner of the page is. Copied from Karbon
| QSize KisQPainterCanvas::documentSize | ( | ) | [protected] |
document size in widget pixels
Definition at line 373 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::enterEvent | ( | QEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 198 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::inputMethodEvent | ( | QInputMethodEvent * | event | ) | [virtual] |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 264 of file kis_qpainter_canvas.cpp.
| QVariant KisQPainterCanvas::inputMethodQuery | ( | Qt::InputMethodQuery | query | ) | const [virtual] |
reimplemented method from superclass
Definition at line 259 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::keyPressEvent | ( | QKeyEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 242 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::keyReleaseEvent | ( | QKeyEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 254 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::leaveEvent | ( | QEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 203 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 236 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::mouseMoveEvent | ( | QMouseEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 208 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::mousePressEvent | ( | QMouseEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 224 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::mouseReleaseEvent | ( | QMouseEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 230 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::paintEvent | ( | QPaintEvent * | ev | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 121 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::resizeEvent | ( | QResizeEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 294 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::setPrescaledProjection | ( | KisPrescaledProjectionSP | prescaledProjection | ) |
Definition at line 116 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::tabletEvent | ( | QTabletEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 269 of file kis_qpainter_canvas.cpp.
| KoToolProxy * KisQPainterCanvas::toolProxy | ( | ) | [virtual] |
Implements KisAbstractCanvasWidget.
Definition at line 282 of file kis_qpainter_canvas.cpp.
Definition at line 367 of file kis_qpainter_canvas.cpp.
Definition at line 361 of file kis_qpainter_canvas.cpp.
| void KisQPainterCanvas::wheelEvent | ( | QWheelEvent * | e | ) |
reimplemented method from superclass
Reimplemented from QWidget.
Definition at line 277 of file kis_qpainter_canvas.cpp.
| QWidget* KisQPainterCanvas::widget | ( | ) | [inline, virtual] |
Implements KisAbstractCanvasWidget.
Definition at line 118 of file kis_qpainter_canvas.h.
Definition at line 355 of file kis_qpainter_canvas.cpp.
these methods take origin coordinate into account, basically it means (point - origin)
Definition at line 349 of file kis_qpainter_canvas.cpp.
The documentation for this class was generated from the following files:
