mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-08-11 Fred Gleason <fredg@paravelsystems.com>
* Adjusted layout in the 'Edit Report dialog in rdadmin(1) to be compatible with 12 hour time format. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22215,3 +22215,6 @@
|
||||
* Fixed a regression in rdlogmanager(1) that made it impossible
|
||||
to specify event start positions to greater than 1 second
|
||||
resolution.
|
||||
2021-08-11 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Adjusted layout in the 'Edit Report dialog in rdadmin(1)
|
||||
to be compatible with 12 hour time format.
|
||||
|
||||
@@ -259,21 +259,19 @@ EditReport::EditReport(QString rptname,QWidget *parent)
|
||||
edit_daypart_label=
|
||||
new QLabel(tr("Filter by Daypart"),this);
|
||||
edit_daypart_label->
|
||||
setGeometry(edit_daypart_check->geometry().x()+20,273,155,19);
|
||||
setGeometry(edit_daypart_check->geometry().x()+20,270,155,19);
|
||||
edit_daypart_label->setFont(labelFont());
|
||||
edit_daypart_label->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);
|
||||
|
||||
edit_starttime_edit=new QTimeEdit(this);
|
||||
edit_starttime_edit->setDisplayFormat("hh:mm:ss");
|
||||
edit_starttime_edit->setGeometry(150,294,80,20);
|
||||
edit_starttime_edit=new RDTimeEdit(this);
|
||||
edit_starttime_edit->setGeometry(110,294,120,20);
|
||||
edit_starttime_label=new QLabel(tr("Start Time:"),this);
|
||||
edit_starttime_label->setGeometry(65,294,80,20);
|
||||
edit_starttime_label->setGeometry(25,294,80,20);
|
||||
edit_starttime_label->setFont(labelFont());
|
||||
edit_starttime_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||
|
||||
edit_endtime_edit=new QTimeEdit(this);
|
||||
edit_endtime_edit->setDisplayFormat("hh:mm:ss");
|
||||
edit_endtime_edit->setGeometry(335,294,80,20);
|
||||
edit_endtime_edit=new RDTimeEdit(this);
|
||||
edit_endtime_edit->setGeometry(335,294,120,20);
|
||||
edit_endtime_label=new QLabel(tr("End Time:"),this);
|
||||
edit_endtime_label->setGeometry(250,294,80,20);
|
||||
edit_endtime_label->setFont(labelFont());
|
||||
|
||||
@@ -23,15 +23,14 @@
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QDateTimeEdit>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QSpinBox>
|
||||
|
||||
#include <rddialog.h>
|
||||
#include <rdlistselector.h>
|
||||
|
||||
#include <rdreport.h>
|
||||
#include <rdtimeedit.h>
|
||||
|
||||
class EditReport : public RDDialog
|
||||
{
|
||||
@@ -77,9 +76,9 @@ class EditReport : public RDDialog
|
||||
QCheckBox *edit_daypart_check;
|
||||
QLabel *edit_daypart_label;
|
||||
QLabel *edit_starttime_label;
|
||||
QTimeEdit *edit_starttime_edit;
|
||||
RDTimeEdit *edit_starttime_edit;
|
||||
QLabel *edit_endtime_label;
|
||||
QTimeEdit *edit_endtime_edit;
|
||||
RDTimeEdit *edit_endtime_edit;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user