forked from qt-creator/qt-creator
Tr/QML Code Style: Just use "Other" for group box title
"Qml JS Code Style" is wrong (consistent would probably be "QML/JS Code Style"), and since this is already with "Qt Quick > Code Style" with another group box titled "Tabs and Indentation", it is also weird (the other group box is also about the QML/JS code style). Change-Id: I61d5f273b91aebf95f0e5f5913e160195dcd7a11 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -20,15 +20,17 @@ QmlJSCodeStyleSettingsWidget::QmlJSCodeStyleSettingsWidget(QWidget *parent)
|
|||||||
m_lineLengthSpinBox->setMaximum(999);
|
m_lineLengthSpinBox->setMaximum(999);
|
||||||
|
|
||||||
using namespace Layouting;
|
using namespace Layouting;
|
||||||
|
// clang-format off
|
||||||
Column {
|
Column {
|
||||||
Group {
|
Group {
|
||||||
title(Tr::tr("Qml JS Code Style")),
|
title(Tr::tr("Other")),
|
||||||
Form {
|
Form {
|
||||||
Tr::tr("&Line length:"), m_lineLengthSpinBox, br,
|
Tr::tr("&Line length:"), m_lineLengthSpinBox, br,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
noMargin
|
noMargin
|
||||||
}.attachTo(this);
|
}.attachTo(this);
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
connect(m_lineLengthSpinBox, &QSpinBox::valueChanged,
|
connect(m_lineLengthSpinBox, &QSpinBox::valueChanged,
|
||||||
this, &QmlJSCodeStyleSettingsWidget::slotSettingsChanged);
|
this, &QmlJSCodeStyleSettingsWidget::slotSettingsChanged);
|
||||||
|
|||||||
Reference in New Issue
Block a user