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

* Added an 'RDDateEdit' widget.
	* Adjusted layout in the 'Test Import' dialog in rdadmin(1)
	to be compatible with short date format.
	* Adjusted layout in the 'Cut Info/Record' dialog in rdlibrary(1)
	to be compatible with short date format.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-11 18:27:54 -04:00
parent 7adc95d383
commit b6c4d1be4b
7 changed files with 175 additions and 108 deletions

View File

@@ -33,6 +33,10 @@ class RDTimeEdit : public QTimeEdit
void setShowHours(bool state);
bool showTenths() const;
void setShowTenths(bool state);
bool isReadOnly() const;
public slots:
void setReadOnly(bool state);
protected:
QValidator::State validate(QString &input,int &pos) const;
@@ -46,6 +50,7 @@ class RDTimeEdit : public QTimeEdit
bool d_show_tenths;
int d_width_variance;
QAbstractSpinBox::StepEnabled d_step_enabled;
bool d_read_only;
};