mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
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. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -60,8 +60,7 @@ TestImport::TestImport(RDSvc *svc,RDSvc::ImportSource src,QWidget *parent)
|
||||
//
|
||||
// Date Selector
|
||||
//
|
||||
test_date_edit=new QDateEdit(this);
|
||||
test_date_edit->setDisplayFormat("MM/dd/yyyy");
|
||||
test_date_edit=new RDDateEdit(this);
|
||||
test_date_label=new QLabel(tr("Test Date:"),this);
|
||||
test_date_label->setFont(labelFont());
|
||||
test_date_label->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
#ifndef TEST_IMPORT_H
|
||||
#define TEST_IMPORT_H
|
||||
|
||||
#include <QDateTimeEdit>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
|
||||
#include <rddateedit.h>
|
||||
#include <rddialog.h>
|
||||
#include <rdlogimportmodel.h>
|
||||
#include <rdsvc.h>
|
||||
@@ -54,7 +54,7 @@ class TestImport : public RDDialog
|
||||
RDSvc *test_svc;
|
||||
RDSvc::ImportSource test_src;
|
||||
QLabel *test_date_label;
|
||||
QDateEdit *test_date_edit;
|
||||
RDDateEdit *test_date_edit;
|
||||
QPushButton *test_import_button;
|
||||
QLabel *test_events_label;
|
||||
RDTableView *test_events_view;
|
||||
|
||||
Reference in New Issue
Block a user