Files
2023-Webservices_And_Applic…/Applications/qModMaster/forms/settingsmodbustcp.ui

128 lines
3.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SettingsModbusTCP</class>
<widget class="QDialog" name="SettingsModbusTCP">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>240</width>
<height>110</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>240</width>
<height>110</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>240</width>
<height>160</height>
</size>
</property>
<property name="windowTitle">
<string>Modbus TCP Settings</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/img/network-16.png</normaloff>:/img/network-16.png</iconset>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QLabel" name="lblSlaveIP">
<property name="text">
<string>Slave IP</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lblTCPPort">
<property name="text">
<string>TCP Port</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>leTCPPort</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="leTCPPort">
<property name="inputMask">
<string/>
</property>
<property name="text">
<string/>
</property>
<property name="maxLength">
<number>5</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="leSlaveIP">
<property name="inputMask">
<string notr="true">999.999.999.999;_</string>
</property>
</widget>
</item>
</layout>
</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>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>SettingsModbusTCP</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>SettingsModbusTCP</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>