📄 textview_gui.ui
字号:
<!DOCTYPE UI><UI><class>TextViewGUI</class><widget> <class>QDialog</class> <property stdset="1"> <name>name</name> <cstring>TextViewGUI</cstring> </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> <width>372</width> <height>411</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Text View</string> </property> <vbox> <property stdset="1"> <name>margin</name> <number>11</number> </property> <property stdset="1"> <name>spacing</name> <number>6</number> </property> <widget> <class>QMultiLineEdit</class> <property stdset="1"> <name>name</name> <cstring>textEdit</cstring> </property> <property stdset="1"> <name>minimumSize</name> <size> <width>350</width> <height>350</height> </size> </property> </widget> <widget> <class>QLayoutWidget</class> <property stdset="1"> <name>name</name> <cstring>Layout2</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>buttonToClip</cstring> </property> <property stdset="1"> <name>text</name> <string>&To clipboard</string> </property> <property> <name>toolTip</name> <string>Copy position to clipboard</string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonSave</cstring> </property> <property stdset="1"> <name>text</name> <string>&Save</string> </property> <property> <name>toolTip</name> <string>Save position to file</string> </property> </widget> <widget> <class>QPushButton</class> <property stdset="1"> <name>name</name> <cstring>buttonClose</cstring> </property> <property stdset="1"> <name>text</name> <string>&Close</string> </property> <property stdset="1"> <name>autoDefault</name> <bool>true</bool> </property> <property stdset="1"> <name>default</name> <bool>true</bool> </property> <property> <name>toolTip</name> <string>Close this window</string> </property> </widget> </hbox> </widget> </vbox></widget><connections> <connection> <sender>buttonClose</sender> <signal>clicked()</signal> <receiver>TextViewGUI</receiver> <slot>accept()</slot> </connection> <connection> <sender>buttonSave</sender> <signal>clicked()</signal> <receiver>TextViewGUI</receiver> <slot>saveMe()</slot> </connection> <connection> <sender>buttonToClip</sender> <signal>clicked()</signal> <receiver>TextViewGUI</receiver> <slot>toClipboard()</slot> </connection> <slot access="public">toClipboard()</slot> <slot access="public">saveMe()</slot></connections><tabstops> <tabstop>textEdit</tabstop> <tabstop>buttonToClip</tabstop> <tabstop>buttonSave</tabstop> <tabstop>buttonClose</tabstop></tabstops></UI>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -