mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-11 23:25:57 +01:00
2019-12-10 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDTextViewer()' function. * Added the ability to view a report at time of generation in rdlogmanager(1).
This commit is contained in:
@@ -46,6 +46,11 @@ PickReportDates::PickReportDates(const QString &svcname,QWidget *parent)
|
||||
setMaximumSize(sizeHint());
|
||||
setMinimumSize(sizeHint());
|
||||
|
||||
//
|
||||
// Dialogs
|
||||
//
|
||||
edit_viewreport_dialog=new ViewReportDialog(this);
|
||||
|
||||
//
|
||||
// Report List
|
||||
//
|
||||
@@ -121,6 +126,7 @@ PickReportDates::PickReportDates(const QString &svcname,QWidget *parent)
|
||||
|
||||
PickReportDates::~PickReportDates()
|
||||
{
|
||||
delete edit_viewreport_dialog;
|
||||
}
|
||||
|
||||
|
||||
@@ -205,9 +211,7 @@ void PickReportDates::generateData()
|
||||
edit_enddate_edit->date(),rda->station(),&out_path);
|
||||
switch(report->errorCode()) {
|
||||
case RDReport::ErrorOk:
|
||||
QMessageBox::information(this,"RDLogManager - "+tr("Report Complete"),
|
||||
tr("Report generated in")+" \""+out_path+
|
||||
"\".");
|
||||
edit_viewreport_dialog->exec(out_path);
|
||||
break;
|
||||
|
||||
case RDReport::ErrorCantOpen:
|
||||
|
||||
Reference in New Issue
Block a user