comparison ui/administratorwindow.cpp @ 1199:bd2cb6bdb1c5

(admin) Fixed translations and added whitespace between pushbutton icon and text.
author Emanuel Schuetze <emanuel@intevation.de>
date Tue, 23 Sep 2014 09:15:44 +0200
parents 0b7bb4f68f5a
children f1f4059ec320
comparison
equal deleted inserted replaced
1198:c072dda0b541 1199:bd2cb6bdb1c5
117 headerLayout->setStretch(0, 0); 117 headerLayout->setStretch(0, 0);
118 headerLayout->setStretch(1, 10); 118 headerLayout->setStretch(1, 10);
119 119
120 // The buttons. 120 // The buttons.
121 bottomLayout->setAlignment(Qt::AlignBottom); 121 bottomLayout->setAlignment(Qt::AlignBottom);
122 saveButton = new QPushButton(QIcon(":/img/document-save.png"), tr("Save list")); 122 saveButton = new QPushButton(QIcon(":/img/document-save.png"), " " + tr("Save list"));
123 connect(saveButton, SIGNAL(clicked()), this, SLOT(saveCertificateFile())); 123 connect(saveButton, SIGNAL(clicked()), this, SLOT(saveCertificateFile()));
124 loadButton = new QPushButton(QIcon(":/img/document-open.png"), tr("Load list")); 124 loadButton = new QPushButton(QIcon(":/img/document-open.png"), " " + tr("Load list"));
125 connect(loadButton, SIGNAL(clicked()), this, SLOT(loadCertificateFile())); 125 connect(loadButton, SIGNAL(clicked()), this, SLOT(loadCertificateFile()));
126 addButton = new QPushButton(QIcon(":/img/document-new.png"), tr("Add certificate")); 126 addButton = new QPushButton(QIcon(":/img/document-new.png"), " " + tr("Add certificate"));
127 connect(addButton, SIGNAL(clicked()), this, SLOT(addCertificates())); 127 connect(addButton, SIGNAL(clicked()), this, SLOT(addCertificates()));
128 removeButton = new QPushButton(QIcon(":/img/document-close.png"), tr("Remove certificate")); 128 removeButton = new QPushButton(QIcon(":/img/document-close.png"), " " + tr("Remove certificate"));
129 removeButton->setEnabled(false); 129 removeButton->setEnabled(false);
130 connect(removeButton, SIGNAL(clicked()), this, SLOT(removeCertificates())); 130 connect(removeButton, SIGNAL(clicked()), this, SLOT(removeCertificates()));
131 bottomLayout->addWidget(saveButton); 131 bottomLayout->addWidget(saveButton);
132 bottomLayout->addWidget(loadButton); 132 bottomLayout->addWidget(loadButton);
133 bottomLayout->addWidget(addButton); 133 bottomLayout->addWidget(addButton);

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