diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-05-25 14:46:10 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-31 18:34:03 (GMT) |
commit | dc09259ab9e7c27e0e1026b72f801bd85cbb8190 (patch) | |
tree | ad6907afe6dcd0e2c383d08612ec5220deabe8ec /Swift/QtUI/QtViewHistoryWindow.cpp | |
parent | d543ef9f11275d28b830f05b3dc4b6247553eb6d (diff) | |
download | swift-contrib-dc09259ab9e7c27e0e1026b72f801bd85cbb8190.zip swift-contrib-dc09259ab9e7c27e0e1026b72f801bd85cbb8190.tar.bz2 |
First Layout for History Window
Diffstat (limited to 'Swift/QtUI/QtViewHistoryWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtViewHistoryWindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/QtUI/QtViewHistoryWindow.cpp b/Swift/QtUI/QtViewHistoryWindow.cpp index 8905c19..71f77b8 100644 --- a/Swift/QtUI/QtViewHistoryWindow.cpp +++ b/Swift/QtUI/QtViewHistoryWindow.cpp @@ -4,14 +4,20 @@ * See Documentation/Licenses/BSD-simplified.txt for more information. */ -#include "QtViewHistoryWindow.h" #include <QWidget> #include <QBoxLayout> +#include "QtViewHistoryWindow.h" +#include "QtChatView.h" +#include "QtChatTheme.h" + namespace Swift { QtViewHistoryWindow::QtViewHistoryWindow() { ui.setupUi(this); + QtChatTheme *theme = new QtChatTheme(""); // Where should I get the theme path from? + messageLog_ = new QtChatView(theme, this); + ui.chatView_->addWidget(messageLog_); show(); } |