5 Star 67 Fork 36

sunshe35/PyQt6-codes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
MainWinMenuToolbar.ui 2.49 KB
一键复制 编辑 原始数据 按行查看 历史
sunshe35 提交于 3年前 . first commit
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>608</width>
<height>500</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget"/>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>608</width>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menu">
<property name="title">
<string>文件(&amp;F)</string>
</property>
<addaction name="fileOpenAction"/>
<addaction name="fileNewAction"/>
<addaction name="fileCloseAction"/>
</widget>
<widget class="QMenu" name="menu_E">
<property name="title">
<string>编辑(&amp;E)</string>
</property>
</widget>
<addaction name="menu"/>
<addaction name="menu_E"/>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<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="openCalc"/>
<addaction name="openNotepad"/>
<addaction name="fileOpenAction"/>
<addaction name="fileNewAction"/>
<addaction name="fileCloseAction"/>
</widget>
<action name="fileOpenAction">
<property name="text">
<string>打开</string>
</property>
<property name="shortcut">
<string>Alt+O</string>
</property>
</action>
<action name="fileNewAction">
<property name="text">
<string>新建</string>
</property>
<property name="shortcut">
<string>Alt+N</string>
</property>
</action>
<action name="fileCloseAction">
<property name="text">
<string>关闭</string>
</property>
<property name="shortcut">
<string>Alt+C</string>
</property>
</action>
<action name="openCalc">
<property name="text">
<string>计算器</string>
</property>
<property name="toolTip">
<string>打开计算器</string>
</property>
</action>
<action name="openNotepad">
<property name="text">
<string>记事本</string>
</property>
<property name="toolTip">
<string>打开记事本</string>
</property>
</action>
</widget>
<resources/>
<connections/>
</ui>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/sunshe35/PyQt6-codes.git
git@gitee.com:sunshe35/PyQt6-codes.git
sunshe35
PyQt6-codes
PyQt6-codes
main

搜索帮助