Changeset View
Changeset View
Standalone View
Standalone View
src/textentry.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 38 | { | |||
---|---|---|---|---|---|
73 | public Q_SLOTS: | 73 | public Q_SLOTS: | ||
74 | bool evaluate(WorksheetEntry::EvaluationOption evalOp = FocusNext) Q_DECL_OVERRIDE; | 74 | bool evaluate(WorksheetEntry::EvaluationOption evalOp = FocusNext) Q_DECL_OVERRIDE; | ||
75 | void resolveImagesAtCursor(); | 75 | void resolveImagesAtCursor(); | ||
76 | void updateEntry() Q_DECL_OVERRIDE; | 76 | void updateEntry() Q_DECL_OVERRIDE; | ||
77 | void populateMenu(QMenu* menu, QPointF pos) Q_DECL_OVERRIDE; | 77 | void populateMenu(QMenu* menu, QPointF pos) Q_DECL_OVERRIDE; | ||
78 | 78 | | |||
79 | protected: | 79 | protected: | ||
80 | bool wantToEvaluate() Q_DECL_OVERRIDE; | 80 | bool wantToEvaluate() Q_DECL_OVERRIDE; | ||
81 | | ||||
82 | private: | | |||
83 | QTextCursor findLatexCode(const QTextCursor& cursor = QTextCursor()) const; | 81 | QTextCursor findLatexCode(const QTextCursor& cursor = QTextCursor()) const; | ||
84 | QString showLatexCode(QTextCursor& cursor); | 82 | QString showLatexCode(QTextCursor& cursor); | ||
85 | 83 | | |||
86 | private: | 84 | protected: | ||
87 | WorksheetTextItem* m_textItem; | 85 | WorksheetTextItem* m_textItem; | ||
88 | }; | 86 | }; | ||
89 | 87 | | |||
90 | #endif //TEXTENTRY_H | 88 | #endif //TEXTENTRY_H |