Commit Graph

11 Commits

Author SHA1 Message Date
Bill Somerville
19c46774b4
Moving toward multiplier and dupe detection for contest modes
There's not  much to show  for this so far  but some of  the necessary
infrastructure is in place.
2019-05-30 22:20:09 +01:00
Bill Somerville
b79cf0df99 Improvements to accessibiity
Where  tool  tips are  defined  in  rich  text, equivalent  pain  test
accessible descriptions have been added  so that screen readers do not
announce HTML tags.

Refactored date time  delegates to use a simpler default  editor via a
default  item editor  factory for  QDateTime values,  the editor  is a
standard QDateTimeEdit with a format that includes seconds and renders
assuming the time is UTC.

Modified the Cabrillo log and Fox log database table models to provide
QDateTime items  for the edit role  of date time fields,  and formated
date time strings including seconds and assumed as UTC for the display
role.
2019-05-03 10:21:50 +01:00
Bill Somerville
b8e4517718 Improve performance of Fox and contest log view windows
This include inverting  the order of table view rows  so the newest is
at the top, without that the Qt MVC interactions when using a database
table based model is too slow and complex to manage.

The table views  now have sort by column capability  in the normal way
(click column  header to  reverse sort order)  for timely  logging and
non-disruption  of  Tx  starts  the  log  view  should  be  sorted  in
descending time order and scrolled to the last row added. Without that
Fox and  contest logging will work  but serious delays may  be invoked
that disrupt operation.
2018-12-06 05:41:16 +00:00
Bill Somerville
43edd81a8b Include seconds in datebase field date/time item delegate editor 2018-12-02 15:31:22 +00:00
Bill Somerville
94bbe52c73 Fixes several QDateTime time spec issues that effected contest logs and Cabrillo exports 2018-12-01 13:16:57 -05:00
Bill Somerville
86fb68f305 Set foreign key item delegate references key values combo box size according to contents 2018-11-25 21:55:19 +00:00
Bill Somerville
6f966f613d Display and export contest log times in UTC, not local time 2018-11-19 21:18:41 -05:00
Bill Somerville
3634be1e80 Tidy up names of some item delegates 2018-11-12 02:03:26 +00:00
Bill Somerville
97431d8154 Add some item delagate classes useful for database fields 2018-11-12 02:00:35 +00:00
Bill Somerville
dcbfae6d02 Set up new source sub-directories in QMake project file
QMake requies the inclusion of sub-projects syntax to introduce source
sub-directories,  hopefully   this  will  allow  code   completion  in
QtCreator to function.
2018-11-09 18:49:33 +00:00
Bill Somerville
947b429723 Start implememntation of database based Fox log model and a new Fox log window widget
This change incorporates a reorganization of the GUI code with
widgets, validators, models, and item delegates being moved to
sub-directories.

Relax  the   requirements  of   the  ForeignKeyDelegate   and  related
CandidateKeyFilter classes to  allow them to work  with constant model
pointers for both referenced and referencing models.
2018-11-07 17:49:45 +00:00