comparison src/metadataview.h @ 35:f10d4e035eec

(issue10) Use width of header as minimum of the column size
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 16:08:41 +0200
parents 4e16fbd10945
children 0c05958d254c
comparison
equal deleted inserted replaced
34:40a683d1a318 35:f10d4e035eec
57 void selectRow(int row); 57 void selectRow(int row);
58 58
59 /**@brief applies the default sort order from configuration */ 59 /**@brief applies the default sort order from configuration */
60 void applyDefaultSort(); 60 void applyDefaultSort();
61 61
62 /**@brief resizes the columns to headers content */
63 void resizeColsToHeaders();
64
62 protected: 65 protected:
63 QxtCsvModel *mCSVModel; 66 QxtCsvModel *mCSVModel;
64 QSortFilterProxyModel *mSortModel; 67 QSortFilterProxyModel *mSortModel;
65 QTableView *mView; 68 QTableView *mView;
66 }; 69 };
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)