Mercurial > trustbridge
comparison ui/certificatelistwidget.cpp @ 842:bd33c6585cd0
UI improvements (issue18, 60)
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Wed, 30 Jul 2014 09:58:20 +0200 |
parents | 9bfaced5cf59 |
children | 2b3526ef2d69 |
comparison
equal
deleted
inserted
replaced
841:216a65d7fc4b | 842:bd33c6585cd0 |
---|---|
15 #include "certificateitemwidget.h" | 15 #include "certificateitemwidget.h" |
16 | 16 |
17 CertificateListWidget::CertificateListWidget(QWidget *parent, Qt::WindowFlags flags) : | 17 CertificateListWidget::CertificateListWidget(QWidget *parent, Qt::WindowFlags flags) : |
18 QWidget(parent, flags) | 18 QWidget(parent, flags) |
19 { | 19 { |
20 setLayout(&mLayout); | 20 QVBoxLayout *outerLayout = new QVBoxLayout(this); |
21 outerLayout->addLayout(&mLayout); | |
22 outerLayout->addStretch(); | |
21 } | 23 } |
22 | 24 |
23 void CertificateListWidget::addCertificate( | 25 void CertificateListWidget::addCertificate( |
24 const Certificate &certificate, | 26 const Certificate &certificate, |
25 bool state, | 27 bool state, |