mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 23:51:20 +02:00
2022-05-04 Fred Gleason <fredg@paravelsystems.com>
* Added an 'show_unchanged' argument to the constructor of the 'RDGroupListModel' model. * Modified the 'Edit Cart' dialog in rdlibrary(1) so as to default the 'Group:' and 'Usage:' controls to '[unchanged]' when opened in multi-edit mode. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -33,7 +33,8 @@ class RDGroupListModel : public QAbstractTableModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
RDGroupListModel(bool show_all,bool user_is_admin,QObject *parent=0);
|
||||
RDGroupListModel(bool show_all,bool show_unchanged,bool user_is_admin,
|
||||
QObject *parent);
|
||||
~RDGroupListModel();
|
||||
QPalette palette();
|
||||
void setPalette(const QPalette &pal);
|
||||
@@ -75,6 +76,7 @@ class RDGroupListModel : public QAbstractTableModel
|
||||
QList<QVariant> d_icons;
|
||||
QList<QVariant> d_colors;
|
||||
bool d_show_all;
|
||||
bool d_show_unchanged;
|
||||
bool d_user_is_admin;
|
||||
QStringList d_visible_groups;
|
||||
QStringList d_column_fields;
|
||||
|
Reference in New Issue
Block a user