comparison ui/certificateitemwidget.h @ 627:566ee111e331 trustbridge-refactor

Added state to certificate list item and updated certificate list widget.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 23 Jun 2014 12:46:53 +0200
parents 88c9bdc74175
children 9d806f140bd5
comparison
equal deleted inserted replaced
584:ebfe1128ee97 627:566ee111e331
18 18
19 #include "certificate.h" 19 #include "certificate.h"
20 20
21 class CertificateItemWidget : public QWidget 21 class CertificateItemWidget : public QWidget
22 { 22 {
23 23 Q_OBJECT
24 public: 24 public:
25 CertificateItemWidget(QWidget *parent = 0, const Certificate &cert = Certificate()); 25 CertificateItemWidget(QWidget *parent = 0, const Certificate &cert = Certificate());
26
27 bool state();
28 Certificate certificate();
26 29
27 private: 30 private:
28 void setupGUI(); 31 void setupGUI();
29 32
30 Certificate mCertificate; 33 Certificate mCertificate;
31 QLabel *mLabel; 34 QLabel *mLabel;
32 QComboBox *mComboBox; 35 QComboBox *mComboBox;
36
37 private slots:
38 void currentStateChanged(int ndx);
39
40 signals:
41 void stateChanged(bool state, const Certificate &cert);
33 }; 42 };
34 #endif 43 #endif

http://wald.intevation.org/projects/trustbridge/