summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-21 15:59:57 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-21 15:59:57 (GMT)
commitdc80d6baf01d1a4c69e5204887d430ad5f6daaec (patch)
tree69b8ffb0f1ab2f702cdebab15b880203894b2d92 /Swift/QtUI/EventViewer/QtEventWindow.h
parentfbd54ef16ef202b6273f89f0d7b50fdd6b6dec68 (diff)
downloadswift-dc80d6baf01d1a4c69e5204887d430ad5f6daaec.zip
swift-dc80d6baf01d1a4c69e5204887d430ad5f6daaec.tar.bz2
Disable the notice button until a notice is selected.
Resolves: #350
Diffstat (limited to 'Swift/QtUI/EventViewer/QtEventWindow.h')
-rw-r--r--Swift/QtUI/EventViewer/QtEventWindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/EventViewer/QtEventWindow.h b/Swift/QtUI/EventViewer/QtEventWindow.h
index 1f7010e..b49660a 100644
--- a/Swift/QtUI/EventViewer/QtEventWindow.h
+++ b/Swift/QtUI/EventViewer/QtEventWindow.h
@@ -16,6 +16,8 @@
#include "Swift/QtUI/EventViewer/EventModel.h"
#include "Swift/QtUI/EventViewer/EventDelegate.h"
+class QPushButton;
+
namespace Swift {
class QtEventWindow : public QWidget, public EventWindow {
Q_OBJECT
@@ -28,12 +30,14 @@ namespace Swift {
void onNewEventCountUpdated(int count);
private slots:
void handleItemActivated(const QModelIndex& item);
+ void handleItemClicked(const QModelIndex& item);
void handleReadClicked();
private:
EventModel* model_;
EventDelegate* delegate_;
UIEventStream* eventStream_;
QTreeView* view_;
+ QPushButton* readButton_;
};
}