|
Krita Source Code Documentation
|
#include <KoCanvasController.h>
Inheritance diagram for KoCanvasControllerProxyObject:Signals | |
| void | canvasMousePositionChanged (const QPoint &position) |
| void | canvasOffsetChanged () |
| void | canvasRemoved (KoCanvasController *canvasController) |
| void | canvasSet (KoCanvasController *canvasController) |
| void | canvasStateChanged () |
| void | documentMirrorStatusChanged (bool mirrorX, bool mirrorY) |
| void | documentMousePositionChanged (const QPointF &position) |
| void | documentRectInWidgetPixelsChanged (const QRectF &documentRectInWidgetPixels) |
| void | documentRotationChanged (qreal angle) |
| void | effectiveZoomChanged (qreal zoom) |
| void | moveDocumentOffset (const QPointF &oldOffset, const QPointF &newOffset) |
| void | sizeChanged (const QSize &size) |
| void | zoomStateChanged (const KoZoomState &zoomState) |
Public Member Functions | |
| KoCanvasController * | canvasController () const |
| void | emitCanvasMousePositionChanged (const QPoint &position) |
| void | emitCanvasOffsetChanged () |
| void | emitCanvasRemoved (KoCanvasController *canvasController) |
| void | emitCanvasSet (KoCanvasController *canvasController) |
| void | emitCanvasStateChanged () |
| void | emitDocumentMirrorStatusChanged (bool mirrorX, bool mirrorY) |
| void | emitDocumentMousePositionChanged (const QPointF &position) |
| void | emitDocumentRectInWidgetPixelsChanged (const QRectF &documentRectInWidgetPixels) |
| void | emitDocumentRotationChanged (qreal angle) |
| void | emitEffectiveZoomChanged (qreal zoom) |
| void | emitMoveDocumentOffset (const QPointF &oldOffset, const QPointF &newOffset) |
| void | emitSizeChanged (const QSize &size) |
| void | emitZoomStateChanged (const KoZoomState &zoomState) |
| KoCanvasControllerProxyObject (KoCanvasController *canvasController, QObject *parent=0) | |
Private Attributes | |
| KoCanvasController * | m_canvasController |
Workaround class for the problem that Qt does not allow two QObject base classes. KoCanvasController can be implemented by for instance QWidgets, so it cannot be a QObject directly. The interface of this class should be considered public interface for KoCanvasController.
Definition at line 207 of file KoCanvasController.h.
|
explicit |
Definition at line 50 of file KoCanvasController.cpp.
|
inline |
Definition at line 233 of file KoCanvasController.h.
|
signal |
Emitted when the cursor is moved over the canvas widget.
| position | the position in view coordinates (pixels). |
|
signal |
Emitted when canvasOffset() changes
|
signal |
Emitted when a previously added canvas is about to be removed.
| canvasController | this object |
|
signal |
Emitted when a canvas is set on this widget
| canvasController | this object |
|
signal |
|
signal |
|
signal |
Emitted when the cursor is moved over the canvas widget.
| position | the position in document coordinates. |
Use canvasMousePositionChanged to get the position in view coordinates.
|
signal |
|
signal |
|
signal |
|
inline |
Definition at line 221 of file KoCanvasController.h.
|
inline |
Definition at line 220 of file KoCanvasController.h.
|
inline |
Definition at line 218 of file KoCanvasController.h.
|
inline |
Definition at line 219 of file KoCanvasController.h.
|
inline |
Definition at line 230 of file KoCanvasController.h.
|
inline |
Definition at line 229 of file KoCanvasController.h.
|
inline |
Definition at line 222 of file KoCanvasController.h.
|
inline |
Definition at line 227 of file KoCanvasController.h.
|
inline |
Definition at line 228 of file KoCanvasController.h.
|
inline |
Definition at line 225 of file KoCanvasController.h.
|
inline |
Definition at line 224 of file KoCanvasController.h.
|
inline |
Definition at line 223 of file KoCanvasController.h.
|
inline |
Definition at line 226 of file KoCanvasController.h.
|
signal |
Emitted whenever the document is scrolled.
| point | the new top-left point from which the document should be drawn. |
|
signal |
Emitted when the entire controller size changes
| size | the size in widget pixels. |
|
signal |
|
private |
Definition at line 294 of file KoCanvasController.h.