phonebookeditdlg.ui
来自「KDE下的西门子手机管理程序」· UI 代码 · 共 190 行
UI
190 行
<!DOCTYPE UI><UI><class>PhonebookEditDialog</class><comment>implements a simple dialog to edit a phonebook entry</comment><author>Matthias Welwarsky</author><widget> <class>QDialog</class> <property stdset="1"> <name>name</name> <cstring>phonebookEditDlg</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>400</width> <height>151</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Phonebook Editor</string> </property> <property stdset="1"> <name>sizeGripEnabled</name> <bool>true</bool> </property> <property stdset="1"> <name>minimumSize</name> <size> <width>400</width> <height>150</height> </size> </property> <vbox> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QGroupBox</class> <property stdset="1"> <name>name</name> <cstring>GroupBox1</cstring> </property> <property stdset="1"> <name>title</name> <string>Edit Phonebook Entry</string> </property> <grid> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget row="0" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel1</cstring> </property> <property stdset="1"> <name>text</name> <string>Name:</string> </property> </widget> <widget row="1" column="0" > <class>QLabel</class> <property stdset="1"> <name>name</name> <cstring>TextLabel2</cstring> </property> <property stdset="1"> <name>text</name> <string>Number:</string> </property> </widget> <widget row="0" column="1" > <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>nameEdit</cstring> </property> </widget> <widget row="1" column="1" > <class>QLineEdit</class> <property stdset="1"> <name>name</name> <cstring>numberEdit</cstring> </property> </widget> </grid> </widget> <widget> <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout1</cstring> </property> <hbox> <property stdset="1"> <name>margin</name> <number>0</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <spacer> <property> <name>name</name> <cstring>Horizontal Spacing2</cstring> </property> <property stdset="1"> <name>orientation</name> <enum>Horizontal</enum> </property> <property stdset="1"> <name>sizeType</name> <enum>Expanding</enum> </property> <property> <name>sizeHint</name> <size> <width>20</width> <height>20</height> </size> </property> </spacer> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonOk</cstring> </property> <property stdset="1"> <name>text</name> <string>&OK</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property stdset="1"> <name>default</name> <bool>true</bool> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonCancel</cstring> </property> <property stdset="1"> <name>text</name> <string>&Cancel</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> </widget> </hbox> </widget> </vbox></widget><connections> <connection> <sender>buttonOk</sender> <signal>clicked()</signal> <receiver>phonebookEditDlg</receiver> <slot>accept()</slot> </connection> <connection> <sender>buttonCancel</sender> <signal>clicked()</signal> <receiver>phonebookEditDlg</receiver> <slot>reject()</slot> </connection></connections></UI>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?