📄 mydialog.ui
字号:
<!DOCTYPE UI><UI><class>MyDialog</class><comment>*********************************************************************** Copyright (C) 2000 Trolltech AS. All rights reserved.**** This file is part of Qt Designer.**** This file may be distributed and/or modified under the terms of the** GNU General Public License version 2 as published by the Free Software** Foundation and appearing in the file LICENSE.GPL included in the** packaging of this file.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.**** See http://www.trolltech.com/gpl/ for GPL licensing information.**** Contact info@trolltech.com if any conditions of this licensing are** not clear to you.***********************************************************************</comment><widget> <class>QDialog</class> <property> <name>name</name> <cstring>MyDialog</cstring> </property> <property> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>519</width> <height>284</height> </rect> </property> <property> <name>caption</name> <string>A Dialog</string> </property> <property> <name>sizeGripEnabled</name> <bool>true</bool> </property> <grid> <property> <name>margin</name> <number>11</number> </property> <property> <name>spacing</name> <number>6</number> </property> <widget row="1" column="0" rowspan="1" colspan="2" > <class>QLayoutWidget</class> <property> <name>name</name> <cstring>Layout1</cstring> </property> <hbox> <property> <name>margin</name> <number>0</number> </property> <property> <name>spacing</name> <number>6</number> </property> <widget> <class>QPushButton</class> <property> <name>name</name> <cstring>buttonHelp</cstring> </property> <property> <name>text</name> <string>&Help</string> </property> <property> <name>autoDefault</name> <bool>true</bool> </property> </widget> <spacer> <property> <name>name</name> <cstring>Horizontal Spacing2</cstring> </property> <property> <name>geometry</name> <rect> <x>87</x> <y>5</y> <width>151</width> <height>20</height> </rect> </property> <property> <name>orientation</name> <enum>Horizontal</enum> </property> <property> <name>sizeType</name> <enum>Expanding</enum> </property> </spacer> <widget> <class>QPushButton</class> <property> <name>name</name> <cstring>buttonApply</cstring> </property> <property> <name>text</name> <string>&Apply</string> </property> <property> <name>autoDefault</name> <bool>true</bool> </property> </widget> <widget> <class>QPushButton</class> <property> <name>name</name> <cstring>buttonOk</cstring> </property> <property> <name>text</name> <string>&OK</string> </property> <property> <name>autoDefault</name> <bool>true</bool> </property> <property> <name>default</name> <bool>true</bool> </property> </widget> <widget> <class>QPushButton</class> <property> <name>name</name> <cstring>buttonCancel</cstring> </property> <property> <name>text</name> <string>&Cancel</string> </property> <property> <name>autoDefault</name> <bool>true</bool> </property> </widget> </hbox> </widget> <widget row="0" column="0" > <class>QButtonGroup</class> <property> <name>name</name> <cstring>ButtonGroup1</cstring> </property> <property> <name>title</name> <string>&Choose</string> </property> <widget> <class>QRadioButton</class> <property> <name>name</name> <cstring>radioBanana</cstring> </property> <property> <name>geometry</name> <rect> <x>10</x> <y>30</y> <width>94</width> <height>20</height> </rect> </property> <property> <name>text</name> <string>&Banana</string> </property> </widget> <widget> <class>QRadioButton</class> <property> <name>name</name> <cstring>radioApple</cstring> </property> <property> <name>geometry</name> <rect> <x>10</x> <y>60</y> <width>94</width> <height>20</height> </rect> </property> <property> <name>text</name> <string>&Apple</string> </property> </widget> <widget> <class>QRadioButton</class> <property> <name>name</name> <cstring>radioOrange</cstring> </property> <property> <name>geometry</name> <rect> <x>10</x> <y>90</y> <width>94</width> <height>20</height> </rect> </property> <property> <name>text</name> <string>&Orange</string> </property> </widget> <widget> <class>QRadioButton</class> <property> <name>name</name> <cstring>radioKiwi</cstring> </property> <property> <name>geometry</name> <rect> <x>10</x> <y>120</y> <width>94</width> <height>20</height> </rect> </property> <property> <name>text</name> <string>&Kiwi</string> </property> </widget> </widget> <widget row="0" column="1" > <class>QTabWidget</class> <property> <name>name</name> <cstring>TabWidget2</cstring> </property> <widget> <class>QWidget</class> <attribute> <name>title</name> <string>&Editor</string> </attribute> <hbox> <property> <name>margin</name> <number>11</number> </property> <property> <name>spacing</name> <number>6</number> </property> <widget> <class>QListView</class> <column> <property> <name>text</name> <string>Column 1</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property> </column> <column> <property> <name>text</name> <string>Another Column</string> </property> <property> <name>clickable</name> <bool>true</bool> </property> <property> <name>resizeable</name> <bool>true</bool> </property>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -