mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Group dives by trips
Group dives according to the allocated dive trips. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f0c7779753
commit
ee9452ae8a
3 changed files with 51 additions and 20 deletions
|
@ -50,8 +50,12 @@ public:
|
|||
QString notes() const;
|
||||
void setNotes(const QString ¬es);
|
||||
|
||||
QString trip() const;
|
||||
void setTrip(const QString &trip);
|
||||
|
||||
private:
|
||||
QString m_diveNumber;
|
||||
QString m_trip;
|
||||
QString m_date;
|
||||
QString m_rating;
|
||||
QString m_depth;
|
||||
|
@ -76,6 +80,7 @@ public:
|
|||
|
||||
enum DiveListRoles {
|
||||
DiveNumberRole = Qt::UserRole + 1,
|
||||
DiveTripRole,
|
||||
DiveDateRole,
|
||||
DiveRatingRole,
|
||||
DiveDepthRole,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue