186
190
QString major = QString::fromAscii(App::Application::Config()["BuildVersionMajor"].c_str());
187
191
QString minor = QString::fromAscii(App::Application::Config()["BuildVersionMinor"].c_str());
188
192
QString build = QString::fromAscii(App::Application::Config()["BuildRevision"].c_str());
189
QString disda = QString::fromAscii(App::Application::Config()["BuildCurrentDate"].c_str());
193
QString disda = QString::fromAscii(App::Application::Config()["BuildRevisionDate"].c_str());
190
194
QString mturl = QString::fromAscii(App::Application::Config()["MaintainerUrl"].c_str());
192
196
QString author = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
195
199
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
196
200
"<span style=\" font-size:8pt; font-weight:600; text-decoration: underline; color:#0000ff;\">"
197
201
"%1 %2</span></p></body></html>").arg(exeName).arg(banner);
198
QString version = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
199
"<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
200
"font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
201
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
202
"<span style=\" font-size:8pt; font-weight:600;\">%1.%2</span></p></body></html>").arg(major).arg(minor);
203
QString revision = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
204
"<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
205
"font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
206
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
207
"<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(build);
208
QString date = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
209
"<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
210
"font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
211
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
212
"<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(disda);
213
ui.labelAuthor->setText(author);
214
ui.labelAuthor->setUrl(mturl);
202
QString version = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
203
"<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
204
"font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
205
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
206
"<span style=\" font-size:8pt; font-weight:600;\">%1.%2</span></p></body></html>").arg(major).arg(minor);
207
QString revision = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
208
"<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
209
"font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
210
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
211
"<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(build);
212
QString date = QString::fromAscii("<html><head><meta name=\"qrichtext\" content=\"1\" /></head>"
213
"<body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; "
214
"font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; "
215
"margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">"
216
"<span style=\" font-size:8pt; font-weight:600;\">%1</span></p></body></html>").arg(disda);
217
ui.labelAuthor->setText(author);
218
ui.labelAuthor->setUrl(mturl);
215
219
ui.labelBuildVersion->setText(version);
216
220
ui.labelBuildRevision->setText(revision);
217
221
ui.labelBuildDate->setText(date);