[PATCH 2 of 3] (UI) Updated png icons in correct sizes

Wald Commits scm-commit at wald.intevation.org
Thu Jul 3 16:20:42 CEST 2014


# HG changeset patch
# User Emanuel Schuetze <emanuel at intevation.de>
# Date 1404396902 -7200
# Node ID d39b5b65366ec8280da58f46b1e9dab266b93294
# Parent  0bb54205c55a704eae958a00399cec4f13192a80
(UI) Updated png icons in correct sizes.

diff -r 0bb54205c55a -r d39b5b65366e ui/icons.qrc
--- 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>
diff -r 0bb54205c55a -r d39b5b65366e ui/img/application-exit.png
Binary file ui/img/application-exit.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/img/edit-find.png
Binary file ui/img/edit-find.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/img/logo.png
Binary file ui/img/logo.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/img/security-high.png
Binary file ui/img/security-high.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/img/security-low.png
Binary file ui/img/security-low.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/img/security-medium.png
Binary file ui/img/security-medium.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/img/view-refresh_16px.png
Binary file ui/img/view-refresh_16px.png has changed
diff -r 0bb54205c55a -r d39b5b65366e ui/mainwindow.cpp
--- 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()));


More information about the Trustbridge-commits mailing list