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

* Adjusted layout in the 'Log Render Options' dialog in
	rdcastmanager(1) to be compatible with 12 hour time format.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-11 15:24:00 -04:00
parent 1b7a0d7d4a
commit 2a9153f08b
3 changed files with 9 additions and 7 deletions

View File

@@ -22218,3 +22218,6 @@
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.
2021-08-11 Fred Gleason <fredg@paravelsystems.com>
* Adjusted layout in the 'Log Render Options' dialog in
rdcastmanager(1) to be compatible with 12 hour time format.

View File

@@ -52,8 +52,7 @@ RenderDialog::RenderDialog(QWidget *parent)
d_start_time_label=new QLabel(tr("Virtual Start Time")+":",this);
d_start_time_label->setFont(labelFont());
d_start_time_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
d_start_time_edit=new QTimeEdit(this);
d_start_time_edit->setDisplayFormat("hh:mm:ss");
d_start_time_edit=new RDTimeEdit(this);
d_start_time_edit->setDisabled(true);
//
@@ -185,7 +184,7 @@ void RenderDialog::resizeEvent(QResizeEvent *e)
{
d_start_time_label->setGeometry(10,2,135,20);
d_start_time_box->setGeometry(150,2,160,20);
d_start_time_edit->setGeometry(315,2,80,20);
d_start_time_edit->setGeometry(315,2,120,20);
d_ignorestop_label->setGeometry(10,24,135,20);
d_ignorestop_box->setGeometry(150,24,160,20);

View File

@@ -2,7 +2,7 @@
//
// Log Rendering Dialog for rdcastmanager(1)
//
// (C) Copyright 2020 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2020-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
@@ -21,12 +21,12 @@
#ifndef RENDER_DIALOG_H
#define RENDER_DIALOG_H
#include <qdatetimeedit.h>
#include <qprogressdialog.h>
#include <QProgressDialog>
#include <rdcut_dialog.h>
#include <rddialog.h>
#include <rdlogmodel.h>
#include <rdtimeedit.h>
#include "logdialog.h"
@@ -62,7 +62,7 @@ class RenderDialog : public RDDialog
void UpdateLogEventsSelection();
QLabel *d_start_time_label;
QComboBox *d_start_time_box;
QTimeEdit *d_start_time_edit;
RDTimeEdit *d_start_time_edit;
QLabel *d_ignorestop_label;
QComboBox *d_ignorestop_box;
QLabel *d_select_label_label;