2021-08-11 Fred Gleason <fredg@paravelsystems.com>

* Removed the 'SYSTEM.TIME_FORMAT' field from the database.
	* Added a 'SYSTEM.SHOW_TWELVE_HOUR_TIME' field to the database.
	* Incremented the database version 352.
	* Added 'RDSystem::showTwelveHourTime()' and
	'RDSystem::setShowTwelveHourTime()' methods.
	* Refactored 'RDTimeEdit' to support 12 hour time format.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-11 11:14:06 -04:00
parent b2b5bf27bf
commit 22a2fd2f9c
27 changed files with 301 additions and 579 deletions

View File

@@ -2,7 +2,7 @@
//
// Base class for rdlogedit(1) event editor dialogs
//
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -44,9 +44,8 @@ RDLogEventDialog::RDLogEventDialog(RDLogLine *line,QWidget *parent)
// Start Time
//
edit_time_edit=new RDTimeEdit(this);
edit_time_edit->setDisplay(RDTimeEdit::Hours|RDTimeEdit::Minutes|
RDTimeEdit::Seconds|RDTimeEdit::Tenths);
connect(edit_time_edit,SIGNAL(valueChanged(const QTime &)),
edit_time_edit->setShowTenths(true);
connect(edit_time_edit,SIGNAL(timeChanged(const QTime &)),
this,SLOT(timeChangedData(const QTime &)));
//