forked from qt-creator/qt-creator
Qt Quick Designer: Fix UI text in views
- Fix punctuation - Fix capitalization Task-number: QTCREATORBUG-25915 Change-Id: Iff2c0a852c3a41c65205cc85000a86fc78eabd88 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -109,10 +109,10 @@ Edit3DWidget::Edit3DWidget(Edit3DView *view) :
|
||||
m_onboardingLabel = new QLabel(this);
|
||||
QString labelText =
|
||||
tr("Your file does not import Qt Quick 3D.<br><br>"
|
||||
"To create a 3D view, add the QtQuick3D import to your file in the QML Imports tab of the Library view. Or click"
|
||||
"To create a 3D view, add the QtQuick3D module in the Library view. Or click"
|
||||
" <a href=\"#add_import\"><span style=\"text-decoration:none;color:%1\">here</span></a> "
|
||||
"here to add it immediately.<br><br>"
|
||||
"To import 3D assets from another tool, click on the \"Add New Assets...\" button in the Assets tab of the Library view.");
|
||||
"To import 3D assets from another tool, click the \"Add New Assets...\" button in the Assets tab of the Library view.");
|
||||
m_onboardingLabel->setText(labelText.arg(Utils::creatorTheme()->color(Utils::Theme::TextColorLink).name()));
|
||||
m_onboardingLabel->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
|
||||
connect(m_onboardingLabel, &QLabel::linkActivated, this, &Edit3DWidget::linkActivated);
|
||||
|
||||
Reference in New Issue
Block a user