2023-11-24 14:08:11 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-11-17 09:24:13 +03:00
|
|
|
<ui version="4.0">
|
|
|
|
<class>setPribor</class>
|
|
|
|
<widget class="QDialog" name="setPribor">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>400</width>
|
2023-11-24 14:08:11 +03:00
|
|
|
<height>375</height>
|
2023-11-17 09:24:13 +03:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Dialog</string>
|
|
|
|
</property>
|
2023-11-24 14:08:11 +03:00
|
|
|
<widget class="QLabel" name="label">
|
2023-11-17 09:24:13 +03:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
2023-11-24 14:08:11 +03:00
|
|
|
<x>20</x>
|
|
|
|
<y>10</y>
|
|
|
|
<width>361</width>
|
|
|
|
<height>31</height>
|
2023-11-17 09:24:13 +03:00
|
|
|
</rect>
|
|
|
|
</property>
|
2023-11-24 14:08:11 +03:00
|
|
|
<property name="text">
|
|
|
|
<string>Данный режим предназначен для начальной инициализации прибора. </string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>20</x>
|
|
|
|
<y>30</y>
|
|
|
|
<width>361</width>
|
|
|
|
<height>31</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2023-12-07 16:57:51 +03:00
|
|
|
<string>Проверьте правильность указания порта</string>
|
2023-11-24 14:08:11 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QComboBox" name="comboBoxCurrentSpeed">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>100</x>
|
|
|
|
<y>180</y>
|
|
|
|
<width>69</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QComboBox" name="comboBoxCurrentBit">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>100</x>
|
|
|
|
<y>220</y>
|
|
|
|
<width>69</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="lineEditCurrentAdr">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>100</x>
|
|
|
|
<y>140</y>
|
|
|
|
<width>51</width>
|
|
|
|
<height>20</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QComboBox" name="comboBoxNewSpeed">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>240</x>
|
|
|
|
<y>180</y>
|
|
|
|
<width>69</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QComboBox" name="comboBoxNewBit">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>240</x>
|
|
|
|
<y>220</y>
|
|
|
|
<width>69</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" name="lineEditNewAdr">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>240</x>
|
|
|
|
<y>140</y>
|
|
|
|
<width>51</width>
|
|
|
|
<height>20</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton" name="pushButtonSetParam">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>240</x>
|
|
|
|
<y>260</y>
|
|
|
|
<width>75</width>
|
|
|
|
<height>23</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Присвоить</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>20</x>
|
|
|
|
<y>143</y>
|
|
|
|
<width>47</width>
|
|
|
|
<height>13</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Адрес</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>15</x>
|
|
|
|
<y>185</y>
|
|
|
|
<width>47</width>
|
|
|
|
<height>13</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Скорость</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>6</x>
|
|
|
|
<y>220</y>
|
|
|
|
<width>71</width>
|
|
|
|
<height>20</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Бит четности</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>80</x>
|
|
|
|
<y>120</y>
|
|
|
|
<width>111</width>
|
|
|
|
<height>231</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Текущий</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QPushButton" name="pushButtonDetectAuto">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>130</y>
|
|
|
|
<width>91</width>
|
|
|
|
<height>51</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Определить
|
|
|
|
автоматически</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="labelFound">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>6</x>
|
|
|
|
<y>190</y>
|
|
|
|
<width>101</width>
|
|
|
|
<height>31</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>230</x>
|
|
|
|
<y>120</y>
|
|
|
|
<width>111</width>
|
|
|
|
<height>231</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Новый</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QLabel" name="labelResult">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>170</y>
|
|
|
|
<width>91</width>
|
|
|
|
<height>31</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
|
|
|
<widget class="QProgressBar" name="progressBar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>362</x>
|
|
|
|
<y>75</y>
|
|
|
|
<width>20</width>
|
|
|
|
<height>251</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>10000</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>24</number>
|
|
|
|
</property>
|
|
|
|
<property name="textVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2023-11-17 09:24:13 +03:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
2023-11-24 14:08:11 +03:00
|
|
|
<property name="invertedAppearance">
|
|
|
|
<bool>false</bool>
|
2023-11-17 09:24:13 +03:00
|
|
|
</property>
|
|
|
|
</widget>
|
2023-11-24 14:08:11 +03:00
|
|
|
<widget class="QComboBox" name="comboBoxPort">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>100</x>
|
2023-12-07 16:57:51 +03:00
|
|
|
<y>90</y>
|
2023-11-24 14:08:11 +03:00
|
|
|
<width>69</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>30</x>
|
2023-12-07 16:57:51 +03:00
|
|
|
<y>90</y>
|
2023-11-24 14:08:11 +03:00
|
|
|
<width>47</width>
|
|
|
|
<height>13</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Порт</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2023-12-07 16:57:51 +03:00
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>20</x>
|
|
|
|
<y>50</y>
|
|
|
|
<width>361</width>
|
|
|
|
<height>31</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Убедитесь что к шине подключен только один прибор</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2023-11-24 14:08:11 +03:00
|
|
|
<zorder>groupBox_2</zorder>
|
|
|
|
<zorder>groupBox</zorder>
|
|
|
|
<zorder>label</zorder>
|
|
|
|
<zorder>label_2</zorder>
|
|
|
|
<zorder>comboBoxCurrentSpeed</zorder>
|
|
|
|
<zorder>comboBoxCurrentBit</zorder>
|
|
|
|
<zorder>lineEditCurrentAdr</zorder>
|
|
|
|
<zorder>comboBoxNewSpeed</zorder>
|
|
|
|
<zorder>comboBoxNewBit</zorder>
|
|
|
|
<zorder>lineEditNewAdr</zorder>
|
|
|
|
<zorder>pushButtonSetParam</zorder>
|
|
|
|
<zorder>label_3</zorder>
|
|
|
|
<zorder>label_4</zorder>
|
|
|
|
<zorder>label_5</zorder>
|
|
|
|
<zorder>progressBar</zorder>
|
|
|
|
<zorder>comboBoxPort</zorder>
|
|
|
|
<zorder>label_6</zorder>
|
2023-12-07 16:57:51 +03:00
|
|
|
<zorder>label_7</zorder>
|
2023-11-17 09:24:13 +03:00
|
|
|
</widget>
|
|
|
|
<resources/>
|
2023-11-24 14:08:11 +03:00
|
|
|
<connections/>
|
2023-11-17 09:24:13 +03:00
|
|
|
</ui>
|