📄 mainwindow.ui
字号:
<layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_44" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>该顾客消费次数:</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelBottomLeftTotalNum" > <property name="layoutDirection" > <enum>Qt::LeftToRight</enum> </property> <property name="text" > <string>0</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_46" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>该顾客消费总额:</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelBottomLeftTotalPrice" > <property name="layoutDirection" > <enum>Qt::LeftToRight</enum> </property> <property name="text" > <string>0.00</string> </property> </widget> </item> </layout> </item> <item row="1" column="0" > <widget class="QTableView" name="tableViewConsumeBottomLeft" > <property name="contextMenuPolicy" > <enum>Qt::ActionsContextMenu</enum> </property> <property name="alternatingRowColors" > <bool>true</bool> </property> <property name="selectionMode" > <enum>QAbstractItemView::SingleSelection</enum> </property> <property name="selectionBehavior" > <enum>QAbstractItemView::SelectRows</enum> </property> </widget> </item> <item row="0" column="0" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_39" > <property name="text" > <string>顾客消费记录</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButtonConsumeAdd" > <property name="text" > <string>添加消费</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButtonConsumeEdit" > <property name="text" > <string>修改消费</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButtonConsumeDelete" > <property name="text" > <string>删除消费</string> </property> </widget> </item> <item> <widget class="QPushButton" name="pushButtonConsumeBottomViewDetail" > <property name="text" > <string>查看详细</string> </property> </widget> </item> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>65</width> <height>23</height> </size> </property> </spacer> </item> </layout> </item> <item row="2" column="1" > <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QLabel" name="label_40" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>此次消费商品数量:</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelBottomRightTotalNum" > <property name="layoutDirection" > <enum>Qt::LeftToRight</enum> </property> <property name="text" > <string>0</string> </property> </widget> </item> <item> <widget class="QLabel" name="label_42" > <property name="sizePolicy" > <sizepolicy> <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > <string>此次消费商品总额:</string> </property> </widget> </item> <item> <widget class="QLabel" name="labelBottomRightTotalPrice" > <property name="layoutDirection" > <enum>Qt::LeftToRight</enum> </property> <property name="text" > <string>0.00</string> </property> </widget> </item> </layout> </item> </layout> </widget> </widget> </item> </layout> </widget> <widget class="QWidget" name="pageReport" > <widget class="QLabel" name="label_4" > <property name="geometry" > <rect> <x>20</x> <y>10</y> <width>54</width> <height>13</height> </rect> </property> <property name="text" > <string>报表统计</string> </property> </widget> </widget> </widget> </item> </layout> </widget> <widget class="QMenuBar" name="menubar" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>898</width> <height>18</height> </rect> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> <widget class="QMenu" name="menuFile" > <property name="title" > <string>系统维护</string> </property> <addaction name="actionExit" /> </widget> <widget class="QMenu" name="menuFunc" > <property name="title" > <string>日常操作</string> </property> <addaction name="actionGoods" /> <addaction name="actionCustomer" /> <addaction name="actionConsume" /> <addaction name="actionReport" /> </widget> <widget class="QMenu" name="menuHelp" > <property name="title" > <string>软件帮助</string> </property> <addaction name="actionAboutSoftware" /> <addaction name="actionAboutQt" /> </widget> <addaction name="menuFile" /> <addaction name="menuFunc" /> <addaction name="menuHelp" /> </widget> <widget class="QStatusBar" name="statusbar" /> <widget class="QToolBar" name="toolBar" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <attribute name="toolBarArea" > <number>4</number> </attribute> </widget> <action name="actionAboutQt" > <property name="text" > <string>关于 Qt</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> <action name="actionExit" > <property name="text" > <string>退出系统</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> <action name="actionGoods" > <property name="text" > <string>商品管理</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> <action name="actionCustomer" > <property name="text" > <string>顾客管理</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> <action name="actionConsume" > <property name="text" > <string>顾客消费</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> <action name="actionReport" > <property name="text" > <string>统计报表</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> <action name="actionAboutSoftware" > <property name="text" > <string>关于本软件</string> </property> <property name="font" > <font> <family>宋体</family> <pointsize>9</pointsize> <weight>50</weight> <italic>false</italic> <bold>false</bold> <underline>false</underline> <strikeout>false</strikeout> </font> </property> </action> </widget> <pixmapfunction></pixmapfunction> <resources/> <connections> <connection> <sender>actionExit</sender> <signal>triggered()</signal> <receiver>MainWindow</receiver> <slot>close()</slot> <hints> <hint type="sourcelabel" > <x>-1</x> <y>-1</y> </hint> <hint type="destinationlabel" > <x>403</x> <y>322</y> </hint> </hints> </connection> </connections></ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -