diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-05-19 19:55:38 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-05-19 19:55:38 +0300 |
commit | c480f8f4bcef551eddcddeb5a4304de33c146732 (patch) | |
tree | f405592f095083723077243e618b7a3b7b462a3c /include/ChatPage.h | |
parent | 30fce321613b234934512dd06a7ef8f4b0929d7b (diff) |
Snappy sidebar
Diffstat (limited to 'include/ChatPage.h')
-rw-r--r-- | include/ChatPage.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/include/ChatPage.h b/include/ChatPage.h index 5ad22584..7e8bc9e9 100644 --- a/include/ChatPage.h +++ b/include/ChatPage.h @@ -24,16 +24,12 @@ #include "MatrixClient.h" #include "RoomList.h" #include "RoomState.h" +#include "Splitter.h" #include "TextInputWidget.h" #include "TimelineViewManager.h" #include "TopRoomBar.h" #include "UserInfoWidget.h" -namespace Ui -{ -class ChatPage; -} - class ChatPage : public QWidget { Q_OBJECT @@ -64,7 +60,20 @@ private slots: private: void updateRoomState(RoomState &room_state, const QJsonArray &events); - Ui::ChatPage *ui; + QHBoxLayout *topLayout_; + Splitter *splitter; + + QWidget *sideBar_; + QVBoxLayout *sideBarLayout_; + QVBoxLayout *sideBarTopLayout_; + QVBoxLayout *sideBarMainLayout_; + QWidget *sideBarTopWidget_; + QVBoxLayout *sideBarTopWidgetLayout_; + + QWidget *content_; + QVBoxLayout *contentLayout_; + QHBoxLayout *topBarLayout_; + QVBoxLayout *mainContentLayout_; RoomList *room_list_; TimelineViewManager *view_manager_; |