# HG changeset patch # User Raimund Renkert # Date 1397661714 -7200 # Node ID 340b8759d005f9f95d17dd10c28d48eaa4172b20 # Parent 3132ba0a305df9a6d9928fd81a8afe089c2ca5d9 Wording und icons in TrustBridge Administration main window. diff -r 3132ba0a305d -r 340b8759d005 ui/administratorwindow.cpp --- a/ui/administratorwindow.cpp Wed Apr 16 14:19:49 2014 +0000 +++ b/ui/administratorwindow.cpp Wed Apr 16 17:21:54 2014 +0200 @@ -29,6 +29,7 @@ #include "createcertlistdialog.h" AdministratorWindow::AdministratorWindow() { + setWindowTitle(tr("TrustBridge Administration")); QString path = QStandardPaths::locate( QStandardPaths::DataLocation, QString("certlist_last.txt")); certList.readList(path.toLocal8Bit()); @@ -76,7 +77,8 @@ QHBoxLayout *bottomLayout = new QHBoxLayout; // The certificate list - QGroupBox *certBox = new QGroupBox(tr("Managed Certificates")); + QGroupBox *certBox = new QGroupBox( + tr("All managed root certificates of the certificate list:")); certificateView = new QTableView; certificateModel = new CertificateTabelModel(); QSortFilterProxyModel *filterModel = new QSortFilterProxyModel(this); @@ -99,8 +101,9 @@ QLabel *logo = new QLabel; logo->setBackgroundRole(QPalette::Base); logo->setPixmap(QPixmap::fromImage(*logoImage)); - QLabel *title = new QLabel("

" + tr("Administrator Application") + "

"); - QLabel *subTitle = new QLabel("This Software creates a signed file containing certificates"); + QLabel *title = new QLabel("

" + tr("TrustBridge Adminstration") + "

"); + QLabel *subTitle = new QLabel( + tr("Management application of the BSI certificate installer")); headerTextLayout->addWidget(title); headerTextLayout->addWidget(subTitle); headerLayout->addWidget(logo); @@ -110,13 +113,13 @@ // The buttons. bottomLayout->setAlignment(Qt::AlignBottom); - saveButton = new QPushButton(tr("Save")); + saveButton = new QPushButton(QIcon(":/img/document-save.png"), tr("Save list")); connect(saveButton, SIGNAL(clicked()), this, SLOT(saveCertificateFile())); - loadButton = new QPushButton(tr("Load")); + loadButton = new QPushButton(QIcon(":/img/document-open.png"), tr("Load list")); connect(loadButton, SIGNAL(clicked()), this, SLOT(loadCertificateFile())); - addButton = new QPushButton(tr("Add")); + addButton = new QPushButton(QIcon(":/img/document-new.png"), tr("Add certificate")); connect(addButton, SIGNAL(clicked()), this, SLOT(addCertificates())); - removeButton = new QPushButton(tr("Remove")); + removeButton = new QPushButton(QIcon(":/img/document-close.png"), tr("Remove certificate")); removeButton->setEnabled(false); connect(removeButton, SIGNAL(clicked()), this, SLOT(removeCertificates())); bottomLayout->addWidget(saveButton); diff -r 3132ba0a305d -r 340b8759d005 ui/icons.qrc --- a/ui/icons.qrc Wed Apr 16 14:19:49 2014 +0000 +++ b/ui/icons.qrc Wed Apr 16 17:21:54 2014 +0200 @@ -5,5 +5,9 @@ img/logo-small.png img/list-add.png img/list-remove.png + img/document-save.png + img/document-open.png + img/document-new.png + img/document-close.png