Mercurial > trustbridge
diff ui/certificatelistwidget.h @ 1106:6f7b7d88f048
(issue115) Rework CertificateListWidgets to have a ToolButton instead of a combobox
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 15 Sep 2014 17:43:56 +0200 |
parents | 2b3526ef2d69 |
children | 9bb9932bb819 |
line wrap: on
line diff
--- a/ui/certificatelistwidget.h Mon Sep 15 17:43:02 2014 +0200 +++ b/ui/certificatelistwidget.h Mon Sep 15 17:43:56 2014 +0200 @@ -22,6 +22,7 @@ */ class CertificateItemWidget; +class QToolButton; Q_DECLARE_METATYPE(Certificate); class CertificateListWidget : public QWidget @@ -31,9 +32,7 @@ CertificateListWidget(QWidget *parent, Qt::WindowFlags flags = 0); void addCertificate(const Certificate &certificate, bool state, - bool editable = true, - const QString& installLabel = QString(), - const QString& removeLabel = QString()); + QToolButton *btn); void removeCertificate(const Certificate &cert); void activateCertificate(const Certificate &cert); void deactivateCertificate(const Certificate &cert);