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