mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2019-10-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDDialog' class. * Added an 'RDWidget' class. * Refactored rdadmin(1) to use 'RDDialog' and 'RDWidget' base classes.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// Edit scheduler codes dialog
|
||||
//
|
||||
// Stefan Gabriel <stg@st-gabriel.de>
|
||||
// (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
|
||||
@@ -22,18 +22,15 @@
|
||||
#ifndef EDIT_SCHEDCODES_H
|
||||
#define EDIT_SCHEDCODES_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <q3listbox.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
class EditSchedCode : public QDialog
|
||||
#include <rddialog.h>
|
||||
|
||||
class EditSchedCode : public RDDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
EditSchedCode(QString schedCode,QString description,QWidget *parent=0);
|
||||
EditSchedCode(QString schedcode,QString description,QWidget *parent=0);
|
||||
~EditSchedCode();
|
||||
QSize sizeHint() const;
|
||||
QSizePolicy sizePolicy() const;
|
||||
@@ -43,11 +40,11 @@ class EditSchedCode : public QDialog
|
||||
void cancelData();
|
||||
|
||||
private:
|
||||
QString *schedCode_code;
|
||||
QString *schedCode_description;
|
||||
QLineEdit *schedCode_name_edit;
|
||||
QLineEdit *schedCode_description_edit;
|
||||
};
|
||||
QString *schedcode_code;
|
||||
QString *schedcode_description;
|
||||
QLineEdit *schedcode_name_edit;
|
||||
QLineEdit *schedcode_description_edit;
|
||||
};
|
||||
|
||||
|
||||
#endif // EDIT_SCHEDCODES_H
|
||||
|
||||
Reference in New Issue
Block a user