diff --git a/src/calamares/CalamaresWindow.cpp b/src/calamares/CalamaresWindow.cpp index 8c47f26a8..ec7e18cd7 100644 --- a/src/calamares/CalamaresWindow.cpp +++ b/src/calamares/CalamaresWindow.cpp @@ -20,7 +20,7 @@ #include "ViewManager.h" -#include "QBoxLayout" +#include CalamaresWindow::CalamaresWindow( QWidget* parent ) : QWidget( parent ) diff --git a/src/calamares/ViewManager.cpp b/src/calamares/ViewManager.cpp index b1edaf761..18b87c182 100644 --- a/src/calamares/ViewManager.cpp +++ b/src/calamares/ViewManager.cpp @@ -37,9 +37,14 @@ ViewManager::ViewManager( QObject* parent ) { s_instance = this; QBoxLayout* mainLayout = new QVBoxLayout; + mainLayout->setContentsMargins( 0, 0, 0, 0 ); + m_widget->setContentsMargins( 0, 0, 0, 0 ); + mainLayout->setMargin( 0 ); + mainLayout->setSpacing( 0 ); m_widget->setLayout( mainLayout ); m_stack = new QStackedWidget( m_widget ); + m_stack->setContentsMargins( 0, 0, 0, 0 ); mainLayout->addWidget( m_stack ); m_back = new QPushButton( tr( "&Back" ), m_widget ); @@ -66,6 +71,34 @@ ViewManager::widget() } +void +ViewManager::addPagePlugin( PagePlugin* plugin ) +{ + +} + + +void +ViewManager::insertPage( AbstractPage* page ) +{ + +} + + +void +ViewManager::setNext( AbstractPage* page ) +{ + +} + + +void +ViewManager::removePage( AbstractPage* page ) +{ + +} + + void ViewManager::next() {