mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-08-03 Fred Gleason <fredg@paravelsystems.com>
* Added 'SYSTEM.LONG_DATE_FORMAT', 'SYSTEM.SHORT_DATE_FORMAT' and 'SYSTEM.TIME_FORMAT' fields to the database. * Incremented the database version to 351. * Added 'RDSystem::longDateFormat()', 'RDSystem'setLongDateFormat()', 'RDSystem::shortDateFormat()', 'RDSystem::setShortDateFormat()', 'RDSystem::timeFormat()' and 'RDSystem::setTimeFormat()' methods. * Added a 'Date/Time Formats' section to the 'System-Wide Settings' dialog in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define EDIT_SYSTEM_H
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
@@ -37,6 +38,7 @@
|
||||
#include <rdtableview.h>
|
||||
|
||||
#include "list_encoders.h"
|
||||
#include "test_datetimes.h"
|
||||
|
||||
class EditSystem : public RDDialog
|
||||
{
|
||||
@@ -52,6 +54,8 @@ class EditSystem : public RDDialog
|
||||
void duplicatesCheckedData(bool state);
|
||||
void saveData();
|
||||
void encodersData();
|
||||
void datetimeTestData();
|
||||
void datetimeDefaultsData();
|
||||
void okData();
|
||||
void cancelData();
|
||||
|
||||
@@ -94,6 +98,16 @@ class EditSystem : public RDDialog
|
||||
ListEncoders *edit_encoders_dialog;
|
||||
int y_pos;
|
||||
RDStationListModel *edit_station_list_model;
|
||||
QGroupBox *edit_datetime_group;
|
||||
QLabel *edit_long_date_label;
|
||||
QLineEdit *edit_long_date_edit;
|
||||
QLabel *edit_short_date_label;
|
||||
QLineEdit *edit_short_date_edit;
|
||||
QLabel *edit_time_label;
|
||||
QLineEdit *edit_time_edit;
|
||||
QPushButton *edit_datetime_test_button;
|
||||
QPushButton *edit_datetime_defaults_button;
|
||||
TestDatetimes *edit_test_datetimes_dialog;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user