forked from qt-creator/qt-creator
Merge commit '029f926bcfcbb01' (origin/8.0) into 9.0
Conflicts: src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp src/plugins/qmldesigner/qmldesignerprojectmanager.cpp Change-Id: Iff498a1024f4a152ebdd3516ba13fa16cb6932d9
This commit is contained in:
@@ -139,10 +139,18 @@ 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 module in the Library view. Or click"
|
||||
" <a href=\"#add_import\"><span style=\"text-decoration:none;color:%1\">here</span></a> "
|
||||
"to add it immediately.<br><br>"
|
||||
"To import 3D assets from another tool, click the \"Add New Assets...\" button in the Assets tab of the Library view.");
|
||||
"To create a 3D view, add the"
|
||||
" <b>QtQuick3D</b>"
|
||||
" module in the"
|
||||
" <b>Components</b>"
|
||||
" view or click"
|
||||
" <a href=\"#add_import\"><span style=\"text-decoration:none;color:%1\">here</span></a>"
|
||||
".<br><br>"
|
||||
"To import 3D assets, select"
|
||||
" <b>+</b>"
|
||||
" in the"
|
||||
" <b>Assets</b>"
|
||||
" 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