QmlDesigner: Auxiliary data auto-fold

- Made TextEditorWidget::restoreState() virtual
 - Added function to fold qml Auxiliary Data
 - Extended settings page to fit the new option

Task: QDS-1667
Change-Id: Id1256fcc72a67ac822888d5fd2e23d6076349573
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Aleksei German
2020-02-20 15:19:12 +01:00
parent 33b091bd40
commit 103a602f8d
6 changed files with 82 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ public:
virtual void openFinishedSuccessfully();
// IEditor
QByteArray saveState() const;
bool restoreState(const QByteArray &state);
virtual bool restoreState(const QByteArray &state);
void gotoLine(int line, int column = 0, bool centerLine = true, bool animate = false);
int position(TextPositionOperation posOp = CurrentPosition,
int at = -1) const;