diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-05-24 16:29:25 (GMT) |
---|---|---|
committer | Cătălin Badea <catalin.badea392@gmail.com> | 2012-08-11 15:45:27 (GMT) |
commit | c09901d69a0b606d8f16a3496c0c4f24c3c7aa1b (patch) | |
tree | dc6b472d914413b372a6cefdab4cef2eae25aafb /Swift/QtUI/QtHistoryWindow.h | |
parent | f799cce739f89225258dfbd2e0099e8a71d99af4 (diff) | |
download | swift-contrib-c09901d69a0b606d8f16a3496c0c4f24c3c7aa1b.zip swift-contrib-c09901d69a0b606d8f16a3496c0c4f24c3c7aa1b.tar.bz2 |
Added History window based code: controller, events, interface and menu entry.
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.h')
-rw-r--r-- | Swift/QtUI/QtHistoryWindow.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.h b/Swift/QtUI/QtHistoryWindow.h new file mode 100644 index 0000000..f2e5cc0 --- /dev/null +++ b/Swift/QtUI/QtHistoryWindow.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2012 Catalin Badea + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include "Swift/Controllers/UIInterfaces/HistoryWindow.h" +#include "QtTabbable.h" + +class QTextEdit; +class QCheckBox; +class QColor; + +namespace Swift { + class QtHistoryWindow : public QtTabbable, public HistoryWindow { + Q_OBJECT + + public: + QtHistoryWindow(); + ~QtHistoryWindow(); + + void show(); + void activate(); + + private: + virtual void closeEvent(QCloseEvent* event); + virtual void showEvent(QShowEvent* event); + }; +} |