2015-07-06 13:35:13 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>BtDeviceSelectionDialog</class>
|
|
|
|
<widget class="QDialog" name="BtDeviceSelectionDialog">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>735</width>
|
|
|
|
<height>460</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Remote Bluetooth device selection</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="3" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="dialogControls">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="save">
|
|
|
|
<property name="text">
|
|
|
|
<string>Save</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="quit">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Quit</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2017-11-13 21:46:42 +00:00
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="dialogStatus">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2015-07-06 13:35:13 +00:00
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QGroupBox" name="localDeviceDetails">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Local Bluetooth device details</string>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QFormLayout" name="formLayout_2">
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="2" column="0">
|
2015-07-19 19:05:00 +00:00
|
|
|
<widget class="QLabel" name="deviceNameLabel">
|
2015-07-06 13:35:13 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Name: </string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="2" column="1">
|
2015-07-06 13:35:13 +00:00
|
|
|
<widget class="QLineEdit" name="deviceName">
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="3" column="0">
|
2015-07-19 19:05:00 +00:00
|
|
|
<widget class="QLabel" name="deviceAddressLabel">
|
2015-07-06 13:35:13 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Address:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="3" column="1">
|
2015-07-06 13:35:13 +00:00
|
|
|
<widget class="QLineEdit" name="deviceAddress">
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="4" column="1">
|
2015-07-06 13:35:13 +00:00
|
|
|
<widget class="QCheckBox" name="deviceState">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Bluetooth powered on</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="5" column="1">
|
2015-07-06 13:35:13 +00:00
|
|
|
<widget class="QPushButton" name="changeDeviceState">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>50</weight>
|
|
|
|
<bold>false</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2015-09-04 22:25:33 +00:00
|
|
|
<string>Turn on/off</string>
|
2015-07-06 13:35:13 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-18 14:50:18 +00:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QComboBox" name="localSelectedDevice"/>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
2015-07-19 19:05:00 +00:00
|
|
|
<widget class="QLabel" name="selectDeviceLabel">
|
2015-07-18 14:50:18 +00:00
|
|
|
<property name="text">
|
|
|
|
<string>Select device:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-07-06 13:35:13 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-11-13 21:46:42 +00:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="discoveredDevicesLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2015-07-06 13:35:13 +00:00
|
|
|
</property>
|
2017-11-13 21:46:42 +00:00
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Discovered devices</string>
|
2015-07-06 13:35:13 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-11-13 21:46:42 +00:00
|
|
|
<item row="1" column="0" rowspan="2">
|
|
|
|
<layout class="QVBoxLayout" name="remoteDevicesSection">
|
|
|
|
<item>
|
|
|
|
<widget class="QListWidget" name="discoveredDevicesList">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="btModeSection">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="btModeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Bluetooth mode</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="btMode">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Auto</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Force LE</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Force classical</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="scanningControls">
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="scan">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Scan</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="clear">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Clear</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2015-07-06 13:35:13 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|