Changeset View
Changeset View
Standalone View
Standalone View
src/worksheetentry.h
Show All 23 Lines | |||||
24 | #include <QGraphicsObject> | 24 | #include <QGraphicsObject> | ||
25 | #include <QGraphicsSceneContextMenuEvent> | 25 | #include <QGraphicsSceneContextMenuEvent> | ||
26 | 26 | | |||
27 | #include "worksheet.h" | 27 | #include "worksheet.h" | ||
28 | #include "worksheettextitem.h" | 28 | #include "worksheettextitem.h" | ||
29 | #include "worksheetcursor.h" | 29 | #include "worksheetcursor.h" | ||
30 | 30 | | |||
31 | class TextEntry; | 31 | class TextEntry; | ||
32 | class MarkdownEntry; | ||||
32 | class CommandEntry; | 33 | class CommandEntry; | ||
33 | class ImageEntry; | 34 | class ImageEntry; | ||
34 | class PageBreakEntry; | 35 | class PageBreakEntry; | ||
35 | class LaTeXEntry; | 36 | class LaTeXEntry; | ||
36 | 37 | | |||
37 | class WorksheetTextItem; | 38 | class WorksheetTextItem; | ||
38 | class ActionBar; | 39 | class ActionBar; | ||
39 | 40 | | |||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 48 | { | |||
107 | 108 | | |||
108 | public Q_SLOTS: | 109 | public Q_SLOTS: | ||
109 | virtual bool evaluate(WorksheetEntry::EvaluationOption evalOp = FocusNext) = 0; | 110 | virtual bool evaluate(WorksheetEntry::EvaluationOption evalOp = FocusNext) = 0; | ||
110 | virtual bool evaluateCurrentItem(); | 111 | virtual bool evaluateCurrentItem(); | ||
111 | virtual void updateEntry() = 0; | 112 | virtual void updateEntry() = 0; | ||
112 | 113 | | |||
113 | void insertCommandEntry(); | 114 | void insertCommandEntry(); | ||
114 | void insertTextEntry(); | 115 | void insertTextEntry(); | ||
116 | void insertMarkdownEntry(); | ||||
115 | void insertLatexEntry(); | 117 | void insertLatexEntry(); | ||
116 | void insertImageEntry(); | 118 | void insertImageEntry(); | ||
117 | void insertPageBreakEntry(); | 119 | void insertPageBreakEntry(); | ||
118 | void insertCommandEntryBefore(); | 120 | void insertCommandEntryBefore(); | ||
119 | void insertTextEntryBefore(); | 121 | void insertTextEntryBefore(); | ||
122 | void insertMarkdownEntryBefore(); | ||||
120 | void insertLatexEntryBefore(); | 123 | void insertLatexEntryBefore(); | ||
121 | void insertImageEntryBefore(); | 124 | void insertImageEntryBefore(); | ||
122 | void insertPageBreakEntryBefore(); | 125 | void insertPageBreakEntryBefore(); | ||
123 | 126 | | |||
124 | virtual void sizeAnimated(); | 127 | virtual void sizeAnimated(); | ||
125 | virtual void startRemoving(); | 128 | virtual void startRemoving(); | ||
126 | bool stopRemoving(); | 129 | bool stopRemoving(); | ||
127 | void moveToPreviousEntry(int pos = WorksheetTextItem::BottomRight, qreal x = 0); | 130 | void moveToPreviousEntry(int pos = WorksheetTextItem::BottomRight, qreal x = 0); | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |