Mercurial > trustbridge
diff ui/certificateitemwidget.h @ 687:973a7ce19658
(issue24) Let the string for install / remove be set for each item individually
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 01 Jul 2014 12:49:19 +0200 |
parents | 9d806f140bd5 |
children | 31c3d2bc9880 |
line wrap: on
line diff
--- a/ui/certificateitemwidget.h Tue Jul 01 12:14:10 2014 +0200 +++ b/ui/certificateitemwidget.h Tue Jul 01 12:49:19 2014 +0200 @@ -26,7 +26,9 @@ QWidget *parent = 0, const Certificate &cert = Certificate(), bool state = false, - bool edtiable = true); + bool editable = true, + const QString& installLabel = tr("install"), + const QString& removeLabel = tr("remove")); bool state(); void setState(bool state); @@ -40,6 +42,8 @@ bool mEditable; QLabel *mLabel; QComboBox *mComboBox; + QString mInstallLabel; + QString mRemoveLabel; private slots: void currentStateChanged(int ndx);