|
|
| EditorToolkitMensural (Doc *doc, View *view) |
| |
|
| EditorToolkitShared (Doc *doc, View *view) |
| |
|
bool | ParseEditorAction (const std::string &json_editorAction) override |
| | In child classes, this parses the provided editor action and then performs the correct action.
|
| |
|
bool | ParseEditorAction (const std::string &json_editorAction, bool commitOnly=false) |
| |
|
std::string | EditInfo () override |
| | Get information on the last editor function used.
|
| |
|
| EditorToolkit (Doc *doc, View *view) |
| |
|
|
void | SetEditInfo () |
| |
|
void | PrepareUndo () |
| |
|
std::string | GetCurrentState () |
| |
|
bool | ReloadState (const std::string &data) |
| |
|
void | TrimUndoMemory () |
| |
|
bool | CanUndo () const |
| |
|
bool | CanRedo () const |
| |
|
bool | Undo () |
| |
|
bool | Redo () |
| |
|
void | ClearContext () |
| |
|
bool | ContextForElement (std::string &elementId) |
| |
|
bool | ContextForScores (bool editInfo) |
| |
|
bool | ContextForSections (bool editInfo) |
| |
|
Object * | GetChainedElement (std::string &elementId) |
| |
|
void | ContextForObject (const Object *object, jsonxx::Object &element, bool recursive=false) |
| |
|
void | ContextForObjects (const ArrayOfConstObjects &objects, jsonxx::Array &siblings) |
| |
|
void | ContextForReferences (const ListOfObjectAttNamePairs &objects, jsonxx::Array &links) |
| |
|
ArrayOfConstObjects | GetScoreBasedChildrenFor (const Object *object) |
| |
|
bool | Chain (jsonxx::Array actions) |
| | Parse JSON instructions for experimental editor functions.
|
| |
|
bool | ParseContextAction (jsonxx::Object param, std::string &elementId, bool &scores, bool §ions) |
| |
|
bool | ParseDeleteAction (jsonxx::Object param, std::string &elementId) |
| |
|
bool | ParseDragAction (jsonxx::Object param, std::string &elementId, int &x, int &y) |
| |
|
bool | ParseKeyDownAction (jsonxx::Object param, std::string &elementid, int &key, bool &shiftKey, bool &ctrlKey) |
| |
|
bool | ParseInsertAction (jsonxx::Object param, std::string &elementName, std::string &elementId, std::string &insertMode) |
| |
|
bool | ParseSetAction (jsonxx::Object param, std::string &elementId, std::string &attribute, std::string &value) |
| |
|
bool | Delete (std::string &elementId) |
| | Experimental editor functions.
|
| |
|
bool | Drag (std::string &elementId, int x, int y) |
| |
|
bool | KeyDown (std::string &elementId, int key, bool shiftKey, bool ctrlKey) |
| |
|
bool | Set (std::string &elementId, std::string const &attribute, std::string const &value) |
| |
|
bool | AppendChild (const std::string &elementId, const std::string &elementName) |
| |
|
bool | InsertBefore (const std::string &elementId, const std::string &elementName) |
| |
|
bool | InsertAfter (const std::string &elementId, const std::string &elementName) |
| |
|
Object * | GetElement (const std::string &elementId) |
| |
|
Object * | PrepareInsertion (Object *parent, const std::string &elementName) |
| |
|
std::string | m_chainedId |
| |
|
bool | m_undoPrepared |
| |
|
std::deque< std::string > | m_undoStack |
| |
|
std::deque< std::string > | m_redoStack |
| |
|
size_t | m_undoMemoryUsage = 0 |
| |
|
EditorTreeObject * | m_scoreContext |
| |
|
EditorTreeObject * | m_sectionContext |
| |
|
EditorTreeObject * | m_currentContext |
| |
|
Doc * | m_doc |
| |
|
View * | m_view |
| |
|
jsonxx::Object | m_editInfo |
| |