mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-13 20:01:46 -05:00
f38b9b8dda
Add support for speech notifications and running commands when aircraft meet user-defined rules. Fix fighter aircraft icon. Add additional airline logos.
166 lines
4.3 KiB
XML
166 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ADSBDemodNotificationDialog</class>
|
|
<widget class="QDialog" name="ADSBDemodNotificationDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>955</width>
|
|
<height>400</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Sans</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::PreventContextMenu</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Notifications</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="4" column="0">
|
|
<widget class="QTableWidget" name="table">
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Match</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>ADS-B data to match</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Reg Exp</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Regular expression to match with</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Speech</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Speech for the computer to read when a match is made</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Command</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Command/script to execute when a match is made</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<layout class="QHBoxLayout" name="buttonsHorizontalLayout">
|
|
<item>
|
|
<widget class="QPushButton" name="add">
|
|
<property name="toolTip">
|
|
<string>Add device set control</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>+</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="remove">
|
|
<property name="toolTip">
|
|
<string>Remove device set control</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>-</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="buttonsHorizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>table</tabstop>
|
|
<tabstop>add</tabstop>
|
|
<tabstop>remove</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../../../sdrgui/resources/res.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ADSBDemodNotificationDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>ADSBDemodNotificationDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|