diff src/metadataview.h @ 44:73e6b6b12412

(issue 1,2) Make the column used for the Timestamp value configurable If the column contains a number it is interpreted as seconds since epoch. Otherwise its a verbatim copy of the column string.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 19:45:26 +0200
parents 0c05958d254c
children 28d5a77db9fb
line wrap: on
line diff
--- a/src/metadataview.h	Wed May 06 18:20:13 2015 +0200
+++ b/src/metadataview.h	Wed May 06 19:45:26 2015 +0200
@@ -34,7 +34,7 @@
 Q_SIGNALS:
     /**@brief emited when the selection changed. */
     void selectionChanged(const QString& pictureFile, int current, int max,
-        const QDateTime& timestamp, int number);
+        const QString& timestamp, int number);
 
 protected slots:
     /** @brief internal slot to handle table view selection changes */
@@ -63,6 +63,7 @@
     QxtCsvModel *mCSVModel;
     QSortFilterProxyModel *mSortModel;
     QTableView *mView;
+    int mDateColIdx;
 };
 
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)