mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 23:51:20 +02: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user