Mercurial > trustbridge
changeset 732:d39b5b65366e
(UI) Updated png icons in correct sizes.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Thu, 03 Jul 2014 16:15:02 +0200 |
parents | 0bb54205c55a |
children | d15ccbaa119e |
files | ui/icons.qrc ui/img/application-exit.png ui/img/edit-find.png ui/img/logo.png ui/img/security-high.png ui/img/security-low.png ui/img/security-medium.png ui/img/view-refresh_16px.png ui/mainwindow.cpp |
diffstat | 9 files changed, 10 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/icons.qrc Thu Jul 03 16:13:41 2014 +0200 +++ b/ui/icons.qrc Thu Jul 03 16:15:02 2014 +0200 @@ -10,6 +10,7 @@ <file>img/document-new.png</file> <file>img/document-close.png</file> <file>img/view-refresh.png</file> + <file>img/view-refresh_16px.png</file> <file>img/document-encrypt.png</file> <file>img/dialog-warning.png</file> <file>img/dialog-information.png</file>
--- a/ui/mainwindow.cpp Thu Jul 03 16:13:41 2014 +0200 +++ b/ui/mainwindow.cpp Thu Jul 03 16:15:02 2014 +0200 @@ -469,10 +469,10 @@ TextOverlayButton *updatesButton = new TextOverlayButton; updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); updatesButton->setIcon(QIcon(":/img/view-refresh.png")); - updatesButton->setIconSize(QSize(40, 40)); + updatesButton->setIconSize(QSize(48, 48)); updatesButton->setText(tr("Updates")); updatesButton->setFixedWidth(120); - updatesButton->setFixedHeight(80); + updatesButton->setFixedHeight(90); updatesButton->setCheckable(true); updatesButton->setChecked(true); @@ -482,28 +482,28 @@ QToolButton *allInstallButton = new QToolButton; allInstallButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); allInstallButton->setIcon(QIcon(":/img/document-encrypt.png")); - allInstallButton->setIconSize(QSize(40, 40)); + allInstallButton->setIconSize(QSize(48, 48)); allInstallButton->setText(tr("Trusted\ncertificates")); allInstallButton->setFixedWidth(120); - allInstallButton->setFixedHeight(80); + allInstallButton->setFixedHeight(90); allInstallButton->setCheckable(true); QToolButton *allRemoveButton = new QToolButton; allRemoveButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); allRemoveButton->setIcon(QIcon(":/img/dialog-warning.png")); - allRemoveButton->setIconSize(QSize(40, 40)); + allRemoveButton->setIconSize(QSize(48, 48)); allRemoveButton->setText(tr("Revoked\ncertificates")); allRemoveButton->setFixedWidth(120); - allRemoveButton->setFixedHeight(80); + allRemoveButton->setFixedHeight(90); allRemoveButton->setCheckable(true); QToolButton *infoButton = new QToolButton; infoButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); infoButton->setIcon(QIcon(":/img/dialog-information.png")); - infoButton->setIconSize(QSize(40, 40)); + infoButton->setIconSize(QSize(48, 48)); infoButton->setText(tr("Information\nand help")); infoButton->setFixedWidth(120); - infoButton->setFixedHeight(80); + infoButton->setFixedHeight(90); infoButton->setCheckable(true); mButtonGroup->addButton(updatesButton); @@ -584,7 +584,7 @@ mInstallButton->setIcon(uacShield); } #else - mInstallButton->setIcon(QIcon(":/img/view-refresh.png")); + mInstallButton->setIcon(QIcon(":/img/view-refresh_16px.png")); #endif connect(mQuitButton, SIGNAL(clicked()), this, SLOT(closeApp())); connect(mInstallButton, SIGNAL(clicked()), this, SLOT(checkAndInstallCerts()));