From 03bb2a73d30e9d138d85dafe5b0c37296feb5e9c Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Tue, 6 May 2014 18:45:03 +0200 Subject: Changes the ConnectionWidows gui to a relative layout. Added a stacked widget to change between checkmark and the rest. Changed the non expressive names of ui elements. --- src/client/toolbar/toolbar.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/client/toolbar') diff --git a/src/client/toolbar/toolbar.cpp b/src/client/toolbar/toolbar.cpp index f45d63a..816d5f4 100644 --- a/src/client/toolbar/toolbar.cpp +++ b/src/client/toolbar/toolbar.cpp @@ -20,6 +20,21 @@ Toolbar::Toolbar(QWidget *parent) : // Initialize the GUI _ui->setupUi(this); +// QWidget *firstPageWidget = new QWidget; +// QWidget *secondPageWidget = new QWidget; + +// QStackedLayout *stackedLayout = new QStackedLayout; +// stackedLayout->addWidget(firstPageWidget); +// stackedLayout->addWidget(secondPageWidget); + +// QVBoxLayout *mainLayout = new QVBoxLayout; +// mainLayout->addLayout(stackedLayout); +// setLayout(mainLayout); + + + + + setWindowFlags(Qt::WindowStaysOnTopHint | Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint); setAttribute(Qt::WA_AlwaysShowToolTips); setAttribute(Qt::WA_QuitOnClose); -- cgit v1.2.3-55-g7522