Fixes for Today

Tomaz Canabrava tcanabrava at kde.org
Tue Aug 13 11:06:36 UTC 2013


Today I added the first version of the 'autocomplete' on dive-edition
( no multi-dive yet, will try that tomorrow. )
I know that there are a few things to improve ( like what I did in the
equipment tab ) and I 'll get there in time.
I'v tried to use QComboBoxes on the edition but when a dive was
entered via command line ( the divefile loading )
things didn't quite worked in the way that I wanted, so I got back to
using QLineEdit. wich means that There's no
drop down list that will be shown by pressing the arrow up and arrow
down key. anyhow, I ask you guys to test this
changes, and remember that I'm your happy developer, so don't hit me. :)
( and there's a couple of other bugs closed too. ^^ )

Hugs, Tomaz

The following changes since commit 16addbf373d138819411540a5be49513d58a4038:

  Use maxx from graphics context for time calculation. (2013-08-08
20:00:15 +0200)

are available in the git repository at:

  https://github.com/tcanabrava/subsurface autoCompleteFields2

for you to fetch changes up to 41ada82a045cd690ee0245881111b20c528e9e0e:

  Fixed a bug where the auto-completion would not work via
commandline. (2013-08-13 11:53:48 -0300)

----------------------------------------------------------------
Tomaz Canabrava (5):
      Makes the 'auto' edition behave in a better way.
      Fixes showing the labels of divemaster and buddy after a trip selection
      Added classes to handle the Completion of Dive Editions.
      Added completion for buddy, divemaster, location and suit.
      Fixed a bug where the auto-completion would not work via commandline.

 Makefile                   |  2 ++
 qt-ui/completionmodels.cpp | 38 ++++++++++++++++++++++++++++++++++++++
 qt-ui/completionmodels.h   | 34 ++++++++++++++++++++++++++++++++++
 qt-ui/maintab.cpp          | 48
++++++++++++++++++++++++++++++++++++++----------
 qt-ui/maintab.h            | 11 +++++++++++
 5 files changed, 123 insertions(+), 10 deletions(-)
 create mode 100644 qt-ui/completionmodels.cpp
 create mode 100644 qt-ui/completionmodels.h


More information about the subsurface mailing list