ClangFormatWidget: Set the tooltip

Amends ac24b23ff8

Change-Id: I79ccca00b5b2c944979c255640809fdea7ba3eaa
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-01-28 15:33:51 +01:00
parent 4a5154a1a1
commit d6eec9ce2e

View File

@@ -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"));