diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-05-24 18:04:50 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-24 18:04:50 (GMT) |
commit | 8dd6e4daf472fd56ae7d8902c45e5dd564a0eafa (patch) | |
tree | f0a57074d811b90ebd5c2120040329e921f63a06 /Swift | |
parent | 3b67cd080dddf75e1ddefe2c7c940ace5190abd2 (diff) | |
download | swift-contrib-8dd6e4daf472fd56ae7d8902c45e5dd564a0eafa.zip swift-contrib-8dd6e4daf472fd56ae7d8902c45e5dd564a0eafa.tar.bz2 |
started History Window with Designer
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtViewHistoryWindow.cpp | 4 | ||||
-rw-r--r-- | Swift/QtUI/QtViewHistoryWindow.h | 2 | ||||
l--------- | Swift/QtUI/QtViewHistoryWindow.ui | 1 | ||||
-rw-r--r-- | Swift/QtUI/SConscript | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/Swift/QtUI/QtViewHistoryWindow.cpp b/Swift/QtUI/QtViewHistoryWindow.cpp index be83036..8905c19 100644 --- a/Swift/QtUI/QtViewHistoryWindow.cpp +++ b/Swift/QtUI/QtViewHistoryWindow.cpp @@ -6,13 +6,13 @@ #include "QtViewHistoryWindow.h" #include <QWidget> -#include "QtDebug" #include <QBoxLayout> namespace Swift { QtViewHistoryWindow::QtViewHistoryWindow() { - qDebug() << "I am here"; + ui.setupUi(this); + show(); } void QtViewHistoryWindow::show() { diff --git a/Swift/QtUI/QtViewHistoryWindow.h b/Swift/QtUI/QtViewHistoryWindow.h index 2d1ca57..00f33b4 100644 --- a/Swift/QtUI/QtViewHistoryWindow.h +++ b/Swift/QtUI/QtViewHistoryWindow.h @@ -11,6 +11,7 @@ #include <Swift/Controllers/UIInterfaces/ViewHistoryWindow.h> #include <Swiften/JID/JID.h> +#include <Swift/QtUI/ui_QtViewHistoryWindow.h> namespace Swift { class QtViewHistoryWindow : public QWidget, public ViewHistoryWindow { @@ -21,6 +22,7 @@ namespace Swift { void setEnabled(bool enabled); private: + Ui::QtViewHistoryWindow ui; JID jid_; }; } diff --git a/Swift/QtUI/QtViewHistoryWindow.ui b/Swift/QtUI/QtViewHistoryWindow.ui new file mode 120000 index 0000000..cd19376 --- /dev/null +++ b/Swift/QtUI/QtViewHistoryWindow.ui @@ -0,0 +1 @@ +/home/vlad/test.ui
\ No newline at end of file diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript index e475388..778596b 100644 --- a/Swift/QtUI/SConscript +++ b/Swift/QtUI/SConscript @@ -167,6 +167,7 @@ myenv.Uic4("UserSearch/QtUserSearchWizard.ui") myenv.Uic4("UserSearch/QtUserSearchFirstPage.ui") myenv.Uic4("UserSearch/QtUserSearchFieldsPage.ui") myenv.Uic4("UserSearch/QtUserSearchResultsPage.ui") +myenv.Uic4("QtViewHistoryWindow.ui") myenv.Uic4("QtBookmarkDetailWindow.ui") myenv.Uic4("QtJoinMUCWindow.ui") myenv.Qrc("DefaultTheme.qrc") |