forked from qt-creator/qt-creator
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:
@@ -60,11 +60,15 @@ namespace QmlJSEditor {
|
||||
bool autoFormatOnlyCurrentProject() const;
|
||||
void setAutoFormatOnlyCurrentProject(const bool autoFormatOnlyCurrentProject);
|
||||
|
||||
bool foldAuxData() const;
|
||||
void setFoldAuxData(const bool foldAuxData);
|
||||
|
||||
private:
|
||||
bool m_enableContextPane;
|
||||
bool m_pinContextPane;
|
||||
bool m_autoFormatOnSave;
|
||||
bool m_autoFormatOnlyCurrentProject;
|
||||
bool m_foldAuxData;
|
||||
};
|
||||
|
||||
inline bool operator==(const QmlJsEditingSettings &s1, const QmlJsEditingSettings &s2)
|
||||
|
||||
Reference in New Issue
Block a user