2010-06-17 13:59:53 +02:00
|
|
|
<?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>
|
2010-06-21 18:31:07 +02:00
|
|
|
<y>150</y>
|
2010-06-17 13:59:53 +02:00
|
|
|
<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>
|
2010-07-01 15:23:15 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="res.qrc">
|
|
|
|
<normaloff>:/notify/images/play.png</normaloff>:/notify/images/play.png</iconset>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
</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">
|
2010-06-21 18:31:07 +02:00
|
|
|
<property name="decimals">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<double>9999.899999999999636</double>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
<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>
|
2010-07-01 15:23:15 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="res.qrc">
|
|
|
|
<normaloff>:/notify/images/play.png</normaloff>:/notify/images/play.png</iconset>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
</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">
|
2010-07-01 15:23:15 +02:00
|
|
|
<set>QAbstractItemView::DoubleClicked</set>
|
2010-06-17 13:59:53 +02:00
|
|
|
</property>
|
|
|
|
<property name="selectionBehavior">
|
|
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
|
|
</property>
|
|
|
|
<property name="columnCount">
|
2010-07-01 15:23:15 +02:00
|
|
|
<number>2</number>
|
2010-06-17 13:59:53 +02:00
|
|
|
</property>
|
|
|
|
<attribute name="horizontalHeaderVisible">
|
2010-07-01 15:23:15 +02:00
|
|
|
<bool>true</bool>
|
2010-06-17 13:59:53 +02:00
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderDefaultSectionSize">
|
2010-07-01 15:23:15 +02:00
|
|
|
<number>200</number>
|
2010-06-17 13:59:53 +02:00
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderMinimumSectionSize">
|
2010-07-01 15:23:15 +02:00
|
|
|
<number>100</number>
|
2010-06-17 13:59:53 +02:00
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderDefaultSectionSize">
|
|
|
|
<number>20</number>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderHighlightSections">
|
|
|
|
<bool>true</bool>
|
|
|
|
</attribute>
|
|
|
|
<column/>
|
2010-07-01 15:23:15 +02:00
|
|
|
<column/>
|
2010-06-17 13:59:53 +02:00
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="layoutWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>180</y>
|
|
|
|
<width>481</width>
|
2010-07-01 15:23:15 +02:00
|
|
|
<height>26</height>
|
2010-06-17 13:59:53 +02:00
|
|
|
</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>
|
2010-07-01 15:23:15 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="res.qrc">
|
|
|
|
<normaloff>:/notify/images/play.png</normaloff>:/notify/images/play.png</iconset>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
</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>
|
2010-07-01 15:23:15 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="res.qrc">
|
|
|
|
<normaloff>:/notify/images/add.png</normaloff>:/notify/images/add.png</iconset>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="buttonModify">
|
|
|
|
<property name="text">
|
|
|
|
<string>Modify</string>
|
|
|
|
</property>
|
2010-07-01 15:23:15 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="res.qrc">
|
|
|
|
<normaloff>:/notify/images/modify.png</normaloff>:/notify/images/modify.png</iconset>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="buttonDelete">
|
|
|
|
<property name="text">
|
|
|
|
<string>Delete</string>
|
|
|
|
</property>
|
2010-07-01 15:23:15 +02:00
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../libs/utils/utils.qrc">
|
|
|
|
<normaloff>:/utils/images/removesubmitfield.png</normaloff>:/utils/images/removesubmitfield.png</iconset>
|
|
|
|
</property>
|
2010-06-17 13:59:53 +02:00
|
|
|
</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>
|
2010-06-21 18:31:07 +02:00
|
|
|
<width>501</width>
|
2010-06-17 13:59:53 +02:00
|
|
|
<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>
|
2010-07-01 15:23:15 +02:00
|
|
|
<resources>
|
|
|
|
<include location="../../libs/utils/utils.qrc"/>
|
|
|
|
<include location="res.qrc"/>
|
|
|
|
</resources>
|
2010-06-17 13:59:53 +02:00
|
|
|
<connections/>
|
|
|
|
<slots>
|
|
|
|
<slot>addNewNotification()</slot>
|
|
|
|
</slots>
|
|
|
|
</ui>
|