diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-05-25 14:46:10 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-25 14:46:10 (GMT) |
commit | 7ee88ef79ddf1914387f3e2440070f51e3467004 (patch) | |
tree | ad6907afe6dcd0e2c383d08612ec5220deabe8ec /Swift/QtUI/QtViewHistoryWindow.cpp | |
parent | 8dd6e4daf472fd56ae7d8902c45e5dd564a0eafa (diff) | |
download | swift-contrib-7ee88ef79ddf1914387f3e2440070f51e3467004.zip swift-contrib-7ee88ef79ddf1914387f3e2440070f51e3467004.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(); } |