Commit 523dbb4f authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Set object names on the welcome page widgets.



To ease debugging.

Change-Id: I5c2166fcbcc7355ef8d88feb1cbf3503fcd82580
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 4d89786a
......@@ -147,6 +147,7 @@ WelcomeMode::WelcomeMode() :
setContext(Core::Context(Core::Constants::C_WELCOME_MODE));
m_welcomePage = new QQuickView;
m_welcomePage->setObjectName(QLatin1String("WelcomePage"));
m_welcomePage->setResizeMode(QQuickView::SizeRootObjectToView);
// filter to forward dragEnter events
......@@ -154,11 +155,13 @@ WelcomeMode::WelcomeMode() :
// m_welcomePage->viewport()->installEventFilter(this);
m_modeWidget = new QWidget;
m_modeWidget->setObjectName(QLatin1String("WelcomePageModeWidget"));
QVBoxLayout *layout = new QVBoxLayout;
layout->setMargin(0);
layout->setSpacing(0);
Utils::StyledBar* styledBar = new Utils::StyledBar(m_modeWidget);
styledBar->setObjectName(QLatin1String("WelcomePageStyledBar"));
layout->addWidget(styledBar);
// QScrollArea *scrollArea = new QScrollArea(m_modeWidget);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment