mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-13 20:48:42 +01:00
474 lines
13 KiB
Plaintext
474 lines
13 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>NotifyPluginOptionsPage</class>
|
||
|
<widget class="QWidget" name="NotifyPluginOptionsPage">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>589</width>
|
||
|
<height>453</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Form</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="layoutWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>140</y>
|
||
|
<width>501</width>
|
||
|
<height>71</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<item row="2" column="2" colspan="7">
|
||
|
<widget class="QComboBox" name="Sound1">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="13">
|
||
|
<widget class="QPushButton" name="buttonTestSound2">
|
||
|
<property name="text">
|
||
|
<string>Play</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="12">
|
||
|
<widget class="QComboBox" name="Sound2">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="7" colspan="3">
|
||
|
<widget class="QDoubleSpinBox" name="ValueSpinBox">
|
||
|
<property name="singleStep">
|
||
|
<double>1.000000000000000</double>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="2" colspan="5">
|
||
|
<widget class="QComboBox" name="Value">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Equal to</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Greater than</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Less than</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="1">
|
||
|
<widget class="QLabel" name="labelSound1">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Sound1:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="12" colspan="2">
|
||
|
<widget class="QComboBox" name="SayOrder">
|
||
|
<property name="toolTip">
|
||
|
<string>Select if the value of the object should be spoken and if so, either before the configured sound or after it.</string>
|
||
|
</property>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Never</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>Before first</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>After first</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>After second</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QLabel" name="labelValue">
|
||
|
<property name="enabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string>Value is</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="11">
|
||
|
<widget class="QLabel" name="labelSayOrder">
|
||
|
<property name="text">
|
||
|
<string>Say Order</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="9">
|
||
|
<widget class="QPushButton" name="buttonTestSound1">
|
||
|
<property name="text">
|
||
|
<string>Play</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="10">
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Maximum</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="2" column="11">
|
||
|
<widget class="QLabel" name="labelSound2">
|
||
|
<property name="text">
|
||
|
<string>Sound2:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="groupBox_2">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>10</y>
|
||
|
<width>501</width>
|
||
|
<height>81</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Sound Collection</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="layoutWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>20</y>
|
||
|
<width>481</width>
|
||
|
<height>51</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<property name="spacing">
|
||
|
<number>6</number>
|
||
|
</property>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLabel" name="labelLanguage">
|
||
|
<property name="text">
|
||
|
<string>Language</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0" colspan="5">
|
||
|
<widget class="Utils::PathChooser" name="SoundDirectoryPathChooser" native="true">
|
||
|
<property name="enabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>75</width>
|
||
|
<height>23</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1" colspan="4">
|
||
|
<widget class="QComboBox" name="SoundCollectionList">
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>147</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="toolTip">
|
||
|
<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:'MS Shell Dlg 2'; font-size:8.25pt; 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-size:8pt;">Select the sound collection</span></p></body></html></string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QGroupBox" name="groupBox">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>220</y>
|
||
|
<width>501</width>
|
||
|
<height>211</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Sound Notifcations</string>
|
||
|
</property>
|
||
|
<widget class="QTableWidget" name="tableNotifications">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>20</y>
|
||
|
<width>481</width>
|
||
|
<height>151</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>0</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>600</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="editTriggers">
|
||
|
<set>QAbstractItemView::NoEditTriggers</set>
|
||
|
</property>
|
||
|
<property name="selectionBehavior">
|
||
|
<enum>QAbstractItemView::SelectRows</enum>
|
||
|
</property>
|
||
|
<property name="columnCount">
|
||
|
<number>1</number>
|
||
|
</property>
|
||
|
<attribute name="horizontalHeaderVisible">
|
||
|
<bool>false</bool>
|
||
|
</attribute>
|
||
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
||
|
<number>300</number>
|
||
|
</attribute>
|
||
|
<attribute name="horizontalHeaderMinimumSectionSize">
|
||
|
<number>200</number>
|
||
|
</attribute>
|
||
|
<attribute name="verticalHeaderVisible">
|
||
|
<bool>true</bool>
|
||
|
</attribute>
|
||
|
<attribute name="verticalHeaderDefaultSectionSize">
|
||
|
<number>20</number>
|
||
|
</attribute>
|
||
|
<attribute name="verticalHeaderHighlightSections">
|
||
|
<bool>true</bool>
|
||
|
</attribute>
|
||
|
<column/>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="layoutWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>180</y>
|
||
|
<width>481</width>
|
||
|
<height>25</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="chkEnableSound">
|
||
|
<property name="text">
|
||
|
<string>Enable Sounds</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_2">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>138</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="buttonPlayNotification">
|
||
|
<property name="text">
|
||
|
<string>Play</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_4">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_3">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="buttonAdd">
|
||
|
<property name="text">
|
||
|
<string>Add</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="buttonModify">
|
||
|
<property name="text">
|
||
|
<string>Modify</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="buttonDelete">
|
||
|
<property name="text">
|
||
|
<string>Delete</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="horizontalLayoutWidget">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>10</x>
|
||
|
<y>100</y>
|
||
|
<width>501</width>
|
||
|
<height>31</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="labelDataOb">
|
||
|
<property name="text">
|
||
|
<string>DataObject</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="UAVObject">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="labelObjectField">
|
||
|
<property name="text">
|
||
|
<string>ObjectField</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="UAVObjectField">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="Line" name="line">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>7</x>
|
||
|
<y>130</y>
|
||
|
<width>481</width>
|
||
|
<height>20</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>Utils::PathChooser</class>
|
||
|
<extends>QWidget</extends>
|
||
|
<header>utils/pathchooser.h</header>
|
||
|
<container>1</container>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
<slots>
|
||
|
<slot>addNewNotification()</slot>
|
||
|
</slots>
|
||
|
</ui>
|