diff src/filterwidget.h @ 14:315e6988952a

Only add entries that do not start with # to filter
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 14 Apr 2015 17:25:15 +0200
parents e4748da7140b
children 64a51a42c01f
line wrap: on
line diff
--- a/src/filterwidget.h	Tue Apr 14 13:43:43 2015 +0200
+++ b/src/filterwidget.h	Tue Apr 14 17:25:15 2015 +0200
@@ -7,6 +7,7 @@
  * See LICENSE.txt for details.
  */
 #include <QWidget>
+#include <QMap>
 
 class QSortFilterProxyModel;
 class QComboBox;
@@ -32,5 +33,7 @@
     QSortFilterProxyModel *mModel;
     QComboBox *mCombo;
     QLineEdit *mEditLine;
+    /* Maps the combo index to the model col index */
+    QMap<int, int> mColFilterMap;
 };
 #endif // FILTERWIDGET_H
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)