more dialog fixes

This commit is contained in:
stojce 2014-10-03 13:45:26 +02:00
parent e158185296
commit f2095dacbd
2 changed files with 11 additions and 8 deletions

View file

@ -23,8 +23,8 @@ UpdateDialog::UpdateDialog(QWidget *parent, const QString& releaseNotes, const Q
Ui::Dialog dialogUI; Ui::Dialog dialogUI;
dialogUI.setupUi(this); dialogUI.setupUi(this);
QString updateRequired = QString("You are currently running build %1, the latest build released is %2. \ QString updateRequired = QString("You are currently running build %1, the latest build released is %2."
Please download and install the most recent release to access the latest features and bug fixes.") "\n\nPlease download and install the most recent release to access the latest features and bug fixes.")
.arg(Application::getInstance()->applicationVersion(), latestVersion); .arg(Application::getInstance()->applicationVersion(), latestVersion);
setAttribute(Qt::WA_DeleteOnClose); setAttribute(Qt::WA_DeleteOnClose);

View file

@ -10,7 +10,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>750</width> <width>750</width>
<height>243</height> <height>213</height>
</rect> </rect>
</property> </property>
<property name="cursor"> <property name="cursor">
@ -28,16 +28,19 @@
<x>50</x> <x>50</x>
<y>20</y> <y>20</y>
<width>641</width> <width>641</width>
<height>141</height> <height>111</height>
</rect> </rect>
</property> </property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>18</pointsize> <family>Arial</family>
<weight>50</weight> <pointsize>-1</pointsize>
<bold>false</bold>
</font> </font>
</property> </property>
<property name="styleSheet">
<string notr="true">font-family: Arial;
font-size: 20px;</string>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@ -49,7 +52,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>360</x> <x>360</x>
<y>190</y> <y>160</y>
<width>374</width> <width>374</width>
<height>42</height> <height>42</height>
</rect> </rect>