1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

GCS/welcome: Cleaner welcome page.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@364 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
ephy 2010-03-21 17:53:11 +00:00 committed by ephy
parent 1b0358cab3
commit cc7c7f8a24

View File

@ -83,7 +83,7 @@ WelcomeMode::WelcomeMode() :
QVBoxLayout *l = new QVBoxLayout(m_d->m_widget);
l->setMargin(0);
l->setSpacing(0);
l->addWidget(new Utils::StyledBar(m_d->m_widget));
// l->addWidget(new Utils::StyledBar(m_d->m_widget));
m_d->m_welcomePage = new QWidget(m_d->m_widget);
m_d->ui.setupUi(m_d->m_welcomePage);
m_d->ui.helpUsLabel->setAttribute(Qt::WA_LayoutUsesWidgetRect);
@ -163,7 +163,7 @@ void WelcomeMode::initPlugins()
btn->setAutoExclusive(true);
connect (btn, SIGNAL(clicked()), SLOT(showClickedPage()));
m_d->ui.stackedWidget->addWidget(plugin->page());
m_d->buttonLayout->addWidget(btn);
// m_d->buttonLayout->addWidget(btn);
m_d->buttonMap.insert(btn, plugin->page());
}
m_d->buttonLayout->addSpacing(5);