aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/column_editor_frame.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-09-17 18:57:25 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2017-09-19 06:23:21 +0000
commit3cb95b0521222766890fdd77d3f6294c98644321 (patch)
tree680b8c6beb75f0c75799bb1f6de2381ab01a5d80 /ui/qt/column_editor_frame.h
parentadf170c23d179dcec29c86c22151ed19684f6209 (diff)
Qt: Add key events to accept and reject changes in ColumnEditorFrame
Change-Id: I5f9ee01ee3aca5b2d75136fff3d8dc3e90ca1a4e Reviewed-on: https://code.wireshark.org/review/23585 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/column_editor_frame.h')
-rw-r--r--ui/qt/column_editor_frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/qt/column_editor_frame.h b/ui/qt/column_editor_frame.h
index 1832cccbe7..e6969a1be1 100644
--- a/ui/qt/column_editor_frame.h
+++ b/ui/qt/column_editor_frame.h
@@ -39,6 +39,10 @@ public:
signals:
void columnEdited();
+ void pushFilterSyntaxStatus(const QString&);
+
+protected:
+ void keyPressEvent(QKeyEvent *event);
private slots:
void on_typeComboBox_activated(int index);