2019-10-04 Fred Gleason <fredg@paravelsystems.com>

* Refactored rdlogmanager(1) to use the 'RDDialog' and 'RDWidget'
	base classes.
This commit is contained in:
Fred Gleason
2019-10-04 19:49:15 -04:00
parent 36b8e0020e
commit 6f0fb28c27
50 changed files with 936 additions and 1202 deletions

View File

@@ -2,7 +2,7 @@
//
// Edit A Rivendell Log Grid
//
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2019 Fred Gleason <fredg@paravelsystems.com>
//
// 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
@@ -21,16 +21,13 @@
#ifndef EDIT_GRID_H
#define EDIT_GRID_H
#include <qdialog.h>
#include <qsqldatabase.h>
#include <qlabel.h>
#include <qgroupbox.h>
#include <q3popupmenu.h>
#include <rdclock.h>
#include <rdlistview.h>
#include <rddialog.h>
#include <rdpushbutton.h>
class EditGrid : public QDialog
class EditGrid : public RDDialog
{
Q_OBJECT
public:
@@ -57,10 +54,11 @@ class EditGrid : public QDialog
QString GetClock(int dayofweek,int hour);
QString edit_servicename;
QString current_clockname;
QGroupBox *edit_day_boxes[7];
RDPushButton *edit_hour_button[7][24];
Q3PopupMenu *edit_right_menu;
int edit_rightclick_id;
};
#endif
#endif // EDIT_GRID_H