diff src/metadataview.h @ 88:3916cb3c9105

Add new FilterSort model that allows to include empty values
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 19 Jun 2015 14:26:16 +0200
parents 5923d569167b
children b8c7644a9d49
line wrap: on
line diff
--- a/src/metadataview.h	Thu Jun 18 19:35:22 2015 +0200
+++ b/src/metadataview.h	Fri Jun 19 14:26:16 2015 +0200
@@ -20,6 +20,8 @@
 class QTableView;
 class QSortFilterProxyModel;
 class QxtCsvModel;
+class IncludeEmptySortModel;
+class FilterWidget;
 
 /**
  * @class MetaDataView
@@ -77,11 +79,12 @@
     /** @brief resizes the columns to headers content */
     void resizeColsToHeaders();
 
-protected:
+private:
     QxtCsvModel *mCSVModel;
-    QSortFilterProxyModel *mSortModel;
+    IncludeEmptySortModel *mSortModel;
     QTableView *mView;
     int mDateColIdx;
+    FilterWidget *mFilterWidget;
 };
 
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)