forked from qt-creator/qt-creator
Utils: Add a text variant to SavedAction for use in dialogs
Usually the same as the text() for use in menus, but with different capitalization. Also, restrict the QAbstractButton case to QCheckBox. That's the only case where it is used. Change-Id: Iaf87265a214891b83fa5604eb69290e2160c57f0 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -377,23 +377,9 @@ QWidget *LocalsAndExpressionsOptionsPage::widget()
|
||||
+ QLatin1String("</p></body></html>"));
|
||||
|
||||
auto checkBoxUseCodeModel = new QCheckBox(debuggingHelperGroupBox);
|
||||
checkBoxUseCodeModel->setText(tr("Use code model"));
|
||||
checkBoxUseCodeModel->setToolTip(action(UseCodeModel)->toolTip());
|
||||
checkBoxUseCodeModel->setToolTip(tr("Makes use of Qt Creator's code model "
|
||||
"to find out if a variable has already been assigned a "
|
||||
"value at the point the debugger interrupts."));
|
||||
|
||||
auto checkBoxShowThreadNames = new QCheckBox(debuggingHelperGroupBox);
|
||||
checkBoxShowThreadNames->setToolTip(tr("Displays names of QThread based threads."));
|
||||
checkBoxShowThreadNames->setText(tr("Display thread names"));
|
||||
|
||||
auto checkBoxShowStdNamespace = new QCheckBox(m_widget);
|
||||
checkBoxShowStdNamespace->setToolTip(tr("Shows \"std::\" prefix for types from the standard library."));
|
||||
checkBoxShowStdNamespace->setText(tr("Show \"std::\" namespace for types"));
|
||||
|
||||
auto checkBoxShowStdNamespace = new QCheckBox(m_widget);
|
||||
auto checkBoxShowQtNamespace = new QCheckBox(m_widget);
|
||||
checkBoxShowQtNamespace->setToolTip(tr("Shows Qt namespace prefix for Qt types. This is only relevant if Qt was configured with '-qtnamespace'."));
|
||||
checkBoxShowQtNamespace->setText(tr("Qt's namespace for types"));
|
||||
|
||||
auto spinBoxMaximalStringLength = new QSpinBox(m_widget);
|
||||
spinBoxMaximalStringLength->setSpecialValueText(tr("<unlimited>"));
|
||||
|
||||
Reference in New Issue
Block a user