comparison ui/mainwindow.cpp @ 1202:407f2c1286ae

(issue121) better Icon for the pending changes.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 23 Sep 2014 13:05:03 +0200
parents 9bdce8d6fd43
children 3815a0d2017b
comparison
equal deleted inserted replaced
1201:9bdce8d6fd43 1202:407f2c1286ae
999 mButtonGroup = new QButtonGroup; 999 mButtonGroup = new QButtonGroup;
1000 1000
1001 TextOverlayButton *updatesButton = new TextOverlayButton; 1001 TextOverlayButton *updatesButton = new TextOverlayButton;
1002 updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); 1002 updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
1003 updatesButton->setBackgroundIcon(":/img/red-circle.png"); 1003 updatesButton->setBackgroundIcon(":/img/red-circle.png");
1004 updatesButton->setIcon(QIcon(":/img/view-refresh.png")); 1004 updatesButton->setIcon(QIcon(":/img/pending-changes-overview-48.png"));
1005 updatesButton->setIconSize(QSize(48, 48)); 1005 updatesButton->setIconSize(QSize(48, 48));
1006 updatesButton->setText(tr("Pending\nchanges")); 1006 updatesButton->setText(tr("Pending\nchanges"));
1007 updatesButton->setFixedWidth(120); 1007 updatesButton->setFixedWidth(120);
1008 updatesButton->setFixedHeight(90); 1008 updatesButton->setFixedHeight(90);
1009 updatesButton->setCheckable(true); 1009 updatesButton->setCheckable(true);

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