krita
KisCanvas Class Reference
List of all members.Detailed Description
Definition at line 280 of file kis_canvas.h.
Signals | |
void | sigGotPaintEvent (QPaintEvent *) |
void | sigGotEnterEvent (QEvent *) |
void | sigGotLeaveEvent (QEvent *) |
void | sigGotMouseWheelEvent (QWheelEvent *) |
void | sigGotKeyPressEvent (QKeyEvent *) |
void | sigGotKeyReleaseEvent (QKeyEvent *) |
void | sigGotDragEnterEvent (QDragEnterEvent *) |
void | sigGotDropEvent (QDropEvent *) |
void | sigGotMoveEvent (KisMoveEvent *) |
void | sigGotButtonPressEvent (KisButtonPressEvent *) |
void | sigGotButtonReleaseEvent (KisButtonReleaseEvent *) |
void | sigGotDoubleClickEvent (KisDoubleClickEvent *) |
Public Member Functions | |
KisCanvas (QWidget *parent, const char *name) | |
virtual | ~KisCanvas () |
void | enableMoveEventCompressionHint (bool enableMoveCompression) |
bool | isOpenGLCanvas () const |
bool | cursorIsOverCanvas () const |
void | handleKeyEvent (QEvent *e) |
int | width () const |
int | height () const |
void | update () |
void | update (const QRect &r) |
void | update (int x, int y, int width, int height) |
void | repaint () |
void | repaint (bool erase) |
void | repaint (int x, int y, int width, int height, bool erase=true) |
void | repaint (const QRect &r, bool erase=true) |
void | repaint (const QRegion &r, bool erase=true) |
void | updateGeometry () |
Protected Member Functions | |
QWidget * | QPaintDeviceWidget () const |
void | createQPaintDeviceCanvas () |
void | show () |
void | hide () |
void | setGeometry (int x, int y, int width, int height) |
void | setUpdatesEnabled (bool updatesEnabled) |
bool | isUpdatesEnabled () const |
void | setFocusPolicy (QWidget::FocusPolicy focusPolicy) |
const QCursor & | cursor () const |
void | setCursor (const QCursor &cursor) |
KisCanvasWidgetPainter * | createPainter () |
KisCanvasWidget * | canvasWidget () const |
void | createCanvasWidget (bool useOpenGL) |
Protected Attributes | |
QWidget * | m_parent |
QString | m_name |
KisCanvasWidget * | m_canvasWidget |
bool | m_enableMoveEventCompressionHint |
bool | m_useOpenGL |
Friends | |
class | KisView |
class | KisCanvasPainter |
Member Function Documentation
bool KisCanvas::cursorIsOverCanvas | ( | ) | const |
void KisCanvas::handleKeyEvent | ( | QEvent * | e | ) |
Handle the given event (which must be a key event) as if the canvas had received it directly.
Definition at line 1398 of file kis_canvas.cc.
The documentation for this class was generated from the following files: