ClangFormat: Move override checkbox to global settings

Moved override checkbox to global settings groupbox.

Change-Id: I70c97486a61f69274d059edc5095fe02c86fb04d
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Artem Sokolovskii
2022-08-19 15:20:22 +02:00
parent d3354d1999
commit 2d375eb776
4 changed files with 65 additions and 67 deletions

View File

@@ -52,11 +52,18 @@ public:
private:
void initCheckBoxes();
void initIndentationOrFormattingCombobox();
void initOverrideCheckBox();
bool projectClangFormatFileExists();
ProjectExplorer::Project *m_project;
QLabel *m_projectHasClangFormat;
QLabel *m_formattingModeLabel;
QComboBox *m_indentingOrFormatting;
QCheckBox *m_formatWhileTyping;
QCheckBox *m_formatOnSave;
QCheckBox *m_overrideDefault;
};
} // namespace ClangFormat