⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 splitterform.ui

📁 Qt4源代码,详细介绍了Qt4编程中的范例
💻 UI
字号:
<ui version="4.0" > <class>Form</class> <widget class="QWidget" name="Form" >  <property name="geometry" >   <rect>    <x>0</x>    <y>0</y>    <width>400</width>    <height>300</height>   </rect>  </property>  <property name="windowTitle" >   <string>Form</string>  </property>  <layout class="QHBoxLayout" >   <item>    <widget class="QListWidget" name="listWidget" >     <property name="sizePolicy" >      <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >       <horstretch>1</horstretch>       <verstretch>0</verstretch>      </sizepolicy>     </property>     <item>      <property name="text" >       <string>个人设置</string>      </property>     </item>     <item>      <property name="text" >       <string>系统设置</string>      </property>     </item>    </widget>   </item>   <item>    <widget class="QStackedWidget" name="stackedWidget" >     <property name="sizePolicy" >      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >       <horstretch>2</horstretch>       <verstretch>0</verstretch>      </sizepolicy>     </property>     <property name="currentIndex" >      <number>0</number>     </property>     <widget class="QWidget" name="page" >      <layout class="QGridLayout" >       <item row="0" column="0" >        <widget class="QLabel" name="label" >         <property name="text" >          <string>姓名:</string>         </property>        </widget>       </item>       <item row="0" column="1" >        <widget class="QLineEdit" name="lineEdit" />       </item>       <item row="1" column="0" >        <widget class="QLabel" name="label_2" >         <property name="text" >          <string>性别:</string>         </property>        </widget>       </item>       <item row="1" column="1" >        <widget class="QLineEdit" name="lineEdit_2" />       </item>       <item row="2" column="0" >        <widget class="QLabel" name="label_3" >         <property name="text" >          <string>年龄:</string>         </property>        </widget>       </item>       <item row="2" column="1" >        <widget class="QLineEdit" name="lineEdit_3" />       </item>       <item row="3" column="0" >        <widget class="QLabel" name="label_4" >         <property name="text" >          <string>省份:</string>         </property>        </widget>       </item>       <item row="3" column="1" >        <widget class="QLineEdit" name="lineEdit_4" />       </item>       <item row="4" column="0" >        <widget class="QLabel" name="label_5" >         <property name="text" >          <string>城市:</string>         </property>        </widget>       </item>       <item row="4" column="1" >        <widget class="QLineEdit" name="lineEdit_5" />       </item>      </layout>     </widget>     <widget class="QWidget" name="page_3" >      <layout class="QGridLayout" >       <item row="0" column="0" >        <widget class="QLabel" name="label_6" >         <property name="text" >          <string>操作系统:</string>         </property>        </widget>       </item>       <item row="0" column="1" >        <widget class="QLineEdit" name="lineEdit_6" />       </item>       <item row="1" column="0" >        <widget class="QLabel" name="label_7" >         <property name="text" >          <string>处理器:</string>         </property>        </widget>       </item>       <item row="1" column="1" >        <widget class="QLineEdit" name="lineEdit_7" />       </item>       <item row="2" column="0" >        <widget class="QLabel" name="label_8" >         <property name="text" >          <string>内存大小:</string>         </property>        </widget>       </item>       <item row="2" column="1" >        <widget class="QLineEdit" name="lineEdit_8" />       </item>       <item row="3" column="0" >        <spacer>         <property name="orientation" >          <enum>Qt::Vertical</enum>         </property>         <property name="sizeHint" >          <size>           <width>20</width>           <height>40</height>          </size>         </property>        </spacer>       </item>      </layout>     </widget>    </widget>   </item>  </layout> </widget> <resources/> <connections>  <connection>   <sender>listWidget</sender>   <signal>currentRowChanged(int)</signal>   <receiver>stackedWidget</receiver>   <slot>setCurrentIndex(int)</slot>   <hints>    <hint type="sourcelabel" >     <x>77</x>     <y>99</y>    </hint>    <hint type="destinationlabel" >     <x>145</x>     <y>69</y>    </hint>   </hints>  </connection> </connections></ui>

⌨️ 快捷键说明

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