editslots.ui

来自「qt-x11-free-3.0.3.tar.gz minigui图形界面工具」· UI 代码 · 共 601 行 · 第 1/2 页

UI
601
字号
                    <property name="orientation">                        <enum>Vertical</enum>                    </property>                    <property name="sizeType">                        <enum>Fixed</enum>                    </property>                    <property name="sizeHint">                        <size>                            <width>20</width>                            <height>16</height>                        </size>                    </property>                </spacer>                <widget class="QLayoutWidget">                    <property name="name">                        <cstring>Layout5</cstring>                    </property>                    <hbox>                        <property name="name">                            <cstring>unnamed</cstring>                        </property>                        <property name="margin">                            <number>0</number>                        </property>                        <property name="spacing">                            <number>6</number>                        </property>                        <widget class="QLabel">                            <property name="name">                                <cstring>Label9_2</cstring>                            </property>                            <property name="text">                                <string>S&amp;pecifier:</string>                            </property>                            <property name="alignment">                                <set>AlignAuto|AlignVCenter|AlignRight</set>                            </property>                            <property name="buddy" stdset="0">                                <cstring>slotSpecifier</cstring>                            </property>                        </widget>                        <widget class="QComboBox">                            <item>                                <property name="text">                                    <string>non virtual</string>                                </property>                            </item>                            <item>                                <property name="text">                                    <string>virtual</string>                                </property>                            </item>                            <item>                                <property name="text">                                    <string>pure virtual</string>                                </property>                            </item>                            <property name="name">                                <cstring>slotSpecifier</cstring>                            </property>                            <property name="sizePolicy">                                <sizepolicy>                                    <hsizetype>1</hsizetype>                                    <vsizetype>0</vsizetype>                                </sizepolicy>                            </property>                            <property name="toolTip" stdset="0">                                <string>Change slot access</string>                            </property>                            <property name="whatsThis" stdset="0">                                <string>&lt;b&gt;Change the access policy of the slot&lt;/b&gt;&lt;p&gt;All slots are created virtual and should be reimplemented in subclasses.&lt;/p&gt;</string>                            </property>                        </widget>                        <widget class="QLabel">                            <property name="name">                                <cstring>TextLabel1</cstring>                            </property>                            <property name="text">                                <string>&amp;Access:</string>                            </property>                            <property name="buddy" stdset="0">                                <cstring>slotAccess</cstring>                            </property>                        </widget>                        <widget class="QComboBox">                            <item>                                <property name="text">                                    <string>public</string>                                </property>                            </item>                            <item>                                <property name="text">                                    <string>protected</string>                                </property>                            </item>                            <item>                                <property name="text">                                    <string>private</string>                                </property>                            </item>                            <property name="name">                                <cstring>slotAccess</cstring>                            </property>                            <property name="sizePolicy">                                <sizepolicy>                                    <hsizetype>1</hsizetype>                                    <vsizetype>0</vsizetype>                                </sizepolicy>                            </property>                            <property name="toolTip" stdset="0">                                <string>Change slot access</string>                            </property>                            <property name="whatsThis" stdset="0">                                <string>&lt;b&gt;Change the access policy of the slot&lt;/b&gt;&lt;p&gt;All slots are created virtual and should be reimplemented in subclasses.&lt;/p&gt;</string>                            </property>                        </widget>                        <spacer>                            <property name="name">                                <cstring>Spacer6</cstring>                            </property>                            <property name="orientation">                                <enum>Horizontal</enum>                            </property>                            <property name="sizeType">                                <enum>Expanding</enum>                            </property>                            <property name="sizeHint">                                <size>                                    <width>20</width>                                    <height>20</height>                                </size>                            </property>                        </spacer>                    </hbox>                </widget>            </vbox>        </widget>        <widget class="QLayoutWidget">            <property name="name">                <cstring>Layout1</cstring>            </property>            <hbox>                <property name="name">                    <cstring>unnamed</cstring>                </property>                <property name="margin">                    <number>0</number>                </property>                <property name="spacing">                    <number>6</number>                </property>                <widget class="QPushButton">                    <property name="name">                        <cstring>helpButton</cstring>                    </property>                    <property name="text">                        <string>&amp;Help</string>                    </property>                    <property name="autoDefault">                        <bool>true</bool>                    </property>                </widget>                <spacer>                    <property name="name">                        <cstring>Horizontal Spacing2</cstring>                    </property>                    <property name="orientation">                        <enum>Horizontal</enum>                    </property>                    <property name="sizeType">                        <enum>Expanding</enum>                    </property>                    <property name="sizeHint">                        <size>                            <width>20</width>                            <height>20</height>                        </size>                    </property>                </spacer>                <widget class="QPushButton">                    <property name="name">                        <cstring>okButton</cstring>                    </property>                    <property name="text">                        <string>&amp;OK</string>                    </property>                    <property name="autoDefault">                        <bool>true</bool>                    </property>                    <property name="default">                        <bool>true</bool>                    </property>                    <property name="whatsThis" stdset="0">                        <string>Close the dialog and apply all the changes.</string>                    </property>                </widget>                <widget class="QPushButton">                    <property name="name">                        <cstring>cancelButton</cstring>                    </property>                    <property name="text">                        <string>&amp;Cancel</string>                    </property>                    <property name="autoDefault">                        <bool>true</bool>                    </property>                    <property name="whatsThis" stdset="0">                        <string>Close the dialog and discard any changes.</string>                    </property>                </widget>            </hbox>        </widget>    </vbox></widget><connections>    <connection language="C++">        <sender>cancelButton</sender>        <signal>clicked()</signal>        <receiver>EditSlotsBase</receiver>        <slot>reject()</slot>    </connection>    <connection language="C++">        <sender>okButton</sender>        <signal>clicked()</signal>        <receiver>EditSlotsBase</receiver>        <slot>okClicked()</slot>    </connection>    <connection language="C++">        <sender>deleteSlot</sender>        <signal>clicked()</signal>        <receiver>EditSlotsBase</receiver>        <slot>slotRemove()</slot>    </connection>    <connection language="C++">        <sender>addSlot</sender>        <signal>clicked()</signal>        <receiver>EditSlotsBase</receiver>        <slot>slotAdd()</slot>    </connection>    <connection language="C++">        <sender>slotName</sender>        <signal>textChanged(const QString&amp;)</signal>        <receiver>EditSlotsBase</receiver>        <slot>currentTextChanged(const QString&amp;)</slot>    </connection>    <connection language="C++">        <sender>slotListView</sender>        <signal>selectionChanged(QListViewItem*)</signal>        <receiver>EditSlotsBase</receiver>        <slot>currentItemChanged(QListViewItem*)</slot>    </connection>    <connection language="C++">        <sender>slotListView</sender>        <signal>currentChanged(QListViewItem*)</signal>        <receiver>EditSlotsBase</receiver>        <slot>currentItemChanged(QListViewItem*)</slot>    </connection>    <connection language="C++">        <sender>editType</sender>        <signal>textChanged(const QString&amp;)</signal>        <receiver>EditSlotsBase</receiver>        <slot>currentTypeChanged(const QString&amp;)</slot>    </connection>    <connection language="C++">        <sender>slotSpecifier</sender>        <signal>activated(const QString&amp;)</signal>        <receiver>EditSlotsBase</receiver>        <slot>currentSpecifierChanged(const QString&amp;)</slot>    </connection>    <connection language="C++">        <sender>slotAccess</sender>        <signal>activated(const QString&amp;)</signal>        <receiver>EditSlotsBase</receiver>        <slot>currentAccessChanged(const QString&amp;)</slot>    </connection>    <slot access="protected" specifier="" language="C++" returnType="void">currentItemChanged( QListViewItem * )</slot>    <slot access="protected" specifier="" language="C++" returnType="void">currentSpecifierChanged( const QString &amp; )</slot>    <slot access="protected" specifier="" language="C++" returnType="void">currentTextChanged( const QString &amp; )</slot>    <slot access="protected" specifier="" language="C++" returnType="void">currentTypeChanged( const QString &amp; )</slot>    <slot access="protected" specifier="" language="C++" returnType="void">destroy()</slot>    <slot access="protected" specifier="" language="C++" returnType="void">init()</slot>    <slot access="public" specifier="" language="C++" returnType="void">currentAccessChanged( const QString &amp; )</slot>    <slot access="protected" specifier="" language="C++" returnType="void">okClicked()</slot>    <slot access="protected" specifier="" language="C++" returnType="void">slotAdd()</slot>    <slot access="protected" specifier="" language="C++" returnType="void">slotRemove()</slot></connections><tabstops>    <tabstop>slotName</tabstop>    <tabstop>editType</tabstop>    <tabstop>slotSpecifier</tabstop>    <tabstop>slotAccess</tabstop>    <tabstop>helpButton</tabstop>    <tabstop>okButton</tabstop>    <tabstop>cancelButton</tabstop>    <tabstop>slotListView</tabstop>    <tabstop>addSlot</tabstop>    <tabstop>deleteSlot</tabstop></tabstops></UI>

⌨️ 快捷键说明

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