Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
686:a2e94e88d304 | 687:973a7ce19658 |
---|---|
24 public: | 24 public: |
25 CertificateItemWidget( | 25 CertificateItemWidget( |
26 QWidget *parent = 0, | 26 QWidget *parent = 0, |
27 const Certificate &cert = Certificate(), | 27 const Certificate &cert = Certificate(), |
28 bool state = false, | 28 bool state = false, |
29 bool edtiable = true); | 29 bool editable = true, |
30 const QString& installLabel = tr("install"), | |
31 const QString& removeLabel = tr("remove")); | |
30 | 32 |
31 bool state(); | 33 bool state(); |
32 void setState(bool state); | 34 void setState(bool state); |
33 Certificate certificate(); | 35 Certificate certificate(); |
34 | 36 |
38 Certificate mCertificate; | 40 Certificate mCertificate; |
39 bool mState; | 41 bool mState; |
40 bool mEditable; | 42 bool mEditable; |
41 QLabel *mLabel; | 43 QLabel *mLabel; |
42 QComboBox *mComboBox; | 44 QComboBox *mComboBox; |
45 QString mInstallLabel; | |
46 QString mRemoveLabel; | |
43 | 47 |
44 private slots: | 48 private slots: |
45 void currentStateChanged(int ndx); | 49 void currentStateChanged(int ndx); |
46 | 50 |
47 signals: | 51 signals: |