mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 08:40:12 +01:00
2022-05-20 Fred Gleason <fredg@paravelsystems.com>
* Added icons to the 'Service' dropdowns in rdlogedit(1), rdairplay(1) and rdlogmanager(1). * Added icons to the host picker in the 'Service' dialog in rdadmin(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -43,6 +43,7 @@ EditPerms::EditPerms(QString object_name,ObjectType type,QWidget *parent)
|
||||
// Services Selector
|
||||
//
|
||||
svc_object_sel=new RDListSelector(this);
|
||||
svc_object_sel->setItemIcon(rda->iconEngine()->serviceIcon());
|
||||
svc_object_sel->setGeometry(10,10,380,130);
|
||||
svc_object_sel->sourceSetLabel(tr("Available Services"));
|
||||
svc_object_sel->destSetLabel(tr("Enabled Services"));
|
||||
|
||||
@@ -63,7 +63,7 @@ GenerateLog::GenerateLog(QWidget *parent,int cmd_switch,QString *cmd_service,
|
||||
//
|
||||
// Service Name
|
||||
//
|
||||
gen_service_box=new RDComboBox(this);
|
||||
gen_service_box=new QComboBox(this);
|
||||
connect(gen_service_box,SIGNAL(activated(int)),
|
||||
this,SLOT(serviceActivatedData(int)));
|
||||
gen_service_label=new QLabel(tr("Service:"),this);
|
||||
@@ -79,7 +79,8 @@ GenerateLog::GenerateLog(QWidget *parent,int cmd_switch,QString *cmd_service,
|
||||
for ( QStringList::Iterator it = services_list.begin();
|
||||
it != services_list.end();
|
||||
++it ) {
|
||||
gen_service_box->insertItem(*it);
|
||||
gen_service_box->
|
||||
insertItem(gen_service_box->count(),rda->iconEngine()->serviceIcon(),*it);
|
||||
if (cmdswitch != 0 && *cmdservice == *it)
|
||||
cmdservicefit=true;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class GenerateLog : public RDDialog
|
||||
void UpdateControls();
|
||||
void SendNotification(RDNotification::Action action,const QString &logname);
|
||||
QLabel *gen_service_label;
|
||||
RDComboBox *gen_service_box;
|
||||
QComboBox *gen_service_box;
|
||||
QLabel *gen_date_label;
|
||||
RDDateEdit *gen_date_edit;
|
||||
QPushButton *gen_select_button;
|
||||
|
||||
Reference in New Issue
Block a user