604 lines
14 KiB
XML
604 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>CounterEditor</class>
|
||
<widget class="QWidget" name="CounterEditor">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>732</width>
|
||
<height>522</height>
|
||
</rect>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QWidget {
|
||
font-size: 16px;
|
||
}</string>
|
||
</property>
|
||
<widget class="QSpinBox" name="spinBoxCnt2EndValue">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>369</x>
|
||
<y>122</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true"/>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>9999999</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>9999</number>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_27">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>475</x>
|
||
<y>122</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string>重复数: </string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinBoxCnt2RepeateCnt">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>581</x>
|
||
<y>122</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>65535</number>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinBoxCnt2StepValue">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>157</x>
|
||
<y>179</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>-49999999</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>49999999</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="labelCnt2CurrValue">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>475</x>
|
||
<y>179</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="font">
|
||
<font>
|
||
<pointsize>-1</pointsize>
|
||
</font>
|
||
</property>
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_25">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>51</x>
|
||
<y>122</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string>起始值: </string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinBoxCnt2StartValue">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>157</x>
|
||
<y>122</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>999999</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
<widget class="QLabel" name="label_11">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>263</x>
|
||
<y>122</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string>结束值: </string>
|
||
</property>
|
||
<property name="alignment">
|
||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||
</property>
|
||
</widget>
|
||
<widget class="QSpinBox" name="spinBoxCnt2CurrValue">
|
||
<property name="enabled">
|
||
<bool>false</bool>
|
||
</property>
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>369</x>
|
||
<y>179</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>999999999</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
<widget class="QWidget" name="widget_2" native="true">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>270</x>
|
||
<y>179</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<property name="leftMargin">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>1</number>
|
||
</property>
|
||
<item>
|
||
<spacer name="horizontalSpacer_3">
|
||
<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="QCheckBox" name="checkBoxResetCnt2CurrValue">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>0</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QRadioButton::indicator {
|
||
width: 25px;
|
||
height: 25px;
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>当前值: </string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="widget_3" native="true">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>56</x>
|
||
<y>179</y>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
<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>
|
||
<spacer name="horizontalSpacer_4">
|
||
<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="QCheckBox" name="eleCNT2IncEn">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>0</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>50</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">QRadioButton::indicator {
|
||
width: 25px;
|
||
height: 25px;
|
||
}</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>增量值: </string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QLabel" name="label">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>70</x>
|
||
<y>60</y>
|
||
<width>81</width>
|
||
<height>31</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>计数器ID:</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QComboBox" name="cbBoxCounterType">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>160</x>
|
||
<y>60</y>
|
||
<width>121</width>
|
||
<height>31</height>
|
||
</rect>
|
||
</property>
|
||
<item>
|
||
<property name="text">
|
||
<string>计数器1</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>计数器2</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>370</x>
|
||
<y>60</y>
|
||
<width>91</width>
|
||
<height>31</height>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>计数器位数:</string>
|
||
</property>
|
||
</widget>
|
||
<widget class="QComboBox" name="cbBoxDigitalNum">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>470</x>
|
||
<y>60</y>
|
||
<width>101</width>
|
||
<height>31</height>
|
||
</rect>
|
||
</property>
|
||
<item>
|
||
<property name="text">
|
||
<string>1</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>2</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>3</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>4</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>5</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>6</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>7</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>8</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|