gui upgrade

This commit is contained in:
Neptune-1
2018-12-05 17:31:24 +03:00
parent f2ca1e9ebe
commit 4dbfc1e477
12 changed files with 1293 additions and 1021 deletions

BIN
Server/gui/back.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

5
Server/gui/back_1.qrc Executable file
View File

@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="back">
<file>back.png</file>
</qresource>
</RCC>

460
Server/gui/gui.ui Executable file
View File

@@ -0,0 +1,460 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1280</width>
<height>720</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1280</width>
<height>720</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1280</width>
<height>720</height>
</size>
</property>
<property name="windowTitle">
<string>Drone Swarm</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="take_off_button">
<property name="geometry">
<rect>
<x>760</x>
<y>70</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Take off all</string>
</property>
</widget>
<widget class="QPushButton" name="land_all_button">
<property name="geometry">
<rect>
<x>890</x>
<y>70</y>
<width>91</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Land all</string>
</property>
</widget>
<widget class="QPushButton" name="disarm_all_button">
<property name="geometry">
<rect>
<x>1010</x>
<y>70</y>
<width>101</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: red
</string>
</property>
<property name="text">
<string>Disarm all</string>
</property>
</widget>
<widget class="QPushButton" name="take_off_n_button">
<property name="geometry">
<rect>
<x>760</x>
<y>150</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Take off n</string>
</property>
</widget>
<widget class="QPushButton" name="land_n_button">
<property name="geometry">
<rect>
<x>890</x>
<y>150</y>
<width>91</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Land n</string>
</property>
</widget>
<widget class="QPushButton" name="disarm_n_button">
<property name="geometry">
<rect>
<x>1010</x>
<y>150</y>
<width>101</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: red
</string>
</property>
<property name="text">
<string>Disarm n</string>
</property>
</widget>
<widget class="QSpinBox" name="take_off_spinBox">
<property name="geometry">
<rect>
<x>790</x>
<y>120</y>
<width>50</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="land_spinBox">
<property name="geometry">
<rect>
<x>910</x>
<y>120</y>
<width>50</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="disarm_spinBox">
<property name="geometry">
<rect>
<x>1040</x>
<y>120</y>
<width>50</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="control_console_label">
<property name="geometry">
<rect>
<x>840</x>
<y>20</y>
<width>200</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; color:#c8c8c8;&quot;&gt;Control console&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="turn_on_led_button">
<property name="geometry">
<rect>
<x>1140</x>
<y>60</y>
<width>100</width>
<height>61</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Turn on Leds</string>
</property>
</widget>
<widget class="QPushButton" name="turn_off_led_button">
<property name="geometry">
<rect>
<x>1140</x>
<y>140</y>
<width>100</width>
<height>61</height>
</rect>
</property>
<property name="text">
<string>Turn off Leds</string>
</property>
</widget>
<widget class="QPushButton" name="stop_swarm_but">
<property name="geometry">
<rect>
<x>220</x>
<y>510</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Stop swarm</string>
</property>
</widget>
<widget class="QPushButton" name="connect_button">
<property name="geometry">
<rect>
<x>620</x>
<y>60</y>
<width>111</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QSpinBox" name="swarm_size_spinBox">
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<width>50</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="swarm_size_label">
<property name="geometry">
<rect>
<x>240</x>
<y>50</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Swarm Size&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="send_command_label">
<property name="geometry">
<rect>
<x>840</x>
<y>260</y>
<width>200</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; color:#c8c8c8;&quot;&gt;Send command&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QTextEdit" name="console_textEdit">
<property name="geometry">
<rect>
<x>640</x>
<y>290</y>
<width>591</width>
<height>271</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(1, 36, 86)</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:7.8pt; color:#ffffff;&quot;&gt;...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="show_3d_scene_button">
<property name="geometry">
<rect>
<x>220</x>
<y>300</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Show 3d scene</string>
</property>
</widget>
<widget class="QPushButton" name="upload_animation_button">
<property name="geometry">
<rect>
<x>220</x>
<y>370</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Upload animation</string>
</property>
</widget>
<widget class="QLabel" name="state_label">
<property name="geometry">
<rect>
<x>220</x>
<y>160</y>
<width>131</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: red
</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Disconnect&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="statement_swarm_label">
<property name="geometry">
<rect>
<x>230</x>
<y>140</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Statement swarm</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="start_animation_button">
<property name="geometry">
<rect>
<x>220</x>
<y>440</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Start animation</string>
</property>
</widget>
<widget class="QLabel" name="back_label">
<property name="geometry">
<rect>
<x>0</x>
<y>-1</y>
<width>1280</width>
<height>701</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/back/back.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="safty_button">
<property name="geometry">
<rect>
<x>620</x>
<y>110</y>
<width>111</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Safty check</string>
</property>
</widget>
<widget class="QPushButton" name="synch_button">
<property name="geometry">
<rect>
<x>620</x>
<y>160</y>
<width>111</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Synchronize</string>
</property>
</widget>
<zorder>back_label</zorder>
<zorder>take_off_button</zorder>
<zorder>land_all_button</zorder>
<zorder>disarm_all_button</zorder>
<zorder>take_off_n_button</zorder>
<zorder>land_n_button</zorder>
<zorder>disarm_n_button</zorder>
<zorder>take_off_spinBox</zorder>
<zorder>land_spinBox</zorder>
<zorder>disarm_spinBox</zorder>
<zorder>control_console_label</zorder>
<zorder>turn_on_led_button</zorder>
<zorder>turn_off_led_button</zorder>
<zorder>stop_swarm_but</zorder>
<zorder>connect_button</zorder>
<zorder>swarm_size_spinBox</zorder>
<zorder>swarm_size_label</zorder>
<zorder>send_command_label</zorder>
<zorder>console_textEdit</zorder>
<zorder>show_3d_scene_button</zorder>
<zorder>upload_animation_button</zorder>
<zorder>state_label</zorder>
<zorder>statement_swarm_label</zorder>
<zorder>start_animation_button</zorder>
<zorder>safty_button</zorder>
<zorder>synch_button</zorder>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1280</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources>
<include location="back_1.qrc"/>
</resources>
<connections/>
</ui>

460
Server/gui/swarm_5.ui Normal file
View File

@@ -0,0 +1,460 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1280</width>
<height>720</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>1280</width>
<height>720</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>1280</width>
<height>720</height>
</size>
</property>
<property name="windowTitle">
<string>Drone Swarm</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="take_off_button">
<property name="geometry">
<rect>
<x>760</x>
<y>70</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Take off all</string>
</property>
</widget>
<widget class="QPushButton" name="land_all_button">
<property name="geometry">
<rect>
<x>890</x>
<y>70</y>
<width>91</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Land all</string>
</property>
</widget>
<widget class="QPushButton" name="disarm_all_button">
<property name="geometry">
<rect>
<x>1010</x>
<y>70</y>
<width>101</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: red
</string>
</property>
<property name="text">
<string>Disarm all</string>
</property>
</widget>
<widget class="QPushButton" name="take_off_n_button">
<property name="geometry">
<rect>
<x>760</x>
<y>150</y>
<width>100</width>
<height>40</height>
</rect>
</property>
<property name="text">
<string>Take off n</string>
</property>
</widget>
<widget class="QPushButton" name="land_n_button">
<property name="geometry">
<rect>
<x>890</x>
<y>150</y>
<width>91</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Land n</string>
</property>
</widget>
<widget class="QPushButton" name="disarm_n_button">
<property name="geometry">
<rect>
<x>1010</x>
<y>150</y>
<width>101</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: red
</string>
</property>
<property name="text">
<string>Disarm n</string>
</property>
</widget>
<widget class="QSpinBox" name="take_off_spinBox">
<property name="geometry">
<rect>
<x>790</x>
<y>120</y>
<width>50</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="land_spinBox">
<property name="geometry">
<rect>
<x>910</x>
<y>120</y>
<width>50</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="disarm_spinBox">
<property name="geometry">
<rect>
<x>1040</x>
<y>120</y>
<width>50</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="control_console_label">
<property name="geometry">
<rect>
<x>840</x>
<y>20</y>
<width>200</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; color:#c8c8c8;&quot;&gt;Control console&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="turn_on_led_button">
<property name="geometry">
<rect>
<x>1140</x>
<y>60</y>
<width>100</width>
<height>61</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Turn on Leds</string>
</property>
</widget>
<widget class="QPushButton" name="turn_off_led_button">
<property name="geometry">
<rect>
<x>1140</x>
<y>140</y>
<width>100</width>
<height>61</height>
</rect>
</property>
<property name="text">
<string>Turn off Leds</string>
</property>
</widget>
<widget class="QPushButton" name="stop_swarm_but">
<property name="geometry">
<rect>
<x>220</x>
<y>510</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Stop swarm</string>
</property>
</widget>
<widget class="QPushButton" name="connect_button">
<property name="geometry">
<rect>
<x>620</x>
<y>60</y>
<width>111</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QSpinBox" name="swarm_size_spinBox">
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<width>50</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="swarm_size_label">
<property name="geometry">
<rect>
<x>240</x>
<y>50</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:9pt;&quot;&gt;Swarm Size&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="send_command_label">
<property name="geometry">
<rect>
<x>840</x>
<y>260</y>
<width>200</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; color:#c8c8c8;&quot;&gt;Send command&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QTextEdit" name="console_textEdit">
<property name="geometry">
<rect>
<x>640</x>
<y>290</y>
<width>591</width>
<height>271</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(1, 36, 86)</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:7.8pt; color:#ffffff;&quot;&gt;...&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="show_3d_scene_button">
<property name="geometry">
<rect>
<x>220</x>
<y>300</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Show 3d scene</string>
</property>
</widget>
<widget class="QPushButton" name="upload_animation_button">
<property name="geometry">
<rect>
<x>220</x>
<y>370</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Upload animation</string>
</property>
</widget>
<widget class="QLabel" name="state_label">
<property name="geometry">
<rect>
<x>220</x>
<y>160</y>
<width>131</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">color: red
</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Disconnect&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="statement_swarm_label">
<property name="geometry">
<rect>
<x>230</x>
<y>140</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Statement swarm</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="start_animation_button">
<property name="geometry">
<rect>
<x>220</x>
<y>440</y>
<width>141</width>
<height>51</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Start animation</string>
</property>
</widget>
<widget class="QLabel" name="back_label">
<property name="geometry">
<rect>
<x>0</x>
<y>-1</y>
<width>1280</width>
<height>701</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/back/back.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="safty_button">
<property name="geometry">
<rect>
<x>620</x>
<y>110</y>
<width>111</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Safty check</string>
</property>
</widget>
<widget class="QPushButton" name="synch_button">
<property name="geometry">
<rect>
<x>620</x>
<y>160</y>
<width>111</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>Synchronize</string>
</property>
</widget>
<zorder>back_label</zorder>
<zorder>take_off_button</zorder>
<zorder>land_all_button</zorder>
<zorder>disarm_all_button</zorder>
<zorder>take_off_n_button</zorder>
<zorder>land_n_button</zorder>
<zorder>disarm_n_button</zorder>
<zorder>take_off_spinBox</zorder>
<zorder>land_spinBox</zorder>
<zorder>disarm_spinBox</zorder>
<zorder>control_console_label</zorder>
<zorder>turn_on_led_button</zorder>
<zorder>turn_off_led_button</zorder>
<zorder>stop_swarm_but</zorder>
<zorder>connect_button</zorder>
<zorder>swarm_size_spinBox</zorder>
<zorder>swarm_size_label</zorder>
<zorder>send_command_label</zorder>
<zorder>console_textEdit</zorder>
<zorder>show_3d_scene_button</zorder>
<zorder>upload_animation_button</zorder>
<zorder>state_label</zorder>
<zorder>statement_swarm_label</zorder>
<zorder>start_animation_button</zorder>
<zorder>safty_button</zorder>
<zorder>synch_button</zorder>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1280</width>
<height>23</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
<resources>
<include location="back_1.qrc"/>
</resources>
<connections/>
</ui>

5
Server/gui/telem.qrc Executable file
View File

@@ -0,0 +1,5 @@
<RCC>
<qresource prefix="telem">
<file>telem_bakground.png</file>
</qresource>
</RCC>

BIN
Server/gui/telem_bakground.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

536
Server/gui/telemetry.ui Executable file
View File

@@ -0,0 +1,536 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
<widget class="QDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>550</width>
<height>240</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>550</width>
<height>240</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>550</width>
<height>240</height>
</size>
</property>
<property name="windowTitle">
<string>Telemetry</string>
</property>
<widget class="QLabel" name="copter_text">
<property name="geometry">
<rect>
<x>80</x>
<y>20</y>
<width>91</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Copter</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QPushButton" name="go_pushButton">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>93</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>Go</string>
</property>
</widget>
<widget class="QSpinBox" name="number_spinBox">
<property name="geometry">
<rect>
<x>160</x>
<y>20</y>
<width>42</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="x_1">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>21</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;x=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="y_1">
<property name="geometry">
<rect>
<x>10</x>
<y>150</y>
<width>21</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;y=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="z_1">
<property name="geometry">
<rect>
<x>10</x>
<y>200</y>
<width>21</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;z=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="z_2">
<property name="geometry">
<rect>
<x>40</x>
<y>200</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="x_2">
<property name="geometry">
<rect>
<x>40</x>
<y>100</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="y_2">
<property name="geometry">
<rect>
<x>40</x>
<y>150</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="mode_2">
<property name="geometry">
<rect>
<x>470</x>
<y>130</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;MANUALE&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="armed_2">
<property name="geometry">
<rect>
<x>470</x>
<y>100</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;False&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="frame_id_1">
<property name="geometry">
<rect>
<x>400</x>
<y>170</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;farme id=&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="armed_1">
<property name="geometry">
<rect>
<x>400</x>
<y>100</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;armed=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="frame_id_2">
<property name="geometry">
<rect>
<x>470</x>
<y>170</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;aruco_map&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="mode_1">
<property name="geometry">
<rect>
<x>400</x>
<y>130</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;mode=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="voltage_2">
<property name="geometry">
<rect>
<x>470</x>
<y>200</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="voltage_1">
<property name="geometry">
<rect>
<x>400</x>
<y>200</y>
<width>51</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;voltage=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="roll_2">
<property name="geometry">
<rect>
<x>190</x>
<y>200</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="yaw_1">
<property name="geometry">
<rect>
<x>140</x>
<y>100</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;yaw=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="pitch_1">
<property name="geometry">
<rect>
<x>140</x>
<y>150</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;pitch=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="roll_1">
<property name="geometry">
<rect>
<x>140</x>
<y>200</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;roll=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="pitch_2">
<property name="geometry">
<rect>
<x>190</x>
<y>150</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="yaw2">
<property name="geometry">
<rect>
<x>190</x>
<y>100</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="vy_1">
<property name="geometry">
<rect>
<x>270</x>
<y>150</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;vy=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="vx_2">
<property name="geometry">
<rect>
<x>320</x>
<y>100</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="vz_1">
<property name="geometry">
<rect>
<x>270</x>
<y>200</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;vz=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="vy_2">
<property name="geometry">
<rect>
<x>320</x>
<y>150</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="vz_2">
<property name="geometry">
<rect>
<x>320</x>
<y>200</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;0.000&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="vx_1">
<property name="geometry">
<rect>
<x>270</x>
<y>100</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#c8c8c8;&quot;&gt;vx=&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="back">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>241</height>
</rect>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/telem/telem_bakground.png&quot;/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<zorder>back</zorder>
<zorder>copter_text</zorder>
<zorder>go_pushButton</zorder>
<zorder>number_spinBox</zorder>
<zorder>x_1</zorder>
<zorder>y_1</zorder>
<zorder>z_1</zorder>
<zorder>z_2</zorder>
<zorder>x_2</zorder>
<zorder>y_2</zorder>
<zorder>mode_2</zorder>
<zorder>armed_2</zorder>
<zorder>frame_id_1</zorder>
<zorder>armed_1</zorder>
<zorder>frame_id_2</zorder>
<zorder>mode_1</zorder>
<zorder>voltage_2</zorder>
<zorder>voltage_1</zorder>
<zorder>roll_2</zorder>
<zorder>yaw_1</zorder>
<zorder>pitch_1</zorder>
<zorder>roll_1</zorder>
<zorder>pitch_2</zorder>
<zorder>yaw2</zorder>
<zorder>vy_1</zorder>
<zorder>vx_2</zorder>
<zorder>vz_1</zorder>
<zorder>vy_2</zorder>
<zorder>vz_2</zorder>
<zorder>vx_1</zorder>
</widget>
<resources>
<include location="telem.qrc"/>
</resources>
<connections/>
</ui>