forked from qt-creator/qt-creator
ClangFormat: Inline *.ui files
Change-Id: Ie6bcb486c70896894121434b1030861b029a46a2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user