diff options
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(); } |