Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>FreeMonitorWidget</class>
- <widget class="QWidget" name="FreeMonitorWidget">
- <property name="minimumSize">
- <size><width>620</width><height>190</height></size>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing"><number>6</number></property>
- <property name="leftMargin"><number>0</number></property>
- <property name="topMargin"><number>0</number></property>
- <property name="rightMargin"><number>0</number></property>
- <property name="bottomMargin"><number>0</number></property>
- <item>
- <layout class="QGridLayout" name="commandLayout">
- <item row="0" column="0"><widget class="QLabel" name="addressLabel"><property name="text"><string>起始地址</string></property></widget></item>
- <item row="0" column="1"><widget class="QLineEdit" name="addressEdit"><property name="minimumSize"><size><width>90</width><height>0</height></size></property><property name="maximumSize"><size><width>160</width><height>16777215</height></size></property><property name="placeholderText"><string>M0 或 D0</string></property><property name="clearButtonEnabled"><bool>true</bool></property></widget></item>
- <item row="0" column="2"><widget class="QLabel" name="dataTypeLabel"><property name="text"><string>类型</string></property></widget></item>
- <item row="0" column="3"><widget class="QComboBox" name="dataTypeComboBox"><item><property name="text"><string>Int16</string></property></item><item><property name="text"><string>Int32</string></property></item><item><property name="text"><string>Float32</string></property></item><item><property name="text"><string>Double (Float64)</string></property></item></widget></item>
- <item row="0" column="4"><widget class="QLabel" name="countLabel"><property name="text"><string>连续个数</string></property></widget></item>
- <item row="0" column="5"><widget class="QSpinBox" name="countSpinBox"><property name="minimum"><number>1</number></property><property name="maximum"><number>64</number></property><property name="value"><number>1</number></property></widget></item>
- <item row="0" column="6"><widget class="QPushButton" name="addButton"><property name="text"><string>添加</string></property></widget></item>
- <item row="0" column="7"><spacer name="firstRowSpacer"><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 row="1" column="0"><widget class="QToolButton" name="removeButton"><property name="toolTip"><string>删除选中的监控地址</string></property><property name="text"><string>删除</string></property></widget></item>
- <item row="1" column="1"><widget class="QToolButton" name="clearButton"><property name="toolTip"><string>清空监控表</string></property><property name="text"><string>清空</string></property></widget></item>
- <item row="1" column="2"><widget class="QLabel" name="editingSourceLabel"><property name="visible"><bool>false</bool></property><property name="text"><string>监控数据</string></property></widget></item>
- <item row="1" column="3"><widget class="QComboBox" name="editingSourceComboBox"><property name="visible"><bool>false</bool></property><property name="minimumSize"><size><width>135</width><height>0</height></size></property><property name="maximumSize"><size><width>180</width><height>16777215</height></size></property><item><property name="text"><string>离线 M/D</string></property></item><item><property name="text"><string>真机 PLC M/D</string></property></item></widget></item>
- <item row="1" column="4" colspan="4"><widget class="QLabel" name="sourceLabel"><property name="text"><string>数据源:未启用</string></property><property name="alignment"><set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set></property></widget></item>
- </layout>
- </item>
- <item>
- <widget class="QTableWidget" name="monitorTable">
- <property name="alternatingRowColors"><bool>true</bool></property>
- <property name="selectionMode"><enum>QAbstractItemView::ExtendedSelection</enum></property>
- <property name="selectionBehavior"><enum>QAbstractItemView::SelectRows</enum></property>
- <property name="editTriggers"><set>QAbstractItemView::NoEditTriggers</set></property>
- <property name="showGrid"><bool>true</bool></property>
- <property name="columnCount"><number>6</number></property>
- <property name="rowCount"><number>0</number></property>
- <column><property name="text"><string>地址</string></property></column>
- <column><property name="text"><string>类型</string></property></column>
- <column><property name="text"><string>当前值</string></property></column>
- <column><property name="text"><string>目标值</string></property></column>
- <column><property name="text"><string>写入</string></property></column>
- <column><property name="text"><string>状态</string></property></column>
- </widget>
- </item>
- </layout>
- </widget>
- <resources/>
- <connections/>
- </ui>
|