Dialog adjustments to "Taranis Not Found Dialog"

This commit is contained in:
Kjell Kernen
2014-03-27 12:03:56 +01:00
parent a1a82ad137
commit b5840ee906
3 changed files with 41 additions and 7 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 40 KiB

+3 -3
View File
@@ -5,15 +5,15 @@ taranisNotFoundDialog::taranisNotFoundDialog(QWidget *parent) :
QDialog(parent), QDialog(parent),
ui(new Ui::taranisNotFoundDialog) ui(new Ui::taranisNotFoundDialog)
{ {
ui->setupUi(this); ui->setupUi(this);
} }
taranisNotFoundDialog::~taranisNotFoundDialog() taranisNotFoundDialog::~taranisNotFoundDialog()
{ {
delete ui; delete ui;
} }
void taranisNotFoundDialog::on_OK_clicked() void taranisNotFoundDialog::on_OK_clicked()
{ {
accept(); accept();
} }
+38 -4
View File
@@ -6,10 +6,28 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>365</width> <width>367</width>
<height>295</height> <height>350</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>367</width>
<height>350</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>367</width>
<height>350</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>No Taranis Radio Found</string> <string>No Taranis Radio Found</string>
</property> </property>
@@ -19,7 +37,7 @@
<item> <item>
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;No Taranis Radio was found!&lt;/p&gt;&lt;p&gt;Make sure that you hold the lower trim buttons towards the center while you turn it on.&lt;/p&gt;&lt;p&gt;Then connect the USB wire to the computer.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;No Taranis Radio was found!&lt;/p&gt;&lt;p&gt;Make sure that you hold the lower trim buttons towards the center while you turn it on.&lt;/p&gt;&lt;p&gt;Then connect the USB wire.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="textFormat"> <property name="textFormat">
<enum>Qt::RichText</enum> <enum>Qt::RichText</enum>
@@ -40,6 +58,9 @@
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
@@ -50,7 +71,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0"> <item row="2" column="0">
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer">
@@ -74,6 +95,19 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout> </layout>
</widget> </widget>
<resources> <resources>