2021-06-21 Fred Gleason <fredg@paravelsystems.com>

* Added 'RDMainWindow' to rdlogmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-06-21 11:08:40 -04:00
parent d0fc2313f0
commit 179a5c4696
3 changed files with 18 additions and 5 deletions

View File

@@ -25,6 +25,7 @@
#include <qpushbutton.h>
#include <rdlog_line.h>
#include <rdmainwindow.h>
#include <rdwidget.h>
#define RDLOGMANAGER_USAGE "[OPTIONS]\n"
@@ -39,14 +40,17 @@ extern int RunReportOperation(int argc,char *argv[],const QString &rptname,
bool protect_existing,int start_offset,
int end_offset);
class MainWidget : public RDWidget
class MainWidget : public RDMainWindow
{
Q_OBJECT
public:
MainWidget(RDConfig *c,QWidget *parent=0);
QSize sizeHint() const;
QSizePolicy sizePolicy() const;
protected:
void closeEvent(QCloseEvent *e);
private slots:
void userData();
void eventsData();