QuiltingHMI/sharedviews/numerinputdialog.ui
2024-02-06 15:10:48 +08:00

1053 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NumerInputDialog</class>
<widget class="QDialog" name="NumerInputDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>545</width>
<height>467</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QPushButton" name="buttonClean">
<property name="geometry">
<rect>
<x>120</x>
<y>116</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>C</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonDec1000">
<property name="geometry">
<rect>
<x>340</x>
<y>114</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">-1000</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="MyButton" name="buttonCancel">
<property name="geometry">
<rect>
<x>440</x>
<y>408</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonInc1000">
<property name="geometry">
<rect>
<x>440</x>
<y>114</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">+1000</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonDec1">
<property name="geometry">
<rect>
<x>340</x>
<y>288</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">-1</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum6">
<property name="geometry">
<rect>
<x>220</x>
<y>232</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">6</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum8">
<property name="geometry">
<rect>
<x>119</x>
<y>174</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">8</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="labelRange">
<property name="geometry">
<rect>
<x>330</x>
<y>70</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>(0~3000)rmp</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="buttonInc10">
<property name="geometry">
<rect>
<x>440</x>
<y>230</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">+10</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum00">
<property name="geometry">
<rect>
<x>20</x>
<y>348</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">00</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum9">
<property name="geometry">
<rect>
<x>220</x>
<y>174</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">9</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="labelValue">
<property name="geometry">
<rect>
<x>22</x>
<y>64</y>
<width>284</width>
<height>44</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(255, 255, 255);
</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="buttonInc100">
<property name="geometry">
<rect>
<x>440</x>
<y>172</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">+100</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonInc1">
<property name="geometry">
<rect>
<x>440</x>
<y>288</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">+1</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonPoint">
<property name="geometry">
<rect>
<x>220</x>
<y>348</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true"></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonDec100">
<property name="geometry">
<rect>
<x>340</x>
<y>172</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">-100</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum5">
<property name="geometry">
<rect>
<x>119</x>
<y>232</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">5</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="MyButton" name="buttonOk">
<property name="geometry">
<rect>
<x>340</x>
<y>408</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum7">
<property name="geometry">
<rect>
<x>18</x>
<y>174</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">7</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum4">
<property name="geometry">
<rect>
<x>18</x>
<y>232</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">4</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QLabel" name="labelTitle">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>545</width>
<height>48</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string> Number input</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QPushButton" name="buttonDelete">
<property name="geometry">
<rect>
<x>220</x>
<y>116</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string></string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonPlusMinus">
<property name="geometry">
<rect>
<x>18</x>
<y>116</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">-/+</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum2">
<property name="geometry">
<rect>
<x>119</x>
<y>290</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">2</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum0">
<property name="geometry">
<rect>
<x>119</x>
<y>348</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">0</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum1">
<property name="geometry">
<rect>
<x>18</x>
<y>290</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">1</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonInc01">
<property name="geometry">
<rect>
<x>440</x>
<y>346</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">+0.1</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonNum3">
<property name="geometry">
<rect>
<x>220</x>
<y>290</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>61</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">3</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonDec01">
<property name="geometry">
<rect>
<x>340</x>
<y>346</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">-0.1</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="buttonDec10">
<property name="geometry">
<rect>
<x>340</x>
<y>230</y>
<width>92</width>
<height>50</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>90</width>
<height>10</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>80</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string notr="true">-10</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QFrame" name="frameBack">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>545</width>
<height>467</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
<zorder>frameBack</zorder>
<zorder>buttonClean</zorder>
<zorder>buttonDec1000</zorder>
<zorder>buttonCancel</zorder>
<zorder>buttonInc1000</zorder>
<zorder>buttonDec1</zorder>
<zorder>buttonNum6</zorder>
<zorder>buttonNum8</zorder>
<zorder>labelRange</zorder>
<zorder>buttonInc10</zorder>
<zorder>buttonNum00</zorder>
<zorder>buttonNum9</zorder>
<zorder>labelValue</zorder>
<zorder>buttonInc100</zorder>
<zorder>buttonInc1</zorder>
<zorder>buttonPoint</zorder>
<zorder>buttonDec100</zorder>
<zorder>buttonNum5</zorder>
<zorder>buttonOk</zorder>
<zorder>buttonNum7</zorder>
<zorder>buttonNum4</zorder>
<zorder>labelTitle</zorder>
<zorder>buttonDelete</zorder>
<zorder>buttonPlusMinus</zorder>
<zorder>buttonNum2</zorder>
<zorder>buttonNum0</zorder>
<zorder>buttonNum1</zorder>
<zorder>buttonInc01</zorder>
<zorder>buttonNum3</zorder>
<zorder>buttonDec01</zorder>
<zorder>buttonDec10</zorder>
</widget>
<customwidgets>
<customwidget>
<class>MyButton</class>
<extends>QPushButton</extends>
<header location="global">sharedviews/mybutton.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>