summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/QtTabbable.h')
-rw-r--r--Swift/QtUI/QtTabbable.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/QtTabbable.h b/Swift/QtUI/QtTabbable.h
index e236a0b..baab15c 100644
--- a/Swift/QtUI/QtTabbable.h
+++ b/Swift/QtUI/QtTabbable.h
@@ -6,6 +6,7 @@
#pragma once
+#include <QKeyEvent>
#include <QWidget>
@@ -20,6 +21,10 @@ namespace Swift {
virtual int getCount() {return 0;}
protected:
QtTabbable() : QWidget() {};
+ void keyPressEvent(QKeyEvent* event);
+
+ protected slots:
+ void handleKeyPressEvent(QKeyEvent* event);
signals:
void titleUpdated();