Mercurial > trustbridge
changeset 673:e8bc1215904e
(UI) Changed some icons.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Fri, 27 Jun 2014 11:51:53 +0200 (2014-06-27) |
parents | 376978e9cc61 |
children | f1795a232418 |
files | ui/icons.qrc ui/img/application-exit.png ui/img/dialog-warning.png ui/img/edit-find.png ui/img/edit-redo.png ui/img/system-search.png ui/img/system-shutdown.png ui/img/task-attempt.png ui/mainwindow.cpp |
diffstat | 9 files changed, 15 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/icons.qrc Fri Jun 27 11:35:22 2014 +0200 +++ b/ui/icons.qrc Fri Jun 27 11:51:53 2014 +0200 @@ -11,11 +11,10 @@ <file>img/document-close.png</file> <file>img/view-refresh.png</file> <file>img/document-encrypt.png</file> - <file>img/task-attempt.png</file> + <file>img/dialog-warning.png</file> <file>img/dialog-information.png</file> - <file>img/system-search.png</file> - <file>img/system-shutdown.png</file> - <file>img/edit-redo.png</file> + <file>img/application-exit.png</file> + <file>img/edit-find.png</file> <file>img/security-low.png</file> <file>img/security-medium.png</file> <file>img/security-high.png</file>
--- a/ui/mainwindow.cpp Fri Jun 27 11:35:22 2014 +0200 +++ b/ui/mainwindow.cpp Fri Jun 27 11:51:53 2014 +0200 @@ -461,38 +461,38 @@ QToolButton *updatesButton = new QToolButton; updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); updatesButton->setIcon(QIcon(":/img/view-refresh.png")); - updatesButton->setIconSize(QSize(32, 32)); + updatesButton->setIconSize(QSize(40, 40)); updatesButton->setText(tr("Updates")); updatesButton->setFixedWidth(120); - updatesButton->setFixedHeight(75); + updatesButton->setFixedHeight(80); updatesButton->setCheckable(true); updatesButton->setChecked(true); QToolButton *allInstallButton = new QToolButton; allInstallButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); allInstallButton->setIcon(QIcon(":/img/document-encrypt.png")); - allInstallButton->setIconSize(QSize(32, 32)); + allInstallButton->setIconSize(QSize(40, 40)); allInstallButton->setText(tr("Trusted\ncertificates")); allInstallButton->setFixedWidth(120); - allInstallButton->setFixedHeight(75); + allInstallButton->setFixedHeight(80); allInstallButton->setCheckable(true); QToolButton *allRemoveButton = new QToolButton; allRemoveButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); - allRemoveButton->setIcon(QIcon(":/img/task-attempt.png")); - allRemoveButton->setIconSize(QSize(32, 32)); + allRemoveButton->setIcon(QIcon(":/img/dialog-warning.png")); + allRemoveButton->setIconSize(QSize(40, 40)); allRemoveButton->setText(tr("Revoked\ncertificates")); allRemoveButton->setFixedWidth(120); - allRemoveButton->setFixedHeight(75); + allRemoveButton->setFixedHeight(80); allRemoveButton->setCheckable(true); QToolButton *infoButton = new QToolButton; infoButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); infoButton->setIcon(QIcon(":/img/dialog-information.png")); - infoButton->setIconSize(QSize(32, 32)); + infoButton->setIconSize(QSize(40, 40)); infoButton->setText(tr("Information\nand help")); infoButton->setFixedWidth(120); - infoButton->setFixedHeight(75); + infoButton->setFixedHeight(80); infoButton->setCheckable(true); mButtonGroup->addButton(updatesButton); @@ -548,9 +548,9 @@ updatesHeaderTextLayout->addWidget(updatesTip); QPushButton *searchUpdates = new QPushButton(tr("Check for updates")); - searchUpdates->setIcon(QIcon(":/img/system-search.png")); + searchUpdates->setIcon(QIcon(":/img/edit-find.png")); QPushButton *quitButton = new QPushButton(tr("Quit without saving")); - quitButton->setIcon(QIcon(":/img/system-shutdown.png")); + quitButton->setIcon(QIcon(":/img/application-exit.png")); QPushButton *installButton = new QPushButton(tr("Install updates")); #ifdef Q_OS_WIN if (is_admin()) { @@ -558,7 +558,7 @@ installButton->setIcon(uacShield); } #else - installButton->setIcon(QIcon(":/img/edit-redo.png")); + installButton->setIcon(QIcon(":/img/view-refresh.png")); #endif connect(quitButton, SIGNAL(clicked()), this, SLOT(closeApp())); connect(installButton, SIGNAL(clicked()), this, SLOT(checkAndInstallCerts()));