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

📄 mainform.ui

📁 在Linux底下用QtDesigner开发的一个进程同步例子。基本思想是设计一个缓冲区(循环队列)
💻 UI
字号:
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"><class>mainForm</class><widget class="QMainWindow">    <property name="name">        <cstring>mainForm</cstring>    </property>    <property name="geometry">        <rect>            <x>0</x>            <y>0</y>            <width>426</width>            <height>421</height>        </rect>    </property>    <property name="caption">        <string>Form1</string>    </property>    <widget class="QPushButton">        <property name="name">            <cstring>pushButton4</cstring>        </property>        <property name="geometry">            <rect>                <x>260</x>                <y>290</y>                <width>76</width>                <height>29</height>            </rect>        </property>        <property name="text">            <string>Get</string>        </property>    </widget>    <widget class="QLabel">        <property name="name">            <cstring>textLabel3</cstring>        </property>        <property name="geometry">            <rect>                <x>10</x>                <y>240</y>                <width>60</width>                <height>20</height>            </rect>        </property>        <property name="text">            <string>Radius</string>        </property>    </widget>    <widget class="QPushButton">        <property name="name">            <cstring>pushButton3</cstring>        </property>        <property name="geometry">            <rect>                <x>90</x>                <y>290</y>                <width>76</width>                <height>29</height>            </rect>        </property>        <property name="text">            <string>Add</string>        </property>    </widget>    <widget class="QLabel">        <property name="name">            <cstring>textLabel2</cstring>        </property>        <property name="geometry">            <rect>                <x>0</x>                <y>190</y>                <width>60</width>                <height>20</height>            </rect>        </property>        <property name="text">            <string>Y location</string>        </property>    </widget>    <widget class="QLabel">        <property name="name">            <cstring>textLabel1</cstring>        </property>        <property name="geometry">            <rect>                <x>0</x>                <y>140</y>                <width>60</width>                <height>20</height>            </rect>        </property>        <property name="text">            <string>X location</string>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit5</cstring>        </property>        <property name="geometry">            <rect>                <x>240</x>                <y>190</y>                <width>108</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit6</cstring>        </property>        <property name="geometry">            <rect>                <x>240</x>                <y>240</y>                <width>108</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit2</cstring>        </property>        <property name="geometry">            <rect>                <x>80</x>                <y>190</y>                <width>108</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit3</cstring>        </property>        <property name="geometry">            <rect>                <x>80</x>                <y>240</y>                <width>108</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit4</cstring>        </property>        <property name="geometry">            <rect>                <x>240</x>                <y>140</y>                <width>108</width>                <height>22</height>            </rect>        </property>    </widget>    <widget class="QLineEdit">        <property name="name">            <cstring>lineEdit1</cstring>        </property>        <property name="geometry">            <rect>                <x>80</x>                <y>140</y>                <width>108</width>                <height>22</height>            </rect>        </property>    </widget></widget><toolbars></toolbars><connections>    <connection>        <sender>pushButton3</sender>        <signal>clicked()</signal>        <receiver>mainForm</receiver>        <slot>addSlot()</slot>    </connection>    <connection>        <sender>pushButton4</sender>        <signal>clicked()</signal>        <receiver>mainForm</receiver>        <slot>GetSlot()</slot>    </connection></connections><includes>    <include location="local" impldecl="in implementation">mainForm.ui.h</include></includes><slots>    <slot>addSlot()</slot>    <slot>GetSlot()</slot></slots><pixmapinproject/><layoutdefaults spacing="6" margin="11"/></UI>

⌨️ 快捷键说明

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