forked from qt-creator/qt-creator
ClangFormatWidget: Set the tooltip
Amends ac24b23ff8
Change-Id: I79ccca00b5b2c944979c255640809fdea7ba3eaa
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -84,7 +84,9 @@ ClangFormatGlobalConfigWidget::ClangFormatGlobalConfigWidget(ICodeStylePreferenc
|
|||||||
m_projectHasClangFormat = new QLabel(this);
|
m_projectHasClangFormat = new QLabel(this);
|
||||||
m_formattingModeLabel = new QLabel(Tr::tr("Formatting mode:"));
|
m_formattingModeLabel = new QLabel(Tr::tr("Formatting mode:"));
|
||||||
m_fileSizeThresholdLabel = new QLabel(Tr::tr("Ignore files greater than:"));
|
m_fileSizeThresholdLabel = new QLabel(Tr::tr("Ignore files greater than:"));
|
||||||
|
m_fileSizeThresholdLabel->setToolTip(sizeThresholdToolTip);
|
||||||
m_fileSizeThresholdSpinBox = new QSpinBox(this);
|
m_fileSizeThresholdSpinBox = new QSpinBox(this);
|
||||||
|
m_fileSizeThresholdSpinBox->setToolTip(sizeThresholdToolTip);
|
||||||
m_indentingOrFormatting = new QComboBox(this);
|
m_indentingOrFormatting = new QComboBox(this);
|
||||||
m_formatWhileTyping = new QCheckBox(Tr::tr("Format while typing"));
|
m_formatWhileTyping = new QCheckBox(Tr::tr("Format while typing"));
|
||||||
m_formatOnSave = new QCheckBox(Tr::tr("Format edited code on file save"));
|
m_formatOnSave = new QCheckBox(Tr::tr("Format edited code on file save"));
|
||||||
|
|||||||
Reference in New Issue
Block a user