diff options
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r-- | qt-models/divetripmodel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h index ce508a5b5..24b215129 100644 --- a/qt-models/divetripmodel.h +++ b/qt-models/divetripmodel.h @@ -94,10 +94,13 @@ public: DiveTripModel(QObject *parent = 0); Layout layout() const; void setLayout(Layout layout); + int columnWidth(int column); + void setColumnWidth(int column, int width); private: void setupModelData(); QMap<dive_trip_t *, TripItem *> trips; + QVector<int> columnWidthMap; Layout currentLayout; }; |