9 #ifndef CANVASMODE_EDITTABLE_H
10 #define CANVASMODE_EDITTABLE_H
16 #include "canvasmode.h"
42 virtual void activate(
bool fromGesture);
44 virtual bool handleKeyEvents() {
return true; }
45 virtual void keyPressEvent(QKeyEvent* event);
46 virtual void mouseMoveEvent(QMouseEvent* event);
47 virtual void mousePressEvent(QMouseEvent* event);
48 virtual void mouseReleaseEvent(QMouseEvent* event);
49 virtual void mouseDoubleClickEvent(QMouseEvent* event);
58 void updateCanvas(
bool force =
false);
62 void handleMouseDrag(QMouseEvent* event);
64 void drawTextCursor(QPainter* p);
66 void makeLongTextCursorBlink();
68 void createContextMenu(
PageItem *currItem,
double mx,
double my);
75 QTimer* m_canvasUpdateTimer;
88 QCursor m_selectRowCursor;
90 QCursor m_selectColumnCursor;
105 #endif // CANVASMODE_EDITTABLE_H
Definition: canvasgesture_tableresize.h:29
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
virtual void activate(bool fromGesture)
Definition: canvasmode_edittable.cpp:68
Definition: canvasgesture_cellselect.h:31
Definition: canvasmode.h:72
Definition: canvasgesture.h:47
Definition: canvasgesture_rowresize.h:29
virtual void drawControls(QPainter *p)
Definition: canvasmode_edittable.cpp:307
Definition: canvasmode_edittable.h:34
Definition: pageitem.h:92
Definition: canvasgesture_columnresize.h:29
Definition: scribusview.h:87
Definition: pageitem_table.h:49
virtual void deactivate(bool forGesture)
Definition: canvasmode_edittable.cpp:85