📄 newvariable.ui
字号:
<ui version="4.0" > <class>NewVariable</class> <widget class="QDialog" name="NewVariable" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>436</width> <height>269</height> </rect> </property> <property name="windowTitle" > <string>Dialog</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> <widget class="QLabel" name="label" > <property name="text" > <string>New Variable :</string> </property> </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 row="1" column="0" > <widget class="QGroupBox" name="groupBox" > <property name="title" > <string>Qt Variables</string> </property> <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <widget class="QComboBox" name="comboVariables" /> </item> </layout> </widget> </item> <item row="2" column="0" > <widget class="QGroupBox" name="groupUserVariable" > <property name="title" > <string>User Variable</string> </property> <property name="checkable" > <bool>true</bool> </property> <property name="checked" > <bool>false</bool> </property> <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="0" > <widget class="QLabel" name="label_2" > <property name="text" > <string>Variable :</string> </property> </widget> </item> <item row="0" column="1" > <widget class="QLineEdit" name="userVariable" /> </item> </layout> </widget> </item> <item row="3" column="0" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_3" > <property name="text" > <string>Operator :</string> </property> </widget> </item> <item> <widget class="QComboBox" name="comboOperator" > <item> <property name="text" > <string>=</string> </property> </item> <item> <property name="text" > <string>+=</string> </property> </item> <item> <property name="text" > <string>-=</string> </property> </item> <item> <property name="text" > <string>*=</string> </property> </item> <item> <property name="text" > <string>~=</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 row="4" 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> </layout> </widget> <resources/> <connections> <connection> <sender>okButton</sender> <signal>clicked()</signal> <receiver>NewVariable</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>331</x> <y>196</y> </hint> <hint type="destinationlabel" > <x>96</x> <y>233</y> </hint> </hints> </connection> <connection> <sender>cancelButton</sender> <signal>clicked()</signal> <receiver>NewVariable</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>424</x> <y>196</y> </hint> <hint type="destinationlabel" > <x>179</x> <y>233</y> </hint> </hints> </connection> <connection> <sender>groupUserVariable</sender> <signal>toggled(bool)</signal> <receiver>groupBox</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel" > <x>46</x> <y>131</y> </hint> <hint type="destinationlabel" > <x>56</x> <y>71</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -