mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-25 12:47:44 +01:00
fixed #1603 Welcome dialog should show full version of the program
This commit is contained in:
parent
565e888472
commit
c077f60e13
@ -1,5 +1,8 @@
|
||||
2010-07-20 Vadim Kurland <vadim@vk.crocodile.org>
|
||||
|
||||
* StartTipDialog.cpp (StartTipDialog::StartTipDialog): fixed #1603
|
||||
"Welcome dialog should show full version of the program".
|
||||
|
||||
* set version to 4.1.0 and version of the data file format to
|
||||
"17". Data files need to be upgraded. Upgrade script changes the
|
||||
version and makes sure Standard objects library is read-only. Some
|
||||
|
||||
@ -56,6 +56,11 @@ StartTipDialog::StartTipDialog(QWidget *parent): QDialog(parent)
|
||||
m_dialog = new Ui::StartTipDialog_q;
|
||||
m_dialog->setupUi(this);
|
||||
|
||||
QString pgm = m_dialog->program_name_and_version->text();
|
||||
|
||||
m_dialog->program_name_and_version->setText(pgm.arg(VERSION));
|
||||
|
||||
|
||||
QString locale = QLocale::system().name(); //"en_US";
|
||||
QStringList paths;
|
||||
paths.append(QString(respath.c_str()) + "/help/" + locale);
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
<item row="0" column="1">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="label_2">
|
||||
<widget class="QLabel" name="program_name_and_version">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
@ -41,8 +41,8 @@
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:28pt;">Firewall Builder 4</span></p></body></html></string>
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Lucida Grande'; font-size:28pt;">Firewall Builder %1</span></p></body></html></string>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user