testtrdlg.ui

来自「这个是从外网下的中英文切换的例子」· UI 代码 · 共 71 行

UI
71
字号
<ui version="4.0" > <class>Dialog</class> <widget class="QDialog" name="Dialog" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>268</width>    <height>166</height>   </rect>  </property>  <property name="windowTitle" >   <string>Dialog</string>  </property>  <widget class="QPushButton" name="engBtn" >   <property name="geometry" >    <rect>     <x>14</x>     <y>30</y>     <width>121</width>     <height>23</height>    </rect>   </property>   <property name="text" >    <string>English</string>   </property>  </widget>  <widget class="QPushButton" name="chsBtn" >   <property name="geometry" >    <rect>     <x>160</x>     <y>30</y>     <width>91</width>     <height>23</height>    </rect>   </property>   <property name="text" >    <string>Chinese</string>   </property>  </widget>  <widget class="QPushButton" name="loveBtn" >   <property name="geometry" >    <rect>     <x>20</x>     <y>100</y>     <width>121</width>     <height>23</height>    </rect>   </property>   <property name="text" >    <string>I Love My Family</string>   </property>  </widget>  <widget class="QPushButton" name="testBtn" >   <property name="geometry" >    <rect>     <x>160</x>     <y>100</y>     <width>91</width>     <height>23</height>    </rect>   </property>   <property name="text" >    <string>test tr</string>   </property>  </widget> </widget> <resources/> <connections/></ui>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?