The new tagging system is ready

Maximilian Güntner maximilian.guentner at gmail.com
Fri Nov 1 20:12:09 UTC 2013


Hello everyone,

I finished the implementation of the new tagging system. Subsurface now supports
custom tags (provided by the user) as well as default tags (provided
by Subsurface).
You can now tag your dives however you want. Why not tag every dive
with 'Special'
during which you have seen something interesting?

Here are two screenshots: http://imgur.com/a/WNTyC

I hope you like it.

Maximilian

---

The following changes since commit 9e635392373cdc56fb3a897ea491e7c33fdbd424:

  Merge branch 'editMode' of github.com:tcanabrava/subsurface
(2013-11-01 11:19:23 -0700)

are available in the git repository at:

  git at github.com:mguentner/subsurface.git tagwidget-pr

for you to fetch changes up to 04cdfce782f2a104ab5d0ee92de67c7b6271835b:

  Added a custom widget for tagging dives (2013-11-02 03:37:31 +0100)

----------------------------------------------------------------
Maximilian Güntner (3):
      change the key from const char * to QByteArray
      Replaced the tag implementation
      Added a custom widget for tagging dives

 dive.c                     | 160
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 dive.h                     |  69
++++++++++++++++++++++++++++++++-----------------------
 divelist.c                 |   7 ++++--
 gettextfromc.cpp           |   2 +-
 gettextfromc.h             |   2 +-
 main.cpp                   |   1 +
 parse-xml.c                |  59
++++++++++++++++++++++++++++++++++-------------
 qt-ui/completionmodels.cpp |  13 +++++++++++
 qt-ui/completionmodels.h   |   7 ++++++
 qt-ui/groupedlineedit.cpp  | 204
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 qt-ui/groupedlineedit.h    |  66
++++++++++++++++++++++++++++++++++++++++++++++++++++
 qt-ui/maintab.cpp          |  40 ++++++++++++++++++++++++++++++--
 qt-ui/maintab.h            |   4 ++++
 qt-ui/maintab.ui           | 121
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------
 qt-ui/tagwidget.cpp        | 135
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 qt-ui/tagwidget.h          |  26 +++++++++++++++++++++
 save-xml.c                 |  26 +++++++++++++--------
 statistics.c               |   9 --------
 subsurface.pro             |  10 +++++---
 19 files changed, 846 insertions(+), 115 deletions(-)
 create mode 100644 qt-ui/groupedlineedit.cpp
 create mode 100644 qt-ui/groupedlineedit.h
 create mode 100644 qt-ui/tagwidget.cpp
 create mode 100644 qt-ui/tagwidget.h


More information about the subsurface mailing list