2020-08-04 Fred Gleason <fredg@paravelsystems.com>

* Added a 'Log Render Options' dialog to rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-08-04 16:07:45 -04:00
parent f76642d44e
commit 7d62e200ba
31 changed files with 2150 additions and 33 deletions

View File

@@ -1184,7 +1184,9 @@ unsigned RDFeed::postFile(const QString &srcfile,Error *err)
}
unsigned RDFeed::postLog(const QString &logname,RDFeed::Error *err)
unsigned RDFeed::postLog(const QString &logname,const QTime &start_time,
bool stop_at_stop,int start_line,int end_line,
RDFeed::Error *err)
{
QString sql;
RDSqlQuery *q=NULL;
@@ -1230,8 +1232,10 @@ unsigned RDFeed::postLog(const QString &logname,RDFeed::Error *err)
connect(renderer,SIGNAL(lineStarted(int,int)),
this,SLOT(renderLineStartedData(int,int)));
if(!renderer->renderToFile(tmpfile,log,settings,QTime(),true,&err_msg,
0,log->size())) {
printf("first: %d last: %d\n",start_line,end_line);
if(!renderer->renderToFile(tmpfile,log,settings,start_time,stop_at_stop,
&err_msg,start_line,end_line)) {
*err=RDFeed::ErrorRenderError;
delete renderer;
delete settings;