KNX Editor Example
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Tunneling</class>
<widget class="QWidget" name="Tunneling">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>856</width>
<height>404</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3" stretch="0,1,0,0,0,0,0">
<item>
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Message code:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="mc">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<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="QLabel" name="label_14">
<property name="text">
<string>Source address:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="sourceAddress">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>0.0.0</string>
</property>
<property name="maxLength">
<number>9</number>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>Destination address:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="destAddress">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>0/0/0</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Control field</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="5" column="2">
<widget class="QComboBox" name="confirm">
<item>
<property name="text">
<string>No error</string>
</property>
</item>
<item>
<property name="text">
<string>Error</string>
</property>
</item>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Acknowledge:</string>
</property>
</widget>
</item>
<item row="6" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Priority:</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QComboBox" name="priority">
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string>System</string>
</property>
</item>
<item>
<property name="text">
<string>Normal</string>
</property>
</item>
<item>
<property name="text">
<string>Urgent</string>
</property>
</item>
<item>
<property name="text">
<string>Low</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="broadcast">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>System</string>
</property>
</item>
<item>
<property name="text">
<string>Domain</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2">
<widget class="QComboBox" name="repeat">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Yes</string>
</property>
</item>
<item>
<property name="text">
<string>No</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Frame type:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Broadcast:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Repeat:</string>
</property>
</widget>
</item>
<item row="4" column="2">
<widget class="QComboBox" name="acknowledge">
<item>
<property name="text">
<string>Not requested</string>
</property>
</item>
<item>
<property name="text">
<string>Requested</string>
</property>
</item>
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Confirm:</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="frameFormat">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Extended</string>
</property>
</item>
<item>
<property name="text">
<string>Standard</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Extended control field</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="2">
<widget class="QComboBox" name="extFrameFormat">
<item>
<property name="text">
<string>Standard</string>
</property>
</item>
<item>
<property name="text">
<string>LTE</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Destination address type:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="destAddrType">
<item>
<property name="text">
<string>Group</string>
</property>
</item>
<item>
<property name="text">
<string>Individual</string>
</property>
</item>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Extended frame format:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Hop count:</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QSpinBox" name="hopCount">
<property name="maximum">
<number>7</number>
</property>
<property name="value">
<number>6</number>
</property>
</widget>
</item>
<item row="3" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="additionalInfo">
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Additional information</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="2">
<widget class="QComboBox" name="additionalInfoTypes">
<property name="currentText">
<string>PL Medium Information</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Reserved</string>
</property>
</item>
<item>
<property name="text">
<string>PL Medium Information</string>
</property>
</item>
<item>
<property name="text">
<string>RF Medium Information</string>
</property>
</item>
<item>
<property name="text">
<string>Busmonitor Status Info</string>
</property>
</item>
<item>
<property name="text">
<string>Timestamp Relative</string>
</property>
</item>
<item>
<property name="text">
<string>Time Delay Until Sending</string>
</property>
</item>
<item>
<property name="text">
<string>Extended Relative Timestamp</string>
</property>
</item>
<item>
<property name="text">
<string>BiBat Information</string>
</property>
</item>
<item>
<property name="text">
<string>RF Multi Information</string>
</property>
</item>
<item>
<property name="text">
<string>Preamble and Postamble</string>
</property>
</item>
<item>
<property name="text">
<string>RF Fas tAcknowledgment</string>
</property>
</item>
<item>
<property name="text">
<string>Manufacturer Specific Data</string>
</property>
</item>
<item>
<property name="text">
<string>Escape Code</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="additionallnfoData">
<property name="maxLength">
<number>4</number>
</property>
</widget>
</item>
<item row="0" column="0">
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_25">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Type:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_26">
<property name="text">
<string>Data (HEX):</string>
</property>
</widget>
</item>
<item row="2" column="1" rowspan="3" colspan="2">
<widget class="QListWidget" name="additionalInfosList"/>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="addAdditionalInfo">
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QPushButton" name="removeAdditionalInfo">
<property name="text">
<string>Remove</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>TPCI:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="tpci"/>
</item>
<item>
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>APCI:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="apci"/>
</item>
<item>
<widget class="QLabel" name="label_16">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Data:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="data">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QCheckBox" name="manualInput">
<property name="text">
<string>Manual input</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_7">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_17">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cEmi frame (HEX):</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="cemiFrame">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string/>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="tunnelingSendRequest">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Send Request</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QTextEdit" name="textOuputTunneling">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="contextMenuPolicy">
<enum>Qt::DefaultContextMenu</enum>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="undoRedoEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QCheckBox" name="secureSessionCheckBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Use secure session</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="secureSessionCb">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="connectTunneling">
<property name="text">
<string>Connect</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="disconnectTunneling">
<property name="text">
<string>Disconnect</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>mc</tabstop>
<tabstop>sourceAddress</tabstop>
<tabstop>destAddress</tabstop>
<tabstop>frameFormat</tabstop>
<tabstop>repeat</tabstop>
<tabstop>broadcast</tabstop>
<tabstop>priority</tabstop>
<tabstop>acknowledge</tabstop>
<tabstop>confirm</tabstop>
<tabstop>destAddrType</tabstop>
<tabstop>hopCount</tabstop>
<tabstop>extFrameFormat</tabstop>
<tabstop>additionalInfoTypes</tabstop>
<tabstop>additionallnfoData</tabstop>
<tabstop>addAdditionalInfo</tabstop>
<tabstop>removeAdditionalInfo</tabstop>
<tabstop>tpci</tabstop>
<tabstop>apci</tabstop>
<tabstop>data</tabstop>
<tabstop>manualInput</tabstop>
<tabstop>tunnelingSendRequest</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>label</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>26</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>23</x>
<y>23</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>mc</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>47</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>94</x>
<y>21</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>groupBox</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>68</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>42</x>
<y>121</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>groupBox_2</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>79</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>462</x>
<y>143</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>sourceAddress</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>24</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>576</x>
<y>29</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>label_14</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>66</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>402</x>
<y>29</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>label_15</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>67</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>706</x>
<y>29</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>destAddress</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>60</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>845</x>
<y>29</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>label_16</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>39</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>539</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>data</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>89</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>680</x>
<y>250</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>label_2</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>22</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>280</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>apci</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>25</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>411</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>label_3</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>61</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>36</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>manualInput</sender>
<signal>clicked(bool)</signal>
<receiver>tpci</receiver>
<slot>setDisabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>61</x>
<y>282</y>
</hint>
<hint type="destinationlabel">
<x>254</x>
<y>254</y>
</hint>
</hints>
</connection>
<connection>
<sender>secureSessionCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>secureSessionCb</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>75</x>
<y>384</y>
</hint>
<hint type="destinationlabel">
<x>150</x>
<y>383</y>
</hint>
</hints>
</connection>
</connections>
</ui>