mainwindow.ui
来自「Qt开发的GRE背单词软件」· UI 代码 · 共 1,039 行 · 第 1/3 页
UI
1,039 行
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="buttonExitFullScreen" >
<property name="maximumSize" >
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<property name="shortcut" >
<string>Esc</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="DetailWidget" native="1" name="detailWidget" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile" >
<property name="title" >
<string>文件</string>
</property>
<addaction name="actionChangeUser" />
<addaction name="actionSetting" />
<addaction name="actionBackup" />
<addaction name="actionMiniPlayer" />
<addaction name="separator" />
<addaction name="actionFullScreen" />
<addaction name="actionHideControlBar" />
<addaction name="separator" />
<addaction name="actionQuit" />
</widget>
<widget class="QMenu" name="menuAbout" >
<property name="title" >
<string>帮助</string>
</property>
<addaction name="actionAbout" />
</widget>
<widget class="QMenu" name="menuDict" >
<property name="title" >
<string>词典</string>
</property>
<addaction name="actionLoadDict" />
<addaction name="actionDelDict" />
<addaction name="actionDelWord" />
<addaction name="actionExport" />
</widget>
<addaction name="menuFile" />
<addaction name="menuDict" />
<addaction name="menuAbout" />
</widget>
<widget class="QDockWidget" name="dockWidgetGroup" >
<property name="geometry" >
<rect>
<x>620</x>
<y>21</y>
<width>80</width>
<height>252</height>
</rect>
</property>
<property name="windowTitle" >
<string>相关词</string>
</property>
<attribute name="dockWidgetArea" >
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents" >
<property name="geometry" >
<rect>
<x>0</x>
<y>22</y>
<width>80</width>
<height>230</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>5</number>
</property>
<item>
<widget class="GroupWidget" native="1" name="groupWidget" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QDockWidget" name="dockWidgetCognate" >
<property name="geometry" >
<rect>
<x>620</x>
<y>277</y>
<width>80</width>
<height>252</height>
</rect>
</property>
<property name="windowTitle" >
<string>同源词</string>
</property>
<attribute name="dockWidgetArea" >
<number>2</number>
</attribute>
<widget class="QWidget" name="dockWidgetContents_2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>22</y>
<width>80</width>
<height>230</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>5</number>
</property>
<item>
<widget class="CognateWidget" native="1" name="cognateWidget" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<action name="actionQuit" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/exit.png</normaloff>:/Entrance/Images/exit.png</iconset>
</property>
<property name="text" >
<string>退出</string>
</property>
<property name="shortcut" >
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionAbout" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/Help.png</normaloff>:/Entrance/Images/Help.png</iconset>
</property>
<property name="text" >
<string>关于</string>
</property>
</action>
<action name="actionSetting" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/Option2.png</normaloff>:/Entrance/Images/Option2.png</iconset>
</property>
<property name="text" >
<string>选项</string>
</property>
<property name="shortcut" >
<string>Ctrl+O</string>
</property>
</action>
<action name="actionLoadDict" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/ni_png_2_0240.png</normaloff>:/Entrance/Images/ni_png_2_0240.png</iconset>
</property>
<property name="text" >
<string>导入词典</string>
</property>
</action>
<action name="actionDelDict" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/ni_png_2_0291.png</normaloff>:/Entrance/Images/ni_png_2_0291.png</iconset>
</property>
<property name="text" >
<string>删除词典</string>
</property>
</action>
<action name="actionDelWord" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/editdelete.png</normaloff>:/Entrance/Images/editdelete.png</iconset>
</property>
<property name="text" >
<string>删除单词</string>
</property>
</action>
<action name="actionChangeUser" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/User_02.png</normaloff>:/Entrance/Images/User_02.png</iconset>
</property>
<property name="text" >
<string>更换用户</string>
</property>
</action>
<action name="actionExport" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/ni_png_2_0837.png</normaloff>:/Entrance/Images/ni_png_2_0837.png</iconset>
</property>
<property name="text" >
<string>导出单词</string>
</property>
<property name="shortcut" >
<string>Ctrl+X</string>
</property>
</action>
<action name="actionFullScreen" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/viewmaximized.png</normaloff>:/Entrance/Images/viewmaximized.png</iconset>
</property>
<property name="text" >
<string>全屏</string>
</property>
<property name="shortcut" >
<string>Ctrl+F</string>
</property>
</action>
<action name="actionHideControlBar" >
<property name="checkable" >
<bool>true</bool>
</property>
<property name="text" >
<string>隐藏控制按钮</string>
</property>
</action>
<action name="actionBackup" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/Floppy2.png</normaloff>:/Entrance/Images/Floppy2.png</iconset>
</property>
<property name="text" >
<string>备份数据库</string>
</property>
</action>
<action name="actionMiniPlayer" >
<property name="icon" >
<iconset resource="Entrance.qrc" >
<normaloff>:/Entrance/Images/Winamp.png</normaloff>:/Entrance/Images/Winamp.png</iconset>
</property>
<property name="text" >
<string>迷你模式</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11" />
<customwidgets>
<customwidget>
<class>PieView</class>
<extends>QTableView</extends>
<header>pieview.h</header>
</customwidget>
<customwidget>
<class>GroupWidget</class>
<extends>QWidget</extends>
<header>GroupWidget.h</header>
</customwidget>
<customwidget>
<class>MyTableView</class>
<extends>QTableView</extends>
<header>MyTableView.h</header>
</customwidget>
<customwidget>
<class>PoppingTabWidget</class>
<extends>QTabWidget</extends>
<header>PoppingTabWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>CognateWidget</class>
<extends>QWidget</extends>
<header>CognateWidget.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>SearchTab</class>
<extends>QWidget</extends>
<header>SearchTab.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>DetailWidget</class>
<extends>QWidget</extends>
<header>DetailWidget.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="Entrance.qrc" />
</resources>
<connections>
<connection>
<sender>actionQuit</sender>
<signal>activated()</signal>
<receiver>MainWindowClass</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel" >
<x>445</x>
<y>338</y>
</hint>
</hints>
</connection>
</connections>
</ui>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?