mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 23:19:33 +00:00
461 lines
12 KiB
XML
Executable File
461 lines
12 KiB
XML
Executable File
<?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><html><head/><body><p><span style=" font-size:12pt; color:#c8c8c8;">Control console</span></p></body></html></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><html><head/><body><p><span style=" font-size:9pt;">Swarm Size</span></p></body></html></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><html><head/><body><p><span style=" font-size:12pt; color:#c8c8c8;">Send command</span></p></body></html></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><!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:'Noto Sans'; 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:'MS Shell Dlg 2'; font-size:7.8pt; color:#ffffff;">...</span></p></body></html></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><html><head/><body><p><span style=" font-size:12pt;">Disconnect</span></p></body></html></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><html><head/><body><p><img src=":/back/back.png"/></p></body></html></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>
|