Make it possible to jump between filters by pressing the tab key

Allow jumping between the filter input fields by pressing Tab and
Shift+Tab.

See issue #106.
This commit is contained in:
Martin Kleusberg
2014-10-11 15:43:39 +02:00
parent 017715510f
commit eb8e801b57
3 changed files with 40 additions and 6 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
class QLineEdit;
class QTableView;
class FilterLineEdit;
class FilterTableHeader : public QHeaderView
{
@@ -29,7 +30,7 @@ private slots:
void inputChanged(const QString& new_value);
private:
QList<QLineEdit*> filterWidgets;
QList<FilterLineEdit*> filterWidgets;
};
#endif