diff ui/mainwindow.cpp @ 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 b0929968562a
children 5f0fca113ff4
line wrap: on
line diff
--- 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()));

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