📄 newproject.ui
字号:
<string>bin</string> </property> </widget> </item> </layout> </item> </layout> </item> <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_6" > <property name="text" > <string>sources:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label_8" > <property name="text" > <string>Objects:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </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="srcDirectory" > <property name="text" > <string>src</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="buildDirectory" > <property name="text" > <string>build</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> </item> <item row="2" column="0" colspan="2" > <widget class="QGroupBox" name="groupBox_4" > <property name="title" > <string>Inheritance subclassing</string> </property> <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="4" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLineEdit" name="uiObjectName" > <property name="text" > <string>Dialog</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="subclassObjectName" > <property name="text" > <string>DialogImpl</string> </property> </widget> </item> </layout> </item> <item row="0" column="3" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_10" > <property name="text" > <string>Object name:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label_13" > <property name="text" > <string>Object name:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> <item row="0" column="2" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLineEdit" name="uiFilename" > <property name="text" > <string>dialog</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="subclassFilename" > <property name="text" > <string>dialogimpl</string> </property> </widget> </item> </layout> </item> <item row="0" column="1" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_4" > <property name="text" > <string>File name:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label_5" > <property name="text" > <string>File name:</string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> <item row="0" column="0" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_11" > <property name="text" > <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Dialog:</span></p></body></html></string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item> <widget class="QLabel" name="label_12" > <property name="text" > <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Subclass:</span></p></body></html></string> </property> <property name="alignment" > <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> <tabstops> <tabstop>projectName</tabstop> <tabstop>location</tabstop> <tabstop>locationButton</tabstop> <tabstop>srcDirectory</tabstop> <tabstop>uiDirectory</tabstop> <tabstop>buildDirectory</tabstop> <tabstop>binDirectory</tabstop> <tabstop>uiFilename</tabstop> <tabstop>subclassFilename</tabstop> <tabstop>uiObjectName</tabstop> <tabstop>subclassObjectName</tabstop> <tabstop>release</tabstop> <tabstop>parentProjectName</tabstop> <tabstop>okButton</tabstop> <tabstop>cancelButton</tabstop> <tabstop>mainwindow</tabstop> <tabstop>dialog</tabstop> <tabstop>empty</tabstop> <tabstop>debug</tabstop> </tabstops> <resources> <include location="../resources/resources.qrc" /> </resources> <connections> <connection> <sender>okButton</sender> <signal>clicked()</signal> <receiver>NewProject</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>477</x> <y>309</y> </hint> <hint type="destinationlabel" > <x>96</x> <y>254</y> </hint> </hints> </connection> <connection> <sender>cancelButton</sender> <signal>clicked()</signal> <receiver>NewProject</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>570</x> <y>309</y> </hint> <hint type="destinationlabel" > <x>179</x> <y>282</y> </hint> </hints> </connection> <connection> <sender>dialog</sender> <signal>toggled(bool)</signal> <receiver>groupBox_4</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>61</x> <y>48</y> </hint> <hint type="destinationlabel" > <x>318</x> <y>186</y> </hint> </hints> </connection> <connection> <sender>mainwindow</sender> <signal>toggled(bool)</signal> <receiver>groupBox_4</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>91</x> <y>77</y> </hint> <hint type="destinationlabel" > <x>382</x> <y>186</y> </hint> </hints> </connection> <connection> <sender>empty</sender> <signal>toggled(bool)</signal> <receiver>groupBox_4</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>102</x> <y>136</y> </hint> <hint type="destinationlabel" > <x>450</x> <y>186</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -