diff ui/administratorwindow.cpp @ 426:d7cda835abd6

Some wording and Layout in TrustBridge Administration.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 17 Apr 2014 12:06:57 +0200
parents b19290d6b148
children d08e39b913ee
line wrap: on
line diff
--- a/ui/administratorwindow.cpp	Thu Apr 17 08:55:16 2014 +0000
+++ b/ui/administratorwindow.cpp	Thu Apr 17 12:06:57 2014 +0200
@@ -73,7 +73,7 @@
 
     // The certificate list
     QGroupBox *certBox = new QGroupBox(
-        tr("All managed root certificates of the certificate list:"));
+        tr("All managed root certificates of the certificate list: "));
     certificateView = new QTableView;
     certificateModel = new CertificateTabelModel();
     QSortFilterProxyModel *filterModel = new QSortFilterProxyModel(this);
@@ -81,6 +81,7 @@
     CertificateTableDelegate *delegate = new CertificateTableDelegate(certificateView);
     certificateView->setModel(filterModel);
     certificateView->setItemDelegate(delegate);
+    certificateView->horizontalHeader()->setStretchLastSection(true);
     certificateView->resizeColumnsToContents();
     certificateView->setColumnWidth(0, 60);
     certificateView->setSelectionBehavior(QAbstractItemView::SelectRows);
@@ -139,7 +140,7 @@
     QString path = QStandardPaths::locate(
         QStandardPaths::DataLocation, QString("certlist_last.txt"));
     QString certFile = QFileDialog::getOpenFileName(
-        this, tr("Select certificate file"), path, "*.txt");
+        this, tr("Select certificate list file"), path, "*.txt");
     qDebug() << "selected: " + certFile;
     certList.readList(certFile.toLocal8Bit().constData());
     if (!certList.isValid()) {

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