📄 hotkeywidget.ui
字号:
<!DOCTYPE UI><UI version="3.0" stdsetdef="1"><class>HotkeyWidget</class><widget class="QWidget"> <property name="name"> <cstring>HotkeyWidget</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>429</width> <height>233</height> </rect> </property> <property name="caption"> <string></string> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>11</number> </property> <property name="spacing"> <number>6</number> </property> <widget class="QListView" row="0" column="0" rowspan="1" colspan="2"> <column> <property name="text"> <string>Name</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <column> <property name="text"> <string>Shortcut</string> </property> <property name="clickable"> <bool>true</bool> </property> <property name="resizeable"> <bool>true</bool> </property> </column> <property name="name"> <cstring>listView</cstring> </property> <property name="resizeMode"> <enum>AllColumns</enum> </property> </widget> <widget class="QLineEdit" row="1" column="0"> <property name="name"> <cstring>hotkeyEdit</cstring> </property> </widget> <widget class="QButtonGroup" row="1" column="1"> <property name="name"> <cstring>buttonGroup</cstring> </property> <property name="frameShape"> <enum>NoFrame</enum> </property> <property name="title"> <string></string> </property> <hbox> <property name="name"> <cstring>unnamed</cstring> </property> <property name="margin"> <number>6</number> </property> <property name="spacing"> <number>3</number> </property> <widget class="QRadioButton"> <property name="name"> <cstring>customRadio</cstring> </property> <property name="text"> <string>&Custom</string> </property> </widget> <widget class="QRadioButton"> <property name="name"> <cstring>defaultRadio</cstring> </property> <property name="text"> <string>&Default</string> </property> </widget> <widget class="QRadioButton"> <property name="name"> <cstring>noneRadio</cstring> </property> <property name="text"> <string>&None</string> </property> </widget> </hbox> </widget> </grid></widget><connections> <connection> <sender>customRadio</sender> <signal>toggled(bool)</signal> <receiver>hotkeyEdit</receiver> <slot>setEnabled(bool)</slot> </connection> <connection> <sender>defaultRadio</sender> <signal>toggled(bool)</signal> <receiver>HotkeyWidget</receiver> <slot>slotDefaultKey(bool)</slot> </connection> <connection> <sender>listView</sender> <signal>selectionChanged()</signal> <receiver>HotkeyWidget</receiver> <slot>slotSelChanged()</slot> </connection> <connection> <sender>noneRadio</sender> <signal>toggled(bool)</signal> <receiver>HotkeyWidget</receiver> <slot>slotNoneKey(bool)</slot> </connection></connections><slots> <slot access="protected">slotNoneKey(bool)</slot> <slot access="protected">slotDefaultKey(bool)</slot> <slot access="protected">slotSelChanged()</slot></slots><layoutdefaults spacing="6" margin="11"/></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -