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:
Fred Gleason
2019-10-01 11:17:23 -04:00
parent bfee1c8440
commit f18dacf408
170 changed files with 2949 additions and 3121 deletions

View File

@@ -2,7 +2,7 @@
//
// List Rivendell Workstations
//
// (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,13 +21,14 @@
#ifndef LIST_STATIONS_H
#define LIST_STATIONS_H
#include <qdialog.h>
#include <q3listbox.h>
#include <q3textedit.h>
#include <qpixmap.h>
#include <qradiobutton.h>
class ListStations : public QDialog
#include <qlabel.h>
#include <qpushbutton.h>
#include <rddialog.h>
class ListStations : public RDDialog
{
Q_OBJECT
public:
@@ -42,13 +43,19 @@ class ListStations : public QDialog
void deleteData();
void doubleClickedData(Q3ListBoxItem *item);
void closeData();
protected:
void resizeEvent(QResizeEvent *e);
private:
void RefreshList(QString stationname="");
QLabel *list_title_label;
Q3ListBox *list_box;
QPushButton *list_add_button;
QPushButton *list_edit_button;
QPushButton *list_delete_button;
QPushButton *list_close_button;
};
#endif
#endif // LIST_STATIONS_H