mytest3dialogbase.ui
来自「该源代码是在liunx下使用QT语言开发的一个猜数字练习程序」· UI 代码 · 共 94 行
UI
94 行
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>MyTest3DialogBase</class>
<widget class="QDialog">
<property name="name">
<cstring>MyTest3DialogBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>300</width>
<height>285</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="backgroundOrigin">
<enum>WidgetOrigin</enum>
</property>
<property name="cursor">
<cursor>0</cursor>
</property>
<property name="caption">
<string>Guess QT version</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<widget class="QLineEdit">
<property name="name">
<cstring>GuessInput</cstring>
</property>
<property name="geometry">
<rect>
<x>190</x>
<y>80</y>
<width>80</width>
<height>21</height>
</rect>
</property>
<property name="maxLength">
<number>4</number>
</property>
<property name="alignment">
<set>AlignHCenter</set>
</property>
</widget>
<widget class="QListBox">
<item>
<property name="text">
<string>New Item</string>
</property>
</item>
<property name="name">
<cstring>OutList</cstring>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>140</width>
<height>240</height>
</rect>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
<property name="frameShape">
<enum>WinPanel</enum>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>GuessEnsure</cstring>
</property>
<property name="geometry">
<rect>
<x>190</x>
<y>120</y>
<width>80</width>
<height>31</height>
</rect>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
<property name="text">
<string>纭
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?