?? mainwindow.ui
字號(hào):
<ui version="4.0" > <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>548</width> <height>540</height> </rect> </property> <property name="windowTitle" > <string>MainWindow</string> </property> <widget class="QWidget" name="centralwidget" > <layout class="QVBoxLayout" > <item> <widget class="QTextEdit" name="textEdit" /> </item> </layout> </widget> <widget class="QMenuBar" name="menubar" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>548</width> <height>28</height> </rect> </property> <widget class="QMenu" name="menu_F" > <property name="title" > <string>文件(&F)</string> </property> <addaction name="actNew" /> <addaction name="actOpen" /> <addaction name="actClose" /> <addaction name="separator" /> <addaction name="actSave" /> <addaction name="actASave" /> <addaction name="separator" /> <addaction name="actQuit" /> </widget> <widget class="QMenu" name="menu_E" > <property name="title" > <string>編輯(&E)</string> </property> <addaction name="actUndo" /> <addaction name="separator" /> <addaction name="actAll" /> <addaction name="actCut" /> <addaction name="actCopy" /> <addaction name="actPaste" /> <addaction name="separator" /> </widget> <widget class="QMenu" name="menu_T" > <property name="title" > <string>工具(&T)</string> </property> <addaction name="actFind" /> </widget> <addaction name="menu_F" /> <addaction name="menu_E" /> <addaction name="menu_T" /> </widget> <widget class="QToolBar" name="fileToolBar" > <property name="windowTitle" > <string>toolBar</string> </property> <attribute name="toolBarArea" > <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak" > <bool>false</bool> </attribute> <addaction name="actNew" /> <addaction name="actOpen" /> <addaction name="actSave" /> <addaction name="actASave" /> </widget> <widget class="QToolBar" name="toolBar" > <property name="windowTitle" > <string>toolBar</string> </property> <attribute name="toolBarArea" > <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak" > <bool>false</bool> </attribute> <addaction name="actUndo" /> <addaction name="actCut" /> <addaction name="actCopy" /> <addaction name="actPaste" /> </widget> <widget class="QToolBar" name="toolBar_2" > <property name="windowTitle" > <string>toolBar_2</string> </property> <attribute name="toolBarArea" > <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak" > <bool>false</bool> </attribute> </widget> <widget class="QToolBar" name="toolBar_3" > <property name="windowTitle" > <string>toolBar_3</string> </property> <attribute name="toolBarArea" > <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak" > <bool>false</bool> </attribute> </widget> <action name="actNew" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/new.png</iconset> </property> <property name="text" > <string>新建(&N)</string> </property> <property name="shortcut" > <string>Ctrl+N</string> </property> </action> <action name="actOpen" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/open.png</iconset> </property> <property name="text" > <string>打開(kāi)(&O)</string> </property> <property name="shortcut" > <string>Ctrl+O</string> </property> </action> <action name="actClose" > <property name="text" > <string>關(guān)閉(&C)</string> </property> </action> <action name="actSave" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/save.png</iconset> </property> <property name="text" > <string>保存(&S)...</string> </property> <property name="shortcut" > <string>Ctrl+S</string> </property> </action> <action name="actASave" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/asave.png</iconset> </property> <property name="text" > <string>另存為(&A)...</string> </property> </action> <action name="actQuit" > <property name="text" > <string>退出(&X)</string> </property> </action> <action name="actUndo" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/undo.png</iconset> </property> <property name="text" > <string>撤銷(xiāo)(&U)</string> </property> <property name="shortcut" > <string>Ctrl+Z</string> </property> </action> <action name="actCut" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/cut.png</iconset> </property> <property name="text" > <string>剪切(&X)</string> </property> <property name="shortcut" > <string>Ctrl+X</string> </property> </action> <action name="actCopy" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/copy.png</iconset> </property> <property name="text" > <string>復(fù)制(&C)</string> </property> <property name="shortcut" > <string>Ctrl+C</string> </property> </action> <action name="actPaste" > <property name="icon" > <iconset resource="images/mainwindow.qrc" >:/new/prefix1/paste.png</iconset> </property> <property name="text" > <string>粘貼(&P)</string> </property> <property name="shortcut" > <string>Ctrl+V</string> </property> </action> <action name="actAll" > <property name="text" > <string>全選(&A)</string> </property> <property name="shortcut" > <string>Ctrl+A</string> </property> </action> <action name="actFind" > <property name="text" > <string>查找文件(&F)</string> </property> </action> </widget> <resources> <include location="images/mainwindow.qrc" /> </resources> <connections/></ui>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -