You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
746 lines
22 KiB
746 lines
22 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<ui version="4.0"> |
|
<class>WaypointEditableView</class> |
|
<widget class="QWidget" name="WaypointEditableView"> |
|
<property name="geometry"> |
|
<rect> |
|
<x>0</x> |
|
<y>0</y> |
|
<width>2208</width> |
|
<height>37</height> |
|
</rect> |
|
</property> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>200</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
<property name="windowTitle"> |
|
<string>Form</string> |
|
</property> |
|
<property name="styleSheet"> |
|
<string notr="true">QWidget#colorIcon {} |
|
|
|
QWidget { |
|
background-color: #252528; |
|
color: #DDDDDF; |
|
border-color: #CCCCCF; |
|
} |
|
|
|
QCheckBox { |
|
background-color: #252528; |
|
color: #454545; |
|
} |
|
|
|
QGroupBox { |
|
border: 1px solid #EEEEEE; |
|
border-radius: 5px; |
|
padding: 0px 0px 0px 0px; |
|
margin-top: 1ex; /* leave space at the top for the title */ |
|
margin: 0px; |
|
} |
|
|
|
QGroupBox::title { |
|
subcontrol-origin: margin; |
|
subcontrol-position: top center; /* position at the top center */ |
|
margin: 0 3px 0px 3px; |
|
padding: 0 3px 0px 0px; |
|
font: bold 8px; |
|
} |
|
|
|
QDockWidget { |
|
font: bold; |
|
border: 1px solid #32345E; |
|
} |
|
|
|
QPushButton { |
|
font-weight: bold; |
|
font-size: 12px; |
|
border: 1px solid #999999; |
|
border-radius: 10px; |
|
min-width:22px; |
|
max-width: 36px; |
|
min-height: 16px; |
|
max-height: 16px; |
|
padding: 2px; |
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #777777, stop: 1 #555555); |
|
} |
|
|
|
QPushButton:pressed { |
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #444444, stop: 1 #555555); |
|
} |
|
</string> |
|
</property> |
|
<layout class="QGridLayout" name="gridLayout"> |
|
<property name="margin"> |
|
<number>0</number> |
|
</property> |
|
<property name="spacing"> |
|
<number>0</number> |
|
</property> |
|
<item row="0" column="0"> |
|
<widget class="QGroupBox" name="groupBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="title"> |
|
<string/> |
|
</property> |
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="5,5,5,5,50,50,50,50,50,50,5,20,20,5,10,10,0,0,0,20,5,5,5,5"> |
|
<property name="spacing"> |
|
<number>2</number> |
|
</property> |
|
<property name="margin"> |
|
<number>4</number> |
|
</property> |
|
<item> |
|
<widget class="QCheckBox" name="selectedBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>25</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::TabFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Mission Start</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Mission Start</string> |
|
</property> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
<property name="iconSize"> |
|
<size> |
|
<width>16</width> |
|
<height>16</height> |
|
</size> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QLabel" name="idLabel"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>25</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Waypoint Sequence Number</string> |
|
</property> |
|
<property name="text"> |
|
<string>ID</string> |
|
</property> |
|
<property name="alignment"> |
|
<set>Qt::AlignCenter</set> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QComboBox" name="comboBox_action"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Action at Waypoint</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Action at Waypoint</string> |
|
</property> |
|
<property name="sizeAdjustPolicy"> |
|
<enum>QComboBox::AdjustToContentsOnFirstShow</enum> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QComboBox" name="comboBox_frame"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Coordinate frame</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Coordinate frame</string> |
|
</property> |
|
<property name="sizeAdjustPolicy"> |
|
<enum>QComboBox::AdjustToContentsOnFirstShow</enum> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="posNSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::WheelFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Position X coordinate</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Position X corrdinate</string> |
|
</property> |
|
<property name="wrapping"> |
|
<bool>false</bool> |
|
</property> |
|
<property name="frame"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="accelerated"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="prefix"> |
|
<string>N </string> |
|
</property> |
|
<property name="suffix"> |
|
<string> m</string> |
|
</property> |
|
<property name="minimum"> |
|
<double>-10000.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>10000.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>0.050000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="posESpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::WheelFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Position Y/Longitude coordinate</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Position Y/Longitude coordinate</string> |
|
</property> |
|
<property name="prefix"> |
|
<string>E </string> |
|
</property> |
|
<property name="suffix"> |
|
<string> m</string> |
|
</property> |
|
<property name="minimum"> |
|
<double>-10000.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>10000.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>0.050000000000000</double> |
|
</property> |
|
<property name="value"> |
|
<double>0.000000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="posDSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::WheelFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Position Z coordinate (local frame, negative)</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string/> |
|
</property> |
|
<property name="prefix"> |
|
<string>D </string> |
|
</property> |
|
<property name="suffix"> |
|
<string> m</string> |
|
</property> |
|
<property name="minimum"> |
|
<double>-10000.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>10000.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>0.050000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="latSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::WheelFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Latitude in degrees</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Latitude in degrees</string> |
|
</property> |
|
<property name="prefix"> |
|
<string>lat </string> |
|
</property> |
|
<property name="suffix"> |
|
<string>°</string> |
|
</property> |
|
<property name="decimals"> |
|
<number>7</number> |
|
</property> |
|
<property name="minimum"> |
|
<double>-90.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>90.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>0.000010000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="lonSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::WheelFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Longitude in degrees</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Longitude in degrees</string> |
|
</property> |
|
<property name="prefix"> |
|
<string>lon </string> |
|
</property> |
|
<property name="suffix"> |
|
<string>°</string> |
|
</property> |
|
<property name="decimals"> |
|
<number>7</number> |
|
</property> |
|
<property name="minimum"> |
|
<double>-180.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>180.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>0.000010000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="altSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Altitude in meters</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Altitude in meters</string> |
|
</property> |
|
<property name="prefix"> |
|
<string>alt </string> |
|
</property> |
|
<property name="suffix"> |
|
<string>m</string> |
|
</property> |
|
<property name="decimals"> |
|
<number>2</number> |
|
</property> |
|
<property name="minimum"> |
|
<double>-100000.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>100000.000000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QSpinBox" name="yawSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::StrongFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Rotary wing only: Desired yaw angle at waypoint</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Rotary wing only: Desired yaw angle at waypoint</string> |
|
</property> |
|
<property name="wrapping"> |
|
<bool>true</bool> |
|
</property> |
|
<property name="suffix"> |
|
<string>°</string> |
|
</property> |
|
<property name="minimum"> |
|
<number>-180</number> |
|
</property> |
|
<property name="maximum"> |
|
<number>180</number> |
|
</property> |
|
<property name="singleStep"> |
|
<number>10</number> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="orbitSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::StrongFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Loiter radius. Negative for counter-clockwise</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Loiter radius. Negative for counter-clockwise</string> |
|
</property> |
|
<property name="suffix"> |
|
<string> m</string> |
|
</property> |
|
<property name="minimum"> |
|
<double>-5000.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>5000.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>1.000000000000000</double> |
|
</property> |
|
<property name="value"> |
|
<double>20.000000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="acceptanceSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Uncertainty radius in meters |
|
where to accept this waypoint as reached</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Uncertainty radius in meters where to accept this waypoint as reached</string> |
|
</property> |
|
<property name="suffix"> |
|
<string> m</string> |
|
</property> |
|
<property name="value"> |
|
<double>0.200000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="holdTimeSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Time to stay/loiter at this position before advancing</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Time to stay/loiter at this position before advancing</string> |
|
</property> |
|
<property name="suffix"> |
|
<string> s</string> |
|
</property> |
|
<property name="maximum"> |
|
<double>9999.989999999999782</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QSpinBox" name="turnsSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Number of turns to loiter</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Number of turns to loiter</string> |
|
</property> |
|
<property name="suffix"> |
|
<string> turns</string> |
|
</property> |
|
<property name="maximum"> |
|
<number>99</number> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QDoubleSpinBox" name="takeOffAngleSpinBox"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::StrongFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Take off pitch angle</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Take off pitch angle</string> |
|
</property> |
|
<property name="prefix"> |
|
<string/> |
|
</property> |
|
<property name="suffix"> |
|
<string>°</string> |
|
</property> |
|
<property name="decimals"> |
|
<number>0</number> |
|
</property> |
|
<property name="minimum"> |
|
<double>-180.000000000000000</double> |
|
</property> |
|
<property name="maximum"> |
|
<double>180.000000000000000</double> |
|
</property> |
|
<property name="singleStep"> |
|
<double>10.000000000000000</double> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QWidget" name="customActionWidget" native="true"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>0</width> |
|
<height>0</height> |
|
</size> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QWidget" name="missionDoWidgetSlot" native="true"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QWidget" name="missionConditionWidgetSlot" native="true"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<spacer name="removeSpacer"> |
|
<property name="orientation"> |
|
<enum>Qt::Horizontal</enum> |
|
</property> |
|
<property name="sizeHint" stdset="0"> |
|
<size> |
|
<width>5</width> |
|
<height>20</height> |
|
</size> |
|
</property> |
|
</spacer> |
|
</item> |
|
<item> |
|
<widget class="QCheckBox" name="autoContinue"> |
|
<property name="sizePolicy"> |
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> |
|
<horstretch>0</horstretch> |
|
<verstretch>0</verstretch> |
|
</sizepolicy> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Automatically continue after this waypoint</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Automatically continue after this waypoint</string> |
|
</property> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="upButton"> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>28</width> |
|
<height>22</height> |
|
</size> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::NoFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Move Up in List</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Move Up in List</string> |
|
</property> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
<property name="icon"> |
|
<iconset resource="../../qgroundcontrol.qrc"> |
|
<normaloff>:/images/actions/go-up.svg</normaloff>:/images/actions/go-up.svg</iconset> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="downButton"> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>28</width> |
|
<height>22</height> |
|
</size> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::NoFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Move Down in List</string> |
|
</property> |
|
<property name="statusTip"> |
|
<string>Move Down in List</string> |
|
</property> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
<property name="icon"> |
|
<iconset resource="../../qgroundcontrol.qrc"> |
|
<normaloff>:/images/actions/go-down.svg</normaloff>:/images/actions/go-down.svg</iconset> |
|
</property> |
|
</widget> |
|
</item> |
|
<item> |
|
<widget class="QPushButton" name="removeButton"> |
|
<property name="minimumSize"> |
|
<size> |
|
<width>28</width> |
|
<height>22</height> |
|
</size> |
|
</property> |
|
<property name="focusPolicy"> |
|
<enum>Qt::NoFocus</enum> |
|
</property> |
|
<property name="toolTip"> |
|
<string>Delete</string> |
|
</property> |
|
<property name="text"> |
|
<string/> |
|
</property> |
|
<property name="icon"> |
|
<iconset resource="../../qgroundcontrol.qrc"> |
|
<normaloff>:/images/actions/list-remove.svg</normaloff>:/images/actions/list-remove.svg</iconset> |
|
</property> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
</item> |
|
</layout> |
|
</widget> |
|
<resources> |
|
<include location="../../qgroundcontrol.qrc"/> |
|
</resources> |
|
<connections/> |
|
</ui>
|
|
|