mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-19 14:43:30 +02:00
2021-08-12 Fred Gleason <fredg@paravelsystems.com>
* Adjusted layout in the 'Edit Log' dialog in rdlogedit(1) to be compatible with short date format. * Adjusted layout in the 'Reports' dialog in rdlogedit(1) to be compatible with short date format. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
b6c4d1be4b
commit
c174374781
@ -22233,3 +22233,8 @@
|
|||||||
to be compatible with short date format.
|
to be compatible with short date format.
|
||||||
* Adjusted layout in the 'Cut Info/Record' dialog in rdlibrary(1)
|
* Adjusted layout in the 'Cut Info/Record' dialog in rdlibrary(1)
|
||||||
to be compatible with short date format.
|
to be compatible with short date format.
|
||||||
|
2021-08-12 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Adjusted layout in the 'Edit Log' dialog in rdlogedit(1)
|
||||||
|
to be compatible with short date format.
|
||||||
|
* Adjusted layout in the 'Reports' dialog in rdlogedit(1)
|
||||||
|
to be compatible with short date format.
|
||||||
|
@ -145,8 +145,7 @@ EditLog::EditLog(QString logname,QString *filter,QString *group,
|
|||||||
edit_purgedate_label=new QLabel(tr("Delete on"),this);
|
edit_purgedate_label=new QLabel(tr("Delete on"),this);
|
||||||
edit_purgedate_label->setFont(labelFont());
|
edit_purgedate_label->setFont(labelFont());
|
||||||
edit_purgedate_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
edit_purgedate_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||||
edit_purgedate_edit=new QDateEdit(this);
|
edit_purgedate_edit=new RDDateEdit(this);
|
||||||
edit_purgedate_edit->setDisplayFormat("MM/dd/yyyy");
|
|
||||||
edit_purgedate_button=new QPushButton(tr("Select"),this);
|
edit_purgedate_button=new QPushButton(tr("Select"),this);
|
||||||
edit_purgedate_button->setFont(buttonFont());
|
edit_purgedate_button->setFont(buttonFont());
|
||||||
connect(edit_purgedate_box,SIGNAL(toggled(bool)),
|
connect(edit_purgedate_box,SIGNAL(toggled(bool)),
|
||||||
@ -189,8 +188,7 @@ EditLog::EditLog(QString logname,QString *filter,QString *group,
|
|||||||
//
|
//
|
||||||
// Start Date
|
// Start Date
|
||||||
//
|
//
|
||||||
edit_startdate_edit=new QDateEdit(this);
|
edit_startdate_edit=new RDDateEdit(this);
|
||||||
edit_startdate_edit->setDisplayFormat("MM/dd/yyyy");
|
|
||||||
edit_startdate_label=new QLabel(tr("Start Date:"),this);
|
edit_startdate_label=new QLabel(tr("Start Date:"),this);
|
||||||
edit_startdate_label->setFont(labelFont());
|
edit_startdate_label->setFont(labelFont());
|
||||||
edit_startdate_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
edit_startdate_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||||
@ -201,8 +199,7 @@ EditLog::EditLog(QString logname,QString *filter,QString *group,
|
|||||||
//
|
//
|
||||||
// End Date
|
// End Date
|
||||||
//
|
//
|
||||||
edit_enddate_edit=new QDateEdit(this);
|
edit_enddate_edit=new RDDateEdit(this);
|
||||||
edit_enddate_edit->setDisplayFormat("MM/dd/yyyy");
|
|
||||||
edit_enddate_label=new QLabel(tr("End Date:"),this);
|
edit_enddate_label=new QLabel(tr("End Date:"),this);
|
||||||
edit_enddate_label->setFont(labelFont());
|
edit_enddate_label->setFont(labelFont());
|
||||||
edit_enddate_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
edit_enddate_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
|
||||||
|
@ -21,15 +21,16 @@
|
|||||||
#ifndef EDIT_LOG_H
|
#ifndef EDIT_LOG_H
|
||||||
#define EDIT_LOG_H
|
#define EDIT_LOG_H
|
||||||
|
|
||||||
#include <qgroupbox.h>
|
#include <QGroupBox>
|
||||||
|
|
||||||
#include <rdcart_dialog.h>
|
|
||||||
#include <rddialog.h>
|
|
||||||
#include <rdloglock.h>
|
|
||||||
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
|
||||||
|
|
||||||
|
#include <rdcart_dialog.h>
|
||||||
|
#include <rddateedit.h>
|
||||||
|
#include <rddialog.h>
|
||||||
|
#include <rdloglock.h>
|
||||||
|
|
||||||
#include "list_reports.h"
|
#include "list_reports.h"
|
||||||
#include "logmodel.h"
|
#include "logmodel.h"
|
||||||
#include "logtableview.h"
|
#include "logtableview.h"
|
||||||
@ -116,8 +117,8 @@ class EditLog : public RDDialog
|
|||||||
QLabel *edit_autorefresh_label;
|
QLabel *edit_autorefresh_label;
|
||||||
QComboBox *edit_autorefresh_box;
|
QComboBox *edit_autorefresh_box;
|
||||||
QLineEdit *edit_autorefresh_edit;
|
QLineEdit *edit_autorefresh_edit;
|
||||||
QDateEdit *edit_startdate_edit;
|
RDDateEdit *edit_startdate_edit;
|
||||||
QDateEdit *edit_enddate_edit;
|
RDDateEdit *edit_enddate_edit;
|
||||||
QLabel *edit_startdate_label;
|
QLabel *edit_startdate_label;
|
||||||
QLabel *edit_startdate_box_label;
|
QLabel *edit_startdate_box_label;
|
||||||
QLabel *edit_enddate_box_label;
|
QLabel *edit_enddate_box_label;
|
||||||
@ -163,7 +164,7 @@ class EditLog : public RDDialog
|
|||||||
QLineEdit *edit_endtime_edit;
|
QLineEdit *edit_endtime_edit;
|
||||||
QCheckBox *edit_purgedate_box;
|
QCheckBox *edit_purgedate_box;
|
||||||
QLabel *edit_purgedate_label;
|
QLabel *edit_purgedate_label;
|
||||||
QDateEdit *edit_purgedate_edit;
|
RDDateEdit *edit_purgedate_edit;
|
||||||
QPushButton *edit_purgedate_button;
|
QPushButton *edit_purgedate_button;
|
||||||
RDLogLock *edit_log_lock;
|
RDLogLock *edit_log_lock;
|
||||||
QPushButton *edit_renderas_button;
|
QPushButton *edit_renderas_button;
|
||||||
|
@ -66,8 +66,7 @@ ListReports::ListReports(const QString &logname,const QString &description,
|
|||||||
//
|
//
|
||||||
// Effective Date
|
// Effective Date
|
||||||
//
|
//
|
||||||
list_date_edit=new QDateEdit(this);
|
list_date_edit=new RDDateEdit(this);
|
||||||
list_date_edit->setDisplayFormat("MM/dd/yyyy");
|
|
||||||
list_date_edit->setGeometry(110,34,100,19);
|
list_date_edit->setGeometry(110,34,100,19);
|
||||||
QLabel *list_date_label=new QLabel(tr("Effective Date:"),this);
|
QLabel *list_date_label=new QLabel(tr("Effective Date:"),this);
|
||||||
list_date_label->setGeometry(10,34,95,19);
|
list_date_label->setGeometry(10,34,95,19);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// List and Generate Log Reports
|
// List and Generate Log Reports
|
||||||
//
|
//
|
||||||
// (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
|
// 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
|
// it under the terms of the GNU General Public License version 2 as
|
||||||
@ -21,13 +21,12 @@
|
|||||||
#ifndef LIST_REPORTS_H
|
#ifndef LIST_REPORTS_H
|
||||||
#define LIST_REPORTS_H
|
#define LIST_REPORTS_H
|
||||||
|
|
||||||
#include <qdatetimeedit.h>
|
#include <QComboBox>
|
||||||
|
|
||||||
#include <qcombobox.h>
|
|
||||||
|
|
||||||
#include <rddialog.h>
|
#include <rddialog.h>
|
||||||
#include <rdlog.h>
|
#include <rdlog.h>
|
||||||
#include <rdlogmodel.h>
|
#include <rdlogmodel.h>
|
||||||
|
#include <rddateedit.h>
|
||||||
|
|
||||||
class ListReports : public RDDialog
|
class ListReports : public RDDialog
|
||||||
{
|
{
|
||||||
@ -57,7 +56,7 @@ class ListReports : public RDDialog
|
|||||||
QDate list_end_date;
|
QDate list_end_date;
|
||||||
bool list_auto_refresh;
|
bool list_auto_refresh;
|
||||||
RDLogModel *list_model;
|
RDLogModel *list_model;
|
||||||
QDateEdit *list_date_edit;
|
RDDateEdit *list_date_edit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user