Simplify MainPage and add Connect to core button in clients
authorHannah von Reth <vonreth@kde.org>
Tue, 3 Nov 2015 14:07:13 +0000 (15:07 +0100)
committerHannah von Reth <vonreth@kde.org>
Tue, 3 Nov 2015 14:19:59 +0000 (15:19 +0100)
commit66e6d26b38fb6e4528654e6525d205e9e9ca3243
treeb92e2906d3d1745139c18a3eb2e3d77fe3caa4e9
parentb49c64970b6237fc95f8ca88c8bb6bcf04c251d7
Simplify MainPage and add Connect to core button in clients

Instead of overriding the paint function simply use a layout
and a QLabel in MainPage, this also enables us to add a button
to open the connect to core dialog.

This commit also hides the Nick list in a disconnected state,
to make sure the Quassel logo is centred and to keep it in line
with the All Chats view.
src/qtui/mainpage.cpp
src/qtui/mainpage.h
src/qtui/mainwin.cpp
src/qtui/nicklistwidget.cpp
src/qtui/nicklistwidget.h