2022-10-20 Fred Gleason <fredg@paravelsystems.com>

* Modified the 'List Grids' dialog in rdlogmanager(1) to show
	all services, with a 'Has Grid' column.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-10-20 10:06:21 -04:00
parent 99197563e6
commit efefe066d2
5 changed files with 85 additions and 25 deletions

View File

@@ -52,6 +52,7 @@ class RDServiceListModel : public QAbstractTableModel
QVariant headerData(int section,Qt::Orientation orient,
int role=Qt::DisplayRole) const;
QVariant data(const QModelIndex &index,int role=Qt::DisplayRole) const;
bool hasGrid(const QModelIndex &index) const;
QString serviceName(const QModelIndex &row) const;
QModelIndex addService(const QString &name);
void removeService(const QModelIndex &row);
@@ -75,6 +76,7 @@ class RDServiceListModel : public QAbstractTableModel
QList<QVariant> d_alignments;
QList<QList<QVariant> > d_texts;
QList<QList<QVariant> > d_icons;
QList<bool> d_has_grids;
QMap<QString,QVariant> d_group_color_map;
};