ClangFormat: Inline *.ui files

Change-Id: Ie6bcb486c70896894121434b1030861b029a46a2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2022-07-22 09:44:47 +02:00
committed by Artem Sokolovskii
parent 7070e89904
commit 031bf8d3a4
7 changed files with 139 additions and 146 deletions

View File

@@ -29,12 +29,16 @@
#include <memory>
QT_BEGIN_NAMESPACE
class QCheckBox;
class QComboBox;
class QLabel;
QT_END_NAMESPACE
namespace ProjectExplorer { class Project; }
namespace ClangFormat {
namespace Ui { class ClangFormatGlobalConfigWidget; }
class ClangFormatGlobalConfigWidget : public CppEditor::CppCodeStyleWidget
{
Q_OBJECT
@@ -49,7 +53,10 @@ private:
void initCheckBoxes();
void initIndentationOrFormattingCombobox();
std::unique_ptr<Ui::ClangFormatGlobalConfigWidget> m_ui;
QLabel *m_formattingModeLabel;
QComboBox *m_indentingOrFormatting;
QCheckBox *m_formatWhileTyping;
QCheckBox *m_formatOnSave;
};
} // namespace ClangFormat