2021-01-22 Fred Gleason <fredg@paravelsystems.com>

* Modified the 'Edit Deck' dialog in rdadmin(1) to use
	'RDStationListModel'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-01-22 15:18:24 -05:00
parent d5c465d78f
commit 957e0516b9
14 changed files with 47 additions and 66 deletions

View File

@@ -41,7 +41,8 @@ class RDStationListModel : public QAbstractTableModel
{
Q_OBJECT
public:
RDStationListModel(const QString &localhost_name,QObject *parent=0);
RDStationListModel(bool incl_none,const QString &localhost_name,
QObject *parent=0);
~RDStationListModel();
QPalette palette();
void setPalette(const QPalette &pal);
@@ -69,6 +70,7 @@ class RDStationListModel : public QAbstractTableModel
QFont d_font;
QFont d_bold_font;
QString d_localhost_name;
bool d_include_none;
QList<QVariant> d_headers;
QList<QVariant> d_alignments;
QStringList d_hostnames;