|
SILICON
|
#include <documentEditors.hpp>
Public Member Functions | |
| ArchitectureDocumentEditor (ProjectSession &session, QWidget *parent, EditorNotifications notifications) | |
| ~ArchitectureDocumentEditor () override | |
| void | zoom (bool in) override |
| Zooms the document in (true) or out (false) by one step. | |
| ArchitectureWorkspace * | workspace () const noexcept |
| CodeEditor * | activeCodeEditor (SILICON::project::DocumentType type) const noexcept |
| bool | isVisualizerActive () const noexcept |
| 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< ArchitectureWorkspace > | architectureWorkspace |
| bool | dirty = false |
| CallbackScope | callbacks |
Additional Inherited Members | |
| Protected Attributes inherited from DocumentEditor | |
| QUndoStack * | projectHistory = nullptr |
Definition at line 81 of file documentEditors.hpp.
| ArchitectureDocumentEditor | ( | ProjectSession & | session, |
| QWidget * | parent, | ||
| EditorNotifications | notifications ) |
Definition at line 256 of file documentEditors.cpp.
|
overridedefault |
|
nodiscardnoexcept |
Definition at line 323 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 294 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 379 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 371 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 387 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 394 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 406 of file documentEditors.cpp.
|
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 332 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 301 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 310 of file documentEditors.cpp.
|
nodiscardnoexcept |
Definition at line 328 of file documentEditors.cpp.
|
overridevirtual |
Reimplemented from DocumentEditor.
Definition at line 400 of file documentEditors.cpp.
|
nodiscardoverridevirtual |
Implements DocumentEditor.
Definition at line 287 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 360 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 318 of file documentEditors.cpp.
|
overridevirtualnoexcept |
Implements DocumentEditor.
Definition at line 314 of file documentEditors.cpp.
|
overridevirtual |
Implements DocumentEditor.
Definition at line 349 of file documentEditors.cpp.
|
nodiscardoverridevirtualnoexcept |
Implements DocumentEditor.
Definition at line 282 of file documentEditors.cpp.
|
inlinenodiscardnoexcept |
Definition at line 87 of file documentEditors.hpp.
|
overridevirtual |
Zooms the document in (true) or out (false) by one step.
Implements DocumentEditor.
Definition at line 35 of file documentEditors.cpp.
|
private |
Definition at line 114 of file documentEditors.hpp.
|
private |
Definition at line 116 of file documentEditors.hpp.
|
private |
Definition at line 115 of file documentEditors.hpp.
|
private |
Definition at line 113 of file documentEditors.hpp.