comparison ui/mainwindow.cpp @ 1099:3d4a81eff3fd

(issue111) Rename updates button to pending changes
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 15 Sep 2014 12:48:09 +0200
parents 75a5bfe0525e
children 3d03aaeca6d4
comparison
equal deleted inserted replaced
1098:75a5bfe0525e 1099:3d4a81eff3fd
912 TextOverlayButton *updatesButton = new TextOverlayButton; 912 TextOverlayButton *updatesButton = new TextOverlayButton;
913 updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); 913 updatesButton->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
914 updatesButton->setBackgroundIcon(":/img/red-circle.png"); 914 updatesButton->setBackgroundIcon(":/img/red-circle.png");
915 updatesButton->setIcon(QIcon(":/img/view-refresh.png")); 915 updatesButton->setIcon(QIcon(":/img/view-refresh.png"));
916 updatesButton->setIconSize(QSize(48, 48)); 916 updatesButton->setIconSize(QSize(48, 48));
917 updatesButton->setText(tr("Updates")); 917 updatesButton->setText(tr("Pending\nchanges"));
918 updatesButton->setFixedWidth(120); 918 updatesButton->setFixedWidth(120);
919 updatesButton->setFixedHeight(90); 919 updatesButton->setFixedHeight(90);
920 updatesButton->setCheckable(true); 920 updatesButton->setCheckable(true);
921 updatesButton->setChecked(true); 921 updatesButton->setChecked(true);
922 922

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