Mercurial > trustbridge > trustbridge
comparison ui/certificateitemwidget.cpp @ 1298:9017c524e762
(issue123) Use document preview icon
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 16:26:01 +0200 |
parents | c2fd36cd4093 |
children |
comparison
equal
deleted
inserted
replaced
1297:c2fd36cd4093 | 1298:9017c524e762 |
---|---|
69 (mCertificate.subjectCN())); | 69 (mCertificate.subjectCN())); |
70 | 70 |
71 QHBoxLayout *firstLabelButtonLayout = new QHBoxLayout; | 71 QHBoxLayout *firstLabelButtonLayout = new QHBoxLayout; |
72 firstLabelButtonLayout->addWidget(firstLabel); | 72 firstLabelButtonLayout->addWidget(firstLabel); |
73 QPushButton *detailsBtn = new QPushButton; | 73 QPushButton *detailsBtn = new QPushButton; |
74 detailsBtn->setIcon(QIcon(":/img/preferences-network_16.png")); // TODO | 74 detailsBtn->setIcon(QIcon(":/img/document-preview.png")); |
75 detailsBtn->setToolTip(tr("Open the Windows certificate information dialog.")); | 75 detailsBtn->setToolTip(tr("Open the Windows certificate information dialog.")); |
76 | 76 |
77 firstLabelButtonLayout->addWidget(detailsBtn); | 77 firstLabelButtonLayout->addWidget(detailsBtn); |
78 firstLabelButtonLayout->addStretch(-1); | 78 firstLabelButtonLayout->addStretch(-1); |
79 connect(detailsBtn, SIGNAL(clicked()), this, SLOT(showCertDlg())); | 79 connect(detailsBtn, SIGNAL(clicked()), this, SLOT(showCertDlg())); |