summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-13 19:02:05 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-13 19:02:05 (GMT)
commit83bc9d0690697fdbbeab7c225a6cdb364ce59b46 (patch)
tree1b5a525c0719d6e1ba2e1c90eb352c2d549bca7d /Swift/QtUI/EventViewer/QtEventWindow.h
parent4a192bc9f70d20ac0a509dff1994d3aad812cb2d (diff)
downloadswift-83bc9d0690697fdbbeab7c225a6cdb364ce59b46.zip
swift-83bc9d0690697fdbbeab7c225a6cdb364ce59b46.tar.bz2
Add 'Read Notice' button to the event view.
Resolves: #332
Diffstat (limited to 'Swift/QtUI/EventViewer/QtEventWindow.h')
-rw-r--r--Swift/QtUI/EventViewer/QtEventWindow.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/QtUI/EventViewer/QtEventWindow.h b/Swift/QtUI/EventViewer/QtEventWindow.h
index 79fccab..1f7010e 100644
--- a/Swift/QtUI/EventViewer/QtEventWindow.h
+++ b/Swift/QtUI/EventViewer/QtEventWindow.h
@@ -17,7 +17,7 @@
#include "Swift/QtUI/EventViewer/EventDelegate.h"
namespace Swift {
- class QtEventWindow : public QTreeView, public EventWindow {
+ class QtEventWindow : public QWidget, public EventWindow {
Q_OBJECT
public:
QtEventWindow(UIEventStream* eventStream, QWidget* parent = 0);
@@ -28,10 +28,12 @@ namespace Swift {
void onNewEventCountUpdated(int count);
private slots:
void handleItemActivated(const QModelIndex& item);
+ void handleReadClicked();
private:
EventModel* model_;
EventDelegate* delegate_;
UIEventStream* eventStream_;
+ QTreeView* view_;
};
}