📄 addnewclassmethod.ui
字号:
<ui version="4.0" > <class>AddNewClassMethod</class> <widget class="QDialog" name="AddNewClassMethod" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>358</width> <height>225</height> </rect> </property> <property name="windowTitle" > <string>Add New Method</string> </property> <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label" > <property name="text" > <string>Method Name:</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_9" > <property name="text" > <string>Return type:</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_2" > <property name="text" > <string>Parameters:</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_8" > <property name="text" > <string>Scope:</string> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLineEdit" name="methodName" /> </item> <item> <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QComboBox" name="returnType" > <property name="editable" > <bool>true</bool> </property> <item> <property name="text" > <string>void</string> </property> </item> <item> <property name="text" > <string>bool</string> </property> </item> <item> <property name="text" > <string>char</string> </property> </item> <item> <property name="text" > <string>short</string> </property> </item> <item> <property name="text" > <string>long</string> </property> </item> <item> <property name="text" > <string>int</string> </property> </item> <item> <property name="text" > <string>signed</string> </property> </item> <item> <property name="text" > <string>unsigned</string> </property> </item> <item> <property name="text" > <string>float</string> </property> </item> <item> <property name="text" > <string>double</string> </property> </item> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QLineEdit" name="parameters" /> </item> <item> <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QComboBox" name="scope" > <property name="enabled" > <bool>true</bool> </property> <property name="editable" > <bool>false</bool> </property> <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> <item> <property name="text" > <string>public slots</string> </property> </item> <item> <property name="text" > <string>protected slots</string> </property> </item> <item> <property name="text" > <string>private slots</string> </property> </item> <item> <property name="text" > <string>signals</string> </property> </item> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </item> </layout> </item> <item row="1" column="0" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QCheckBox" name="Inline" > <property name="text" > <string>Inline</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="Virtual" > <property name="text" > <string>Virtual</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="Static" > <property name="text" > <string>Static</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="Pure" > <property name="text" > <string>Pure</string> </property> </widget> </item> </layout> </item> <item row="3" column="0" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>131</width> <height>31</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="okButton" > <property name="text" > <string>OK</string> </property> </widget> </item> <item> <widget class="QPushButton" name="cancelButton" > <property name="text" > <string>Cancel</string> </property> </widget> </item> </layout> </item> <item row="2" column="0" > <spacer> <property name="orientation" > <enum>Qt::Vertical</enum> </property> <property name="sizeHint" > <size> <width>340</width> <height>16</height> </size> </property> </spacer> </item> </layout> </widget> <tabstops> <tabstop>methodName</tabstop> <tabstop>returnType</tabstop> <tabstop>scope</tabstop> <tabstop>parameters</tabstop> <tabstop>Inline</tabstop> <tabstop>Virtual</tabstop> <tabstop>Static</tabstop> <tabstop>Pure</tabstop> <tabstop>okButton</tabstop> <tabstop>cancelButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>cancelButton</sender> <signal>clicked()</signal> <receiver>AddNewClassMethod</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>347</x> <y>212</y> </hint> <hint type="destinationlabel" > <x>179</x> <y>224</y> </hint> </hints> </connection> <connection> <sender>Pure</sender> <signal>toggled(bool)</signal> <receiver>Virtual</receiver> <slot>setOn(bool)</slot> <hints> <hint type="sourcelabel" > <x>282</x> <y>149</y> </hint> <hint type="destinationlabel" > <x>114</x> <y>154</y> </hint> </hints> </connection> <connection> <sender>Pure</sender> <signal>toggled(bool)</signal> <receiver>Static</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>287</x> <y>142</y> </hint> <hint type="destinationlabel" > <x>218</x> <y>149</y> </hint> </hints> </connection> <connection> <sender>Pure</sender> <signal>toggled(bool)</signal> <receiver>Virtual</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>269</x> <y>139</y> </hint> <hint type="destinationlabel" > <x>125</x> <y>141</y> </hint> </hints> </connection> <connection> <sender>Pure</sender> <signal>toggled(bool)</signal> <receiver>Inline</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>307</x> <y>147</y> </hint> <hint type="destinationlabel" > <x>50</x> <y>147</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -