|
SILICON
|
#include <documentEditors.hpp>
Public Member Functions | |
| CodeDocumentEditor (ProjectSession &session, QWidget *parent, EditorNotifications notifications) | |
| ~CodeDocumentEditor () override | |
| CodeEditor * | editor () const noexcept |
| void | zoom (bool in) override |
| Zooms the document in (true) or out (false) by one step. | |
| QWidget * | widget () const noexcept override |
| std::shared_ptr< PreparedEditorDocument > | prepare (const SILICON::project::Document &) override |
| void | apply (const PreparedEditorDocument &) override |
| void | flush (const std::string &) override |
| bool | isDirty () const override |
| void | resetDirtyState () noexcept override |
| void | reset () override |
| void | undo () override |
| void | redo () override |
| bool | canUndo () const override |
| bool | canRedo () const override |
| void | copy () override |
| void | cut () override |
| void | paste () override |
| void | deleteSelection () override |
| EditorEditState | editState () const override |
| Reports which generic editing commands the editor currently accepts. | |
| Public Member Functions inherited from DocumentEditor | |
| virtual | ~DocumentEditor ()=default |
| void | setProjectHistory (QUndoStack *history) noexcept |
Private Attributes | |
| ProjectSession & | session |
| std::unique_ptr< CodeEditor > | codeEditor |
| bool | dirty = false |
| CallbackScope | callbacks |
Additional Inherited Members | |
| Protected Attributes inherited from DocumentEditor | |
| QUndoStack * | projectHistory = nullptr |
Definition at line 22 of file documentEditors.hpp.
| CodeDocumentEditor | ( | ProjectSession & | session, |
| QWidget * | parent, | ||
| EditorNotifications | notifications ) |
Definition at line 57 of file documentEditors.cpp.
|
overridedefault |
|
overridevirtual |
Implements DocumentEditor.
Definition at line 88 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 135 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 130 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 140 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 144 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 152 of file documentEditors.cpp.
|
inlinenodiscardnoexcept |
Definition at line 27 of file documentEditors.hpp.
|
nodiscardoverridevirtual |
Reports which generic editing commands the editor currently accepts.
An editor answers from its own content, so callers never need to know how an operation is implemented: whether over a text buffer, a hex view, or a diagram.
Reimplemented from DocumentEditor.
Definition at line 161 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 98 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 103 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 148 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 81 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 123 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 111 of file documentEditors.cpp.
|
overridevirtualnoexcept |
Implements DocumentEditor.
Definition at line 107 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 116 of file documentEditors.cpp.
|
nodiscardoverridevirtualnoexcept |
Implements DocumentEditor.
Definition at line 76 of file documentEditors.cpp.
|
overridevirtual |
Zooms the document in (true) or out (false) by one step.
Implements DocumentEditor.
Definition at line 25 of file documentEditors.cpp.
|
private |
Definition at line 51 of file documentEditors.hpp.
|
private |
Definition at line 49 of file documentEditors.hpp.
|
private |
Definition at line 50 of file documentEditors.hpp.
|
private |
Definition at line 48 of file documentEditors.hpp.