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 Endpoints
//
// (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,15 +21,16 @@
#ifndef LIST_ENDPOINTS_H
#define LIST_ENDPOINTS_H
#include <qdialog.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <q3listview.h>
#include <rduser.h>
#include <rdmatrix.h>
#include <qlabel.h>
#include <qpushbutton.h>
class ListEndpoints : public QDialog
#include <rddialog.h>
#include <rdmatrix.h>
#include <rduser.h>
class ListEndpoints : public RDDialog
{
Q_OBJECT
public:
@@ -43,10 +44,17 @@ class ListEndpoints : public QDialog
void okData();
void cancelData();
protected:
void resizeEvent(QResizeEvent *e);
private:
RDMatrix *list_matrix;
RDMatrix::Endpoint list_endpoint;
Q3ListView *list_list_view;
QLabel *list_type_label;
QPushButton *list_edit_button;
QPushButton *list_ok_button;
QPushButton *list_cancel_button;
int list_size;
QString list_table;
bool list_readonly;