本项目XML的桌面渲染依赖GQT开源项目(请感兴趣的朋友加入QQ讨论群:101189702,在群共享文件里下载GQT源码),以下是360界面实现的全部XML代码,所有的代码都在360_ui目录里,事件交互写在360safe.js里(再次申明是桌面程序不是Web):
效果图:
Qt设计器中:
XML:
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>mainWidget</class> <widget class="QWidget" name="mainWidget"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>986</width> <height>714</height> </rect> </property> <property name="windowTitle"> <string>Form</string> </property> <property name="styleSheet"> <string notr="true"/> </property> <layout class="QVBoxLayout" name="verticalLayout"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QFrame" name="titleBar"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>100</height> </size> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>100</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_7"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>0</number> </property> <item> <layout class="QHBoxLayout" name="horizontalLayout_6"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>15</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>5</number> </property> <item> <widget class="QLabel" name="version_title"> <property name="text"> <string>360安全卫士9.2</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_8"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="pushButton"> <property name="minimumSize"> <size> <width>25</width> <height>25</height> </size> </property> <property name="maximumSize"> <size> <width>25</width> <height>25</height> </size> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/medal.png</normaloff>360_img/contentWidget/medal.png</iconset> </property> <property name="iconSize"> <size> <width>25</width> <height>25</height> </size> </property> </widget> </item> <item> <spacer name="horizontalSpacer_9"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>10</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="GButton" name="skin_button"> <property name="gqtIcon" stdset="0"> <pixmap>360_img/sysButton/skin_button.png</pixmap> </property> </widget> </item> <item> <widget class="GButton" name="main_menu_button"> <property name="gqtIcon" stdset="0"> <pixmap>360_img/sysButton/main_menu.png</pixmap> </property> </widget> </item> <item> <widget class="GButton" name="min_button"> <property name="gqtIcon" stdset="0"> <pixmap>360_img/sysButton/min_button.png</pixmap> </property> </widget> </item> <item> <widget class="GButton" name="max_button"> <property name="gqtIcon" stdset="0"> <pixmap>360_img/sysButton/max_button.png</pixmap> </property> </widget> </item> <item> <widget class="GButton" name="close_button"> <property name="gqtIcon" stdset="0"> <pixmap>360_img/sysButton/close_button.png</pixmap> </property> </widget> </item> </layout> </item> <item> <widget class="QFrame" name="titleFrame"> <property name="maximumSize"> <size> <width>16777215</width> <height>75</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="spacing"> <number>2</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="GToolButton" name="tiJian"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>电脑体检</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/tiJian.png</normaloff>360_img/toolWidget/tiJian.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> <property name="gqtChecked" stdset="0"> <bool>true</bool> </property> </widget> </item> <item> <widget class="GToolButton" name="muMa"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>木马查杀</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/muMa.png</normaloff>360_img/toolWidget/muMa.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <widget class="GToolButton" name="louDong"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>漏洞修复</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/louDong.png</normaloff>360_img/toolWidget/louDong.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <widget class="GToolButton" name="xiTong"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>系统修复</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/xiTong.png</normaloff>360_img/toolWidget/xiTong.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <widget class="GToolButton" name="qingLi"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>电脑清理</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/qingLi.png</normaloff>360_img/toolWidget/qingLi.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <widget class="GToolButton" name="jiaSu"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>优化加速</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/jiaSu.png</normaloff>360_img/toolWidget/jiaSu.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <widget class="GToolButton" name="menZhen"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>电脑专家</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/menZhen.png</normaloff>360_img/toolWidget/menZhen.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <widget class="GToolButton" name="ruanJian"> <property name="minimumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>75</height> </size> </property> <property name="text"> <string>软件管理</string> </property> <property name="icon"> <iconset> <normaloff>360_img/toolWidget/ruanJian.png</normaloff>360_img/toolWidget/ruanJian.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="logo"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>140</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>140</width> <height>67</height> </size> </property> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap>360_img/logo.png</pixmap> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="contentFrame"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_3"> <property name="margin"> <number>0</number> </property> <item> <widget class="QFrame" name="leftFrame"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="sizeConstraint"> <enum>QLayout::SetMinimumSize</enum> </property> <property name="leftMargin"> <number>30</number> </property> <property name="topMargin"> <number>20</number> </property> <item alignment="Qt::AlignTop"> <widget class="QLabel" name="label"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>158</width> <height>125</height> </size> </property> <property name="maximumSize"> <size> <width>158</width> <height>125</height> </size> </property> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap>360_img/contentWidget/computer.png</pixmap> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> <property name="spacing"> <number>15</number> </property> <property name="topMargin"> <number>20</number> </property> <item> <widget class="QLabel" name="suggest_label"> <property name="text"> <string>上次体检良好,请保持每天体检的习惯!</string> </property> </widget> </item> <item> <widget class="QLabel" name="system_safe_label"> <property name="text"> <string>上次体检时间是一分钟前,还有2个优化项可以优化。</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </item> <item alignment="Qt::AlignHCenter|Qt::AlignVCenter"> <widget class="QPushButton" name="power_button"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>180</width> <height>70</height> </size> </property> <property name="maximumSize"> <size> <width>180</width> <height>70</height> </size> </property> <property name="text"> <string>立即体检</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/power.png</normaloff>360_img/contentWidget/power.png</iconset> </property> <property name="iconSize"> <size> <width>35</width> <height>35</height> </size> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="rightFrame"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>273</width> <height>0</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_6"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QFrame" name="rightTopWidget"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>250</width> <height>130</height> </size> </property> <property name="maximumSize"> <size> <width>250</width> <height>130</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_4"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>10</number> </property> <item> <layout class="QHBoxLayout" name="login_layout"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>5</number> </property> <item> <widget class="QPushButton" name="login_button"> <property name="minimumSize"> <size> <width>240</width> <height>60</height> </size> </property> <property name="maximumSize"> <size> <width>240</width> <height>60</height> </size> </property> <property name="text"> <string>登录我的360账号</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="register_layout"> <property name="spacing"> <number>5</number> </property> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="priv_label"> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap>360_img/contentWidget/priv.png</pixmap> </property> </widget> </item> <item> <widget class="QLabel" name="info_label"> <property name="text"> <string>开启炫动卫士图标,</string> </property> </widget> </item> <item> <widget class="QPushButton" name="register_button"> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>555</width> <height>555</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string>10秒免费注册</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="privilege_layout"> <property name="spacing"> <number>8</number> </property> <item> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="privilege_label"> <property name="text"> <string>专享特权:</string> </property> </widget> </item> <item> <widget class="QPushButton" name="safe_button"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/360.png</normaloff>360_img/contentWidget/360.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="tab_button"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/tab.png</normaloff>360_img/contentWidget/tab.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="pet_button"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/pet.png</normaloff>360_img/contentWidget/pet.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="lottery_button"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/lottery.png</normaloff>360_img/contentWidget/lottery.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="cloud_five_button"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/cloud_five.png</normaloff>360_img/contentWidget/cloud_five.png</iconset> </property> </widget> </item> <item> <widget class="QPushButton" name="caipiao_button"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/caipiao.png</normaloff>360_img/contentWidget/caipiao.png</iconset> </property> </widget> </item> <item> <spacer name="horizontalSpacer_5"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="right_center_widget"> <property name="minimumSize"> <size> <width>250</width> <height>90</height> </size> </property> <property name="maximumSize"> <size> <width>250</width> <height>90</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_4"> <property name="spacing"> <number>0</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QToolButton" name="fireproof_button"> <property name="minimumSize"> <size> <width>73</width> <height>73</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>73</height> </size> </property> <property name="text"> <string>木马防火墙.</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/fireproof.png</normaloff>360_img/contentWidget/fireproof.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item> <widget class="QLabel" name="line_label_1"> <property name="minimumSize"> <size> <width>1</width> <height>90</height> </size> </property> <property name="maximumSize"> <size> <width>1</width> <height>90</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QToolButton" name="triggerman_button"> <property name="minimumSize"> <size> <width>73</width> <height>73</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>73</height> </size> </property> <property name="text"> <string>360保镖</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/triggerman.png</normaloff>360_img/contentWidget/triggerman.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item> <widget class="QLabel" name="line_label_2"> <property name="minimumSize"> <size> <width>1</width> <height>90</height> </size> </property> <property name="maximumSize"> <size> <width>1</width> <height>90</height> </size> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QToolButton" name="net_shop_button"> <property name="minimumSize"> <size> <width>73</width> <height>73</height> </size> </property> <property name="maximumSize"> <size> <width>73</width> <height>73</height> </size> </property> <property name="text"> <string>网购先赔</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/net_shop.png</normaloff>360_img/contentWidget/net_shop.png</iconset> </property> <property name="iconSize"> <size> <width>48</width> <height>48</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="right_center_function_widget"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_5"> <property name="spacing"> <number>10</number> </property> <property name="margin"> <number>0</number> </property> <item> <layout class="QHBoxLayout" name="h_layout"> <property name="spacing"> <number>0</number> </property> <property name="leftMargin"> <number>10</number> </property> <property name="topMargin"> <number>5</number> </property> <item> <widget class="QLabel" name="function_label"> <property name="text"> <string>功能大全</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="more_button"> <property name="minimumSize"> <size> <width>50</width> <height>25</height> </size> </property> <property name="maximumSize"> <size> <width>50</width> <height>25</height> </size> </property> <property name="cursor"> <cursorShape>PointingHandCursor</cursorShape> </property> <property name="text"> <string>更多</string> </property> </widget> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout"> <property name="leftMargin"> <number>5</number> </property> <property name="rightMargin"> <number>5</number> </property> <property name="bottomMargin"> <number>5</number> </property> <property name="spacing"> <number>0</number> </property> <item row="1" column="2"> <widget class="QToolButton" name="auto_run_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>开机加速</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/auto_run.png</normaloff>360_img/contentWidget/auto_run.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="0" column="1"> <widget class="QToolButton" name="mobile_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>手机助手</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/mobile.png</normaloff>360_img/contentWidget/mobile.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="2" column="2"> <widget class="QToolButton" name="first_add_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>系统急救箱</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/first_add.png</normaloff>360_img/contentWidget/first_add.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="0" column="2"> <widget class="QToolButton" name="game_box_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>游戏盒子</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/game_box.png</normaloff>360_img/contentWidget/game_box.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="2" column="1"> <widget class="QToolButton" name="net_pretext_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>360网盾</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/net_pretext.png</normaloff>360_img/contentWidget/net_pretext.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="2" column="0"> <widget class="QToolButton" name="net_speed_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>宽带测速器</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/net_speed.png</normaloff>360_img/contentWidget/net_speed.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="0" column="0"> <widget class="QToolButton" name="recovery_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>文件恢复</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/recovery.png</normaloff>360_img/contentWidget/recovery.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="1" column="0"> <widget class="QToolButton" name="desktop_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>安全桌面</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/desktop.png</normaloff>360_img/contentWidget/desktop.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="1" column="1"> <widget class="QToolButton" name="net_repair_button"> <property name="minimumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="maximumSize"> <size> <width>87</width> <height>67</height> </size> </property> <property name="text"> <string>断网急救箱</string> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/net_repair.png</normaloff>360_img/contentWidget/net_repair.png</iconset> </property> <property name="iconSize"> <size> <width>32</width> <height>32</height> </size> </property> <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextUnderIcon</enum> </property> </widget> </item> <item row="3" column="1"> <spacer name="verticalSpacer_3"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="right_bottom_widget"> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>260</width> <height>30</height> </size> </property> <property name="maximumSize"> <size> <width>250</width> <height>30</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QHBoxLayout" name="horizontalLayout_5"> <property name="spacing"> <number>5</number> </property> <property name="leftMargin"> <number>10</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>10</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="icon_label"> <property name="minimumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="maximumSize"> <size> <width>16</width> <height>16</height> </size> </property> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap>360_img/contentWidget/cloud.png</pixmap> </property> </widget> </item> <item> <widget class="QLabel" name="connect_label"> <property name="text"> <string>成功连接至晕安全中心</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="version_label"> <property name="minimumSize"> <size> <width>60</width> <height>20</height> </size> </property> <property name="maximumSize"> <size> <width>555</width> <height>555</height> </size> </property> <property name="text"> <string/> </property> <property name="pixmap"> <pixmap>360_img/contentWidget/version.png</pixmap> </property> </widget> </item> <item> <widget class="QPushButton" name="version_button"> <property name="minimumSize"> <size> <width>20</width> <height>20</height> </size> </property> <property name="maximumSize"> <size> <width>20</width> <height>20</height> </size> </property> <property name="text"> <string/> </property> <property name="icon"> <iconset> <normaloff>360_img/contentWidget/version.png</normaloff>360_img/contentWidget/version.png</iconset> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>GButton</class> <extends>QPushButton</extends> <header>gbutton.h</header> </customwidget> <customwidget> <class>GToolButton</class> <extends>QToolButton</extends> <header>gtoolbutton.h</header> </customwidget> </customwidgets> <resources/> <connections/> </ui>
程序在360UI.rar中,运行可查看效果哦!
GQT开源项目简介:
A C++ GUI Framework Written by Like "Java"(Easily),Run as "C++" (High-Performance),And Show Perfect!
开源项目地址:
QQ讨论群:101189702 (请注明GQT或Qt,C++等)
设计文档:http://goo.gl/MM9E7j
PPT介绍(English):http://goo.gl/pEKiE9
其他Demo程序(本博客包含了GQT载入UI支持的所有3种机制[Qt dll,XML和QML]):
实现的QQ登录界面(基于dll载入方式):
扑克牌翻转效果(QML载入方式):
相关推荐
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
1. 用户角色 管理员 药店员工/药师 客户 2. 功能描述 管理员功能 用户管理 创建、编辑和删除药店员工和药师的账户。 设置不同用户的权限,确保敏感信息的安全。 库存管理 实时监控药品库存状态,设置库存预警,防止缺货或过期。 支持药品入库、出库和退货记录,自动更新库存数量。 商品管理 添加、编辑和删除药品信息,包括名称、规格、价格、生产厂家、有效期等。 分类管理药品,如处方药、非处方药、保健品等。 销售管理 查看和管理销售记录,生成每日、每周和每月的销售报表。 分析销售数据,了解畅销产品和季节性变化,以优化库存。 财务管理 监控药店的收入与支出,并生成财务报表。 管理支付方式(现金、信用卡、电子支付)及退款流程。 客户管理 记录客户的基本信息和购买历史,提供个性化服务。 管理会员制度,设置积分和优惠活动。 药品监管符合性 确保药店遵循相关法规,跟踪药品的进货渠道和销售记录。 提供合规报告,确保按规定进行药品管理。 报告与分析 生成各类统计报表,包括销售分析、库存分析和客户行为分析。 提供决策支持,帮助制定更好的经营策略。 药店员工/药师功能 销售操作 处理顾客的药
Matlab领域上传的视频是由对应的完整代码运行得来的,完整代码皆可运行,亲测可用,适合小白; 1、从视频里可见完整代码的内容 主函数:main.m; 调用函数:其他m文件;无需运行 运行结果效果图; 2、代码运行版本 Matlab 2019b;若运行有误,根据提示修改;若不会,私信博主; 3、运行操作步骤 步骤一:将所有文件放到Matlab的当前文件夹中; 步骤二:双击打开main.m文件; 步骤三:点击运行,等程序运行完得到结果; 4、仿真咨询 如需其他服务,可私信博主; 4.1 博客或资源的完整代码提供 4.2 期刊或参考文献复现 4.3 Matlab程序定制 4.4 科研合作
今天吴老师上课的时候说我.txt
检测骨架图像的交点Matlab代码.rar
MMC simulink 模块化多电平变流器 载波移相 双闭环仿真 输出谐波分析,线性自抗扰控制LADRC 有仿真文件
自动驾驶控制-斯坦利(stanely)算法路径跟踪仿真 matlab和carsim联合仿真搭建的无人驾驶斯坦利控制器仿真验证,可以实现双移线,圆形,以及其他自定义的路径跟踪。 跟踪效果如图,几乎没有误差,跟踪误差在0.05m以内。
TongRDS是redis的国产化替代品之一,里面含有相应的安装部署包及操作流程,详细介绍TongRDS的基本部署和基本开发使用。
基于mpvue实现豆瓣电影微信小程序@zce_mpvue-Douban
隔离型DCDC变器设计,LLC谐振变器闭环仿真,变频控制。 有自己做的对应明 ,十分详细。
Delphi in Depth - FireDAC.rar
1.版本:matlab2014/2019a/2024a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
ShellBox微信小程序,集日程查询、成绩查询、电费查询、图书查询等功能于一体的高校微信小软件_ShellBox
Java小程序项目源码,该项目包含完整的前后端代码、数据库脚本和相关工具,简单部署即可运行。功能完善、界面美观、操作简单,具有很高的实际应用价值,非常适合作为Java毕业设计或Java课程设计使用。 所有项目均经过严格调试,确保可运行!下载后即可快速部署和使用。 1 适用场景: 毕业设计 期末大作业 课程设计 2 项目特点: 代码完整:详细代码注释,适合新手学习和使用 功能强大:涵盖常见的核心功能,满足大部分课程设计需求 部署简单:有基础的人,只需按照教程操作,轻松完成本地或服务器部署 高质量代码:经过严格测试,确保无错误,稳定运行 3 技术栈和工具 前端:小程序 后端框架:SSM/SpringBoot 开发环境:IntelliJ IDEA 数据库:MySQL(建议使用 5.7 版本,更稳定) 数据库可视化工具:Navicat 部署环境:Tomcat(推荐 7.x 或 8.x 版本),Maven
微信小程序校园微社区_ zafuBBS
计算图像的多向特征编码 (Contour Code Representation)Matlab代码.rar
电池超级电容混合储能系统能量管理超级电容matlab simulink储能模型仿真,能量管理蓄电池充放电模型 相关参考。
武汉市新版劳动合同
Matlab领域上传的视频是由对应的完整代码运行得来的,完整代码皆可运行,亲测可用,适合小白; 1、从视频里可见完整代码的内容 主函数:main.m; 调用函数:其他m文件;无需运行 运行结果效果图; 2、代码运行版本 Matlab 2019b;若运行有误,根据提示修改;若不会,私信博主; 3、运行操作步骤 步骤一:将所有文件放到Matlab的当前文件夹中; 步骤二:双击打开main.m文件; 步骤三:点击运行,等程序运行完得到结果; 4、仿真咨询 如需其他服务,可私信博主; 4.1 博客或资源的完整代码提供 4.2 期刊或参考文献复现 4.3 Matlab程序定制 4.4 科研合作