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

📄 mydialog.ui

📁 一个小的qt3程序
💻 UI
字号:
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"><class>MyDialog</class><widget class="QDialog">    <property name="name">        <cstring>MyDialog</cstring>    </property>    <property name="geometry">        <rect>            <x>0</x>            <y>0</y>            <width>297</width>            <height>200</height>        </rect>    </property>    <property name="caption">        <string>MyDialog</string>    </property>    <property name="sizeGripEnabled">        <bool>true</bool>    </property>    <widget class="QPushButton">        <property name="name">            <cstring>pushButton1</cstring>        </property>        <property name="geometry">            <rect>                <x>210</x>                <y>30</y>                <width>60</width>                <height>21</height>            </rect>        </property>        <property name="font">            <font>                <pointsize>18</pointsize>            </font>        </property>        <property name="text">            <string>OK</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>pushButton2</cstring>        </property>        <property name="geometry">            <rect>                <x>200</x>                <y>70</y>                <width>70</width>                <height>21</height>            </rect>        </property>        <property name="font">            <font>                <pointsize>18</pointsize>            </font>        </property>        <property name="text">            <string>CANCEL</string>        </property>    </widget>    <widget class="QLCDNumber">        <property name="name">            <cstring>lCDNumber1</cstring>        </property>        <property name="geometry">            <rect>                <x>30</x>                <y>40</y>                <width>111</width>                <height>41</height>            </rect>        </property>    </widget>    <widget class="QSlider">        <property name="name">            <cstring>slider1</cstring>        </property>        <property name="geometry">            <rect>                <x>30</x>                <y>110</y>                <width>111</width>                <height>24</height>            </rect>        </property>        <property name="orientation">            <enum>Horizontal</enum>        </property>    </widget></widget><connections>    <connection>        <sender>pushButton1</sender>        <signal>clicked()</signal>        <receiver>MyDialog</receiver>        <slot>accept()</slot>    </connection>    <connection>        <sender>pushButton2</sender>        <signal>clicked()</signal>        <receiver>MyDialog</receiver>        <slot>reject()</slot>    </connection>    <connection>        <sender>slider1</sender>        <signal>valueChanged(int)</signal>        <receiver>MyDialog</receiver>        <slot>newSlot(int)</slot>    </connection>    <connection>        <sender>slider1</sender>        <signal>valueChanged(int)</signal>        <receiver>lCDNumber1</receiver>        <slot>display(int)</slot>    </connection></connections><includes>    <include location="local" impldecl="in implementation">mydialog.ui.h</include></includes><slots>    <slot>newSlot( int x )</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>

⌨️ 快捷键说明

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