diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-05-23 14:53:15 (GMT) |
---|---|---|
committer | Vlad Voicu <vladvoic@gmail.com> | 2011-05-23 20:01:27 (GMT) |
commit | 1fe7e5991c8d1601874f47d9d7038eafb568f6f2 (patch) | |
tree | a126ee0f493efdf18c258e29c9f4a97189831cf8 /Swift/QtUI/QtViewHistoryWindow.cpp | |
parent | 8fe56244a23cd13ba9bafc439b1e502dfd3f82df (diff) | |
download | swift-contrib-1fe7e5991c8d1601874f47d9d7038eafb568f6f2.zip swift-contrib-1fe7e5991c8d1601874f47d9d7038eafb568f6f2.tar.bz2 |
added controllers for the History Window
Diffstat (limited to 'Swift/QtUI/QtViewHistoryWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtViewHistoryWindow.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Swift/QtUI/QtViewHistoryWindow.cpp b/Swift/QtUI/QtViewHistoryWindow.cpp new file mode 100644 index 0000000..2f3bd9e --- /dev/null +++ b/Swift/QtUI/QtViewHistoryWindow.cpp @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2011 Vlad Voicu + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#include "QtViewHistoryWindow.h" +#include <QWidget> +#include "QtDebug" +#include <QBoxLayout> + +namespace Swift { + +QtViewHistoryWindow::QtViewHistoryWindow() { + qDebug() << "I am here"; +} + +void QtViewHistoryWindow::show() { + QWidget::show(); + QWidget::activateWindow(); +} + +void QtViewHistoryWindow::hide() { + QWidget::hide(); +} + +void QtViewHistoryWindow::setEnabled(bool b) { + QWidget::setEnabled(b); +} + +} |