4 changed files with 259 additions and 3 deletions
@ -0,0 +1,11 @@ |
|||||||
|
#include "UASActionsWidget.h" |
||||||
|
|
||||||
|
|
||||||
|
UASActionsWidget::UASActionsWidget(QWidget *parent) : QWidget(parent) |
||||||
|
{ |
||||||
|
ui.setupUi(this); |
||||||
|
} |
||||||
|
|
||||||
|
UASActionsWidget::~UASActionsWidget() |
||||||
|
{ |
||||||
|
} |
@ -0,0 +1,19 @@ |
|||||||
|
#ifndef UASACTIONSWIDGET_H |
||||||
|
#define UASACTIONSWIDGET_H |
||||||
|
|
||||||
|
#include <QWidget> |
||||||
|
#include "ui_UASActionsWidget.h" |
||||||
|
|
||||||
|
class UASActionsWidget : public QWidget |
||||||
|
{ |
||||||
|
Q_OBJECT |
||||||
|
|
||||||
|
public: |
||||||
|
explicit UASActionsWidget(QWidget *parent = 0); |
||||||
|
~UASActionsWidget(); |
||||||
|
|
||||||
|
private: |
||||||
|
Ui::UASActionsWidget ui; |
||||||
|
}; |
||||||
|
|
||||||
|
#endif // UASACTIONSWIDGET_H
|
@ -0,0 +1,223 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<ui version="4.0"> |
||||||
|
<class>UASActionsWidget</class> |
||||||
|
<widget class="QWidget" name="UASActionsWidget"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>0</x> |
||||||
|
<y>0</y> |
||||||
|
<width>413</width> |
||||||
|
<height>304</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="windowTitle"> |
||||||
|
<string>Form</string> |
||||||
|
</property> |
||||||
|
<widget class="QGroupBox" name="groupBox"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>10</y> |
||||||
|
<width>241</width> |
||||||
|
<height>161</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="title"> |
||||||
|
<string>Mission Controls</string> |
||||||
|
</property> |
||||||
|
<widget class="QPushButton" name="pushButton_9"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>50</y> |
||||||
|
<width>131</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Go To Waypoint</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QComboBox" name="comboBox_2"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>20</y> |
||||||
|
<width>131</width> |
||||||
|
<height>22</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_6"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>150</x> |
||||||
|
<y>50</y> |
||||||
|
<width>81</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Restart Mission</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QWidget" name="horizontalLayoutWidget"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>120</y> |
||||||
|
<width>221</width> |
||||||
|
<height>31</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout"> |
||||||
|
<item> |
||||||
|
<widget class="QSpinBox" name="spinBox_2"/> |
||||||
|
</item> |
||||||
|
<item> |
||||||
|
<widget class="QPushButton" name="pushButton_12"> |
||||||
|
<property name="text"> |
||||||
|
<string>Change Speed</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
<widget class="QWidget" name="horizontalLayoutWidget_2"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>81</y> |
||||||
|
<width>221</width> |
||||||
|
<height>31</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
||||||
|
<item> |
||||||
|
<widget class="QSpinBox" name="spinBox"/> |
||||||
|
</item> |
||||||
|
<item> |
||||||
|
<widget class="QPushButton" name="pushButton_11"> |
||||||
|
<property name="text"> |
||||||
|
<string>Change Altitude</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</item> |
||||||
|
</layout> |
||||||
|
</widget> |
||||||
|
</widget> |
||||||
|
<widget class="QGroupBox" name="groupBox_2"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>0</x> |
||||||
|
<y>180</y> |
||||||
|
<width>401</width> |
||||||
|
<height>111</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="title"> |
||||||
|
<string>Auto Actions</string> |
||||||
|
</property> |
||||||
|
<widget class="QComboBox" name="comboBox"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>20</y> |
||||||
|
<width>141</width> |
||||||
|
<height>22</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_8"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>50</y> |
||||||
|
<width>141</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Execute Action</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QComboBox" name="comboBox_3"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>160</x> |
||||||
|
<y>20</y> |
||||||
|
<width>141</width> |
||||||
|
<height>22</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_5"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>160</x> |
||||||
|
<y>50</y> |
||||||
|
<width>141</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Set Mode</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>10</x> |
||||||
|
<y>80</y> |
||||||
|
<width>91</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Auto</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_2"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>110</x> |
||||||
|
<y>80</y> |
||||||
|
<width>91</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Manual</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_4"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>210</x> |
||||||
|
<y>80</y> |
||||||
|
<width>91</width> |
||||||
|
<height>23</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>RTL</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
<widget class="QPushButton" name="pushButton_10"> |
||||||
|
<property name="geometry"> |
||||||
|
<rect> |
||||||
|
<x>310</x> |
||||||
|
<y>20</y> |
||||||
|
<width>81</width> |
||||||
|
<height>51</height> |
||||||
|
</rect> |
||||||
|
</property> |
||||||
|
<property name="text"> |
||||||
|
<string>Arm/Disarm</string> |
||||||
|
</property> |
||||||
|
</widget> |
||||||
|
</widget> |
||||||
|
</widget> |
||||||
|
<resources/> |
||||||
|
<connections/> |
||||||
|
</ui> |
Loading…
Reference in new issue