diff ui/mainwindow.cpp @ 932:57371f2e8dae

(issue72) Set background image as pixmap in textoverlayicon
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 22 Aug 2014 16:20:25 +0200
parents ca997bc0f790
children 7c89c5dc2200
line wrap: on
line diff
--- a/ui/mainwindow.cpp	Fri Aug 22 16:19:46 2014 +0200
+++ b/ui/mainwindow.cpp	Fri Aug 22 16:20:25 2014 +0200
@@ -823,6 +823,7 @@
 
     TextOverlayButton *updatesButton = new TextOverlayButton;
     updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
+    updatesButton->setBackgroundIcon(":/img/red-circle.png");
     updatesButton->setIcon(QIcon(":/img/view-refresh.png"));
     updatesButton->setIconSize(QSize(48, 48));
     updatesButton->setText(tr("Updates"));

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