高仿360界面的实现(用纯XML和脚本实现)

源码下载:360UI

本项目XML的桌面渲染依赖GQT开源项目(请感兴趣的朋友加入QQ讨论群:101189702,在群共享文件里下载GQT源码),以下是360界面实现的全部XML代码,所有的代码都在360_ui目录里,事件交互写在360safe.js里(再次申明是桌面程序不是Web):

 效果图:

 

 Qt设计器中:



 

 XML:

Xml代码  
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <ui version="4.0">  
  3.  <class>mainWidget</class>  
  4.  <widget class="QWidget" name="mainWidget">  
  5.   <property name="geometry">  
  6.    <rect>  
  7.     <x>0</x>  
  8.     <y>0</y>  
  9.     <width>986</width>  
  10.     <height>714</height>  
  11.    </rect>  
  12.   </property>  
  13.   <property name="windowTitle">  
  14.    <string>Form</string>  
  15.   </property>  
  16.   <property name="styleSheet">  
  17.    <string notr="true"/>  
  18.   </property>  
  19.   <layout class="QVBoxLayout" name="verticalLayout">  
  20.    <property name="spacing">  
  21.     <number>0</number>  
  22.    </property>  
  23.    <property name="margin">  
  24.     <number>0</number>  
  25.    </property>  
  26.    <item>  
  27.     <widget class="QFrame" name="titleBar">  
  28.      <property name="sizePolicy">  
  29.       <sizepolicy hsizetype="Preferred" vsizetype="Fixed">  
  30.        <horstretch>0</horstretch>  
  31.        <verstretch>0</verstretch>  
  32.       </sizepolicy>  
  33.      </property>  
  34.      <property name="minimumSize">  
  35.       <size>  
  36.        <width>0</width>  
  37.        <height>100</height>  
  38.       </size>  
  39.      </property>  
  40.      <property name="maximumSize">  
  41.       <size>  
  42.        <width>16777215</width>  
  43.        <height>100</height>  
  44.       </size>  
  45.      </property>  
  46.      <property name="frameShape">  
  47.       <enum>QFrame::StyledPanel</enum>  
  48.      </property>  
  49.      <property name="frameShadow">  
  50.       <enum>QFrame::Raised</enum>  
  51.      </property>  
  52.      <layout class="QVBoxLayout" name="verticalLayout_7">  
  53.       <property name="spacing">  
  54.        <number>0</number>  
  55.       </property>  
  56.       <property name="margin">  
  57.        <number>0</number>  
  58.       </property>  
  59.       <item>  
  60.        <layout class="QHBoxLayout" name="horizontalLayout_6">  
  61.         <property name="spacing">  
  62.          <number>0</number>  
  63.         </property>  
  64.         <property name="leftMargin">  
  65.          <number>15</number>  
  66.         </property>  
  67.         <property name="topMargin">  
  68.          <number>0</number>  
  69.         </property>  
  70.         <property name="rightMargin">  
  71.          <number>5</number>  
  72.         </property>  
  73.         <item>  
  74.          <widget class="QLabel" name="version_title">  
  75.           <property name="text">  
  76.            <string>360安全卫士9.2</string>  
  77.           </property>  
  78.          </widget>  
  79.         </item>  
  80.         <item>  
  81.          <spacer name="horizontalSpacer_8">  
  82.           <property name="orientation">  
  83.            <enum>Qt::Horizontal</enum>  
  84.           </property>  
  85.           <property name="sizeHint" stdset="0">  
  86.            <size>  
  87.             <width>40</width>  
  88.             <height>20</height>  
  89.            </size>  
  90.           </property>  
  91.          </spacer>  
  92.         </item>  
  93.         <item>  
  94.          <widget class="QPushButton" name="pushButton">  
  95.           <property name="minimumSize">  
  96.            <size>  
  97.             <width>25</width>  
  98.             <height>25</height>  
  99.            </size>  
  100.           </property>  
  101.           <property name="maximumSize">  
  102.            <size>  
  103.             <width>25</width>  
  104.             <height>25</height>  
  105.            </size>  
  106.           </property>  
  107.           <property name="text">  
  108.            <string/>  
  109.           </property>  
  110.           <property name="icon">  
  111.            <iconset>  
  112.             <normaloff>360_img/contentWidget/medal.png</normaloff>360_img/contentWidget/medal.png</iconset>  
  113.           </property>  
  114.           <property name="iconSize">  
  115.            <size>  
  116.             <width>25</width>  
  117.             <height>25</height>  
  118.            </size>  
  119.           </property>  
  120.          </widget>  
  121.         </item>  
  122.         <item>  
  123.          <spacer name="horizontalSpacer_9">  
  124.           <property name="orientation">  
  125.            <enum>Qt::Horizontal</enum>  
  126.           </property>  
  127.           <property name="sizeType">  
  128.            <enum>QSizePolicy::Fixed</enum>  
  129.           </property>  
  130.           <property name="sizeHint" stdset="0">  
  131.            <size>  
  132.             <width>10</width>  
  133.             <height>20</height>  
  134.            </size>  
  135.           </property>  
  136.          </spacer>  
  137.         </item>  
  138.         <item>  
  139.          <widget class="GButton" name="skin_button">  
  140.           <property name="gqtIcon" stdset="0">  
  141.            <pixmap>360_img/sysButton/skin_button.png</pixmap>  
  142.           </property>  
  143.          </widget>  
  144.         </item>  
  145.         <item>  
  146.          <widget class="GButton" name="main_menu_button">  
  147.           <property name="gqtIcon" stdset="0">  
  148.            <pixmap>360_img/sysButton/main_menu.png</pixmap>  
  149.           </property>  
  150.          </widget>  
  151.         </item>  
  152.         <item>  
  153.          <widget class="GButton" name="min_button">  
  154.           <property name="gqtIcon" stdset="0">  
  155.            <pixmap>360_img/sysButton/min_button.png</pixmap>  
  156.           </property>  
  157.          </widget>  
  158.         </item>  
  159.         <item>  
  160.          <widget class="GButton" name="max_button">  
  161.           <property name="gqtIcon" stdset="0">  
  162.            <pixmap>360_img/sysButton/max_button.png</pixmap>  
  163.           </property>  
  164.          </widget>  
  165.         </item>  
  166.         <item>  
  167.          <widget class="GButton" name="close_button">  
  168.           <property name="gqtIcon" stdset="0">  
  169.            <pixmap>360_img/sysButton/close_button.png</pixmap>  
  170.           </property>  
  171.          </widget>  
  172.         </item>  
  173.        </layout>  
  174.       </item>  
  175.       <item>  
  176.        <widget class="QFrame" name="titleFrame">  
  177.         <property name="maximumSize">  
  178.          <size>  
  179.           <width>16777215</width>  
  180.           <height>75</height>  
  181.          </size>  
  182.         </property>  
  183.         <property name="frameShape">  
  184.          <enum>QFrame::StyledPanel</enum>  
  185.         </property>  
  186.         <property name="frameShadow">  
  187.          <enum>QFrame::Raised</enum>  
  188.         </property>  
  189.         <layout class="QHBoxLayout" name="horizontalLayout">  
  190.          <property name="spacing">  
  191.           <number>2</number>  
  192.          </property>  
  193.          <property name="topMargin">  
  194.           <number>0</number>  
  195.          </property>  
  196.          <property name="bottomMargin">  
  197.           <number>0</number>  
  198.          </property>  
  199.          <item>  
  200.           <widget class="GToolButton" name="tiJian">  
  201.            <property name="minimumSize">  
  202.             <size>  
  203.              <width>73</width>  
  204.              <height>75</height>  
  205.             </size>  
  206.            </property>  
  207.            <property name="maximumSize">  
  208.             <size>  
  209.              <width>73</width>  
  210.              <height>75</height>  
  211.             </size>  
  212.            </property>  
  213.            <property name="text">  
  214.             <string>电脑体检</string>  
  215.            </property>  
  216.            <property name="icon">  
  217.             <iconset>  
  218.              <normaloff>360_img/toolWidget/tiJian.png</normaloff>360_img/toolWidget/tiJian.png</iconset>  
  219.            </property>  
  220.            <property name="iconSize">  
  221.             <size>  
  222.              <width>48</width>  
  223.              <height>48</height>  
  224.             </size>  
  225.            </property>  
  226.            <property name="gqtChecked" stdset="0">  
  227.             <bool>true</bool>  
  228.            </property>  
  229.           </widget>  
  230.          </item>  
  231.          <item>  
  232.           <widget class="GToolButton" name="muMa">  
  233.            <property name="minimumSize">  
  234.             <size>  
  235.              <width>73</width>  
  236.              <height>75</height>  
  237.             </size>  
  238.            </property>  
  239.            <property name="maximumSize">  
  240.             <size>  
  241.              <width>73</width>  
  242.              <height>75</height>  
  243.             </size>  
  244.            </property>  
  245.            <property name="text">  
  246.             <string>木马查杀</string>  
  247.            </property>  
  248.            <property name="icon">  
  249.             <iconset>  
  250.              <normaloff>360_img/toolWidget/muMa.png</normaloff>360_img/toolWidget/muMa.png</iconset>  
  251.            </property>  
  252.            <property name="iconSize">  
  253.             <size>  
  254.              <width>48</width>  
  255.              <height>48</height>  
  256.             </size>  
  257.            </property>  
  258.           </widget>  
  259.          </item>  
  260.          <item>  
  261.           <widget class="GToolButton" name="louDong">  
  262.            <property name="minimumSize">  
  263.             <size>  
  264.              <width>73</width>  
  265.              <height>75</height>  
  266.             </size>  
  267.            </property>  
  268.            <property name="maximumSize">  
  269.             <size>  
  270.              <width>73</width>  
  271.              <height>75</height>  
  272.             </size>  
  273.            </property>  
  274.            <property name="text">  
  275.             <string>漏洞修复</string>  
  276.            </property>  
  277.            <property name="icon">  
  278.             <iconset>  
  279.              <normaloff>360_img/toolWidget/louDong.png</normaloff>360_img/toolWidget/louDong.png</iconset>  
  280.            </property>  
  281.            <property name="iconSize">  
  282.             <size>  
  283.              <width>48</width>  
  284.              <height>48</height>  
  285.             </size>  
  286.            </property>  
  287.           </widget>  
  288.          </item>  
  289.          <item>  
  290.           <widget class="GToolButton" name="xiTong">  
  291.            <property name="minimumSize">  
  292.             <size>  
  293.              <width>73</width>  
  294.              <height>75</height>  
  295.             </size>  
  296.            </property>  
  297.            <property name="maximumSize">  
  298.             <size>  
  299.              <width>73</width>  
  300.              <height>75</height>  
  301.             </size>  
  302.            </property>  
  303.            <property name="text">  
  304.             <string>系统修复</string>  
  305.            </property>  
  306.            <property name="icon">  
  307.             <iconset>  
  308.              <normaloff>360_img/toolWidget/xiTong.png</normaloff>360_img/toolWidget/xiTong.png</iconset>  
  309.            </property>  
  310.            <property name="iconSize">  
  311.             <size>  
  312.              <width>48</width>  
  313.              <height>48</height>  
  314.             </size>  
  315.            </property>  
  316.           </widget>  
  317.          </item>  
  318.          <item>  
  319.           <widget class="GToolButton" name="qingLi">  
  320.            <property name="minimumSize">  
  321.             <size>  
  322.              <width>73</width>  
  323.              <height>75</height>  
  324.             </size>  
  325.            </property>  
  326.            <property name="maximumSize">  
  327.             <size>  
  328.              <width>73</width>  
  329.              <height>75</height>  
  330.             </size>  
  331.            </property>  
  332.            <property name="text">  
  333.             <string>电脑清理</string>  
  334.            </property>  
  335.            <property name="icon">  
  336.             <iconset>  
  337.              <normaloff>360_img/toolWidget/qingLi.png</normaloff>360_img/toolWidget/qingLi.png</iconset>  
  338.            </property>  
  339.            <property name="iconSize">  
  340.             <size>  
  341.              <width>48</width>  
  342.              <height>48</height>  
  343.             </size>  
  344.            </property>  
  345.           </widget>  
  346.          </item>  
  347.          <item>  
  348.           <widget class="GToolButton" name="jiaSu">  
  349.            <property name="minimumSize">  
  350.             <size>  
  351.              <width>73</width>  
  352.              <height>75</height>  
  353.             </size>  
  354.            </property>  
  355.            <property name="maximumSize">  
  356.             <size>  
  357.              <width>73</width>  
  358.              <height>75</height>  
  359.             </size>  
  360.            </property>  
  361.            <property name="text">  
  362.             <string>优化加速</string>  
  363.            </property>  
  364.            <property name="icon">  
  365.             <iconset>  
  366.              <normaloff>360_img/toolWidget/jiaSu.png</normaloff>360_img/toolWidget/jiaSu.png</iconset>  
  367.            </property>  
  368.            <property name="iconSize">  
  369.             <size>  
  370.              <width>48</width>  
  371.              <height>48</height>  
  372.             </size>  
  373.            </property>  
  374.           </widget>  
  375.          </item>  
  376.          <item>  
  377.           <widget class="GToolButton" name="menZhen">  
  378.            <property name="minimumSize">  
  379.             <size>  
  380.              <width>73</width>  
  381.              <height>75</height>  
  382.             </size>  
  383.            </property>  
  384.            <property name="maximumSize">  
  385.             <size>  
  386.              <width>73</width>  
  387.              <height>75</height>  
  388.             </size>  
  389.            </property>  
  390.            <property name="text">  
  391.             <string>电脑专家</string>  
  392.            </property>  
  393.            <property name="icon">  
  394.             <iconset>  
  395.              <normaloff>360_img/toolWidget/menZhen.png</normaloff>360_img/toolWidget/menZhen.png</iconset>  
  396.            </property>  
  397.            <property name="iconSize">  
  398.             <size>  
  399.              <width>48</width>  
  400.              <height>48</height>  
  401.             </size>  
  402.            </property>  
  403.           </widget>  
  404.          </item>  
  405.          <item>  
  406.           <widget class="GToolButton" name="ruanJian">  
  407.            <property name="minimumSize">  
  408.             <size>  
  409.              <width>73</width>  
  410.              <height>75</height>  
  411.             </size>  
  412.            </property>  
  413.            <property name="maximumSize">  
  414.             <size>  
  415.              <width>73</width>  
  416.              <height>75</height>  
  417.             </size>  
  418.            </property>  
  419.            <property name="text">  
  420.             <string>软件管理</string>  
  421.            </property>  
  422.            <property name="icon">  
  423.             <iconset>  
  424.              <normaloff>360_img/toolWidget/ruanJian.png</normaloff>360_img/toolWidget/ruanJian.png</iconset>  
  425.            </property>  
  426.            <property name="iconSize">  
  427.             <size>  
  428.              <width>48</width>  
  429.              <height>48</height>  
  430.             </size>  
  431.            </property>  
  432.           </widget>  
  433.          </item>  
  434.          <item>  
  435.           <spacer name="horizontalSpacer">  
  436.            <property name="orientation">  
  437.             <enum>Qt::Horizontal</enum>  
  438.            </property>  
  439.            <property name="sizeHint" stdset="0">  
  440.             <size>  
  441.              <width>40</width>  
  442.              <height>20</height>  
  443.             </size>  
  444.            </property>  
  445.           </spacer>  
  446.          </item>  
  447.          <item>  
  448.           <widget class="QLabel" name="logo">  
  449.            <property name="sizePolicy">  
  450.             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">  
  451.              <horstretch>0</horstretch>  
  452.              <verstretch>0</verstretch>  
  453.             </sizepolicy>  
  454.            </property>  
  455.            <property name="minimumSize">  
  456.             <size>  
  457.              <width>140</width>  
  458.              <height>67</height>  
  459.             </size>  
  460.            </property>  
  461.            <property name="maximumSize">  
  462.             <size>  
  463.              <width>140</width>  
  464.              <height>67</height>  
  465.             </size>  
  466.            </property>  
  467.            <property name="text">  
  468.             <string/>  
  469.            </property>  
  470.            <property name="pixmap">  
  471.             <pixmap>360_img/logo.png</pixmap>  
  472.            </property>  
  473.           </widget>  
  474.          </item>  
  475.         </layout>  
  476.        </widget>  
  477.       </item>  
  478.      </layout>  
  479.     </widget>  
  480.    </item>  
  481.    <item>  
  482.     <widget class="QFrame" name="contentFrame">  
  483.      <property name="frameShape">  
  484.       <enum>QFrame::StyledPanel</enum>  
  485.      </property>  
  486.      <property name="frameShadow">  
  487.       <enum>QFrame::Raised</enum>  
  488.      </property>  
  489.      <layout class="QHBoxLayout" name="horizontalLayout_3">  
  490.       <property name="margin">  
  491.        <number>0</number>  
  492.       </property>  
  493.       <item>  
  494.        <widget class="QFrame" name="leftFrame">  
  495.         <property name="frameShape">  
  496.          <enum>QFrame::StyledPanel</enum>  
  497.         </property>  
  498.         <property name="frameShadow">  
  499.          <enum>QFrame::Raised</enum>  
  500.         </property>  
  501.         <layout class="QVBoxLayout" name="verticalLayout_3">  
  502.          <item>  
  503.           <layout class="QHBoxLayout" name="horizontalLayout_2">  
  504.            <property name="sizeConstraint">  
  505.             <enum>QLayout::SetMinimumSize</enum>  
  506.            </property>  
  507.            <property name="leftMargin">  
  508.             <number>30</number>  
  509.            </property>  
  510.            <property name="topMargin">  
  511.             <number>20</number>  
  512.            </property>  
  513.            <item alignment="Qt::AlignTop">  
  514.             <widget class="QLabel" name="label">  
  515.              <property name="sizePolicy">  
  516.               <sizepolicy hsizetype="Fixed" vsizetype="Fixed">  
  517.                <horstretch>0</horstretch>  
  518.                <verstretch>0</verstretch>  
  519.               </sizepolicy>  
  520.              </property>  
  521.              <property name="minimumSize">  
  522.               <size>  
  523.                <width>158</width>  
  524.                <height>125</height>  
  525.               </size>  
  526.              </property>  
  527.              <property name="maximumSize">  
  528.               <size>  
  529.                <width>158</width>  
  530.                <height>125</height>  
  531.               </size>  
  532.              </property>  
  533.              <property name="text">  
  534.               <string/>  
  535.              </property>  
  536.              <property name="pixmap">  
  537.               <pixmap>360_img/contentWidget/computer.png</pixmap>  
  538.              </property>  
  539.              <property name="alignment">  
  540.               <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>  
  541.              </property>  
  542.             </widget>  
  543.            </item>  
  544.            <item>  
  545.             <layout class="QVBoxLayout" name="verticalLayout_2">  
  546.              <property name="spacing">  
  547.               <number>15</number>  
  548.              </property>  
  549.              <property name="topMargin">  
  550.               <number>20</number>  
  551.              </property>  
  552.              <item>  
  553.               <widget class="QLabel" name="suggest_label">  
  554.                <property name="text">  
  555.                 <string>上次体检良好,请保持每天体检的习惯!</string>  
  556.                </property>  
  557.               </widget>  
  558.              </item>  
  559.              <item>  
  560.               <widget class="QLabel" name="system_safe_label">  
  561.                <property name="text">  
  562.                 <string>上次体检时间是一分钟前,还有2个优化项可以优化。</string>  
  563.                </property>  
  564.               </widget>  
  565.              </item>  
  566.              <item>  
  567.               <spacer name="verticalSpacer_2">  
  568.                <property name="orientation">  
  569.                 <enum>Qt::Vertical</enum>  
  570.                </property>  
  571.                <property name="sizeHint" stdset="0">  
  572.                 <size>  
  573.                  <width>20</width>  
  574.                  <height>40</height>  
  575.                 </size>  
  576.                </property>  
  577.               </spacer>  
  578.              </item>  
  579.             </layout>  
  580.            </item>  
  581.           </layout>  
  582.          </item>  
  583.          <item alignment="Qt::AlignHCenter|Qt::AlignVCenter">  
  584.           <widget class="QPushButton" name="power_button">  
  585.            <property name="sizePolicy">  
  586.             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">  
  587.              <horstretch>0</horstretch>  
  588.              <verstretch>0</verstretch>  
  589.             </sizepolicy>  
  590.            </property>  
  591.            <property name="minimumSize">  
  592.             <size>  
  593.              <width>180</width>  
  594.              <height>70</height>  
  595.             </size>  
  596.            </property>  
  597.            <property name="maximumSize">  
  598.             <size>  
  599.              <width>180</width>  
  600.              <height>70</height>  
  601.             </size>  
  602.            </property>  
  603.            <property name="text">  
  604.             <string>立即体检</string>  
  605.            </property>  
  606.            <property name="icon">  
  607.             <iconset>  
  608.              <normaloff>360_img/contentWidget/power.png</normaloff>360_img/contentWidget/power.png</iconset>  
  609.            </property>  
  610.            <property name="iconSize">  
  611.             <size>  
  612.              <width>35</width>  
  613.              <height>35</height>  
  614.             </size>  
  615.            </property>  
  616.           </widget>  
  617.          </item>  
  618.          <item>  
  619.           <spacer name="verticalSpacer">  
  620.            <property name="orientation">  
  621.             <enum>Qt::Vertical</enum>  
  622.            </property>  
  623.            <property name="sizeHint" stdset="0">  
  624.             <size>  
  625.              <width>20</width>  
  626.              <height>40</height>  
  627.             </size>  
  628.            </property>  
  629.           </spacer>  
  630.          </item>  
  631.         </layout>  
  632.        </widget>  
  633.       </item>  
  634.       <item>  
  635.        <widget class="QFrame" name="rightFrame">  
  636.         <property name="sizePolicy">  
  637.          <sizepolicy hsizetype="Fixed" vsizetype="Preferred">  
  638.           <horstretch>0</horstretch>  
  639.           <verstretch>0</verstretch>  
  640.          </sizepolicy>  
  641.         </property>  
  642.         <property name="minimumSize">  
  643.          <size>  
  644.           <width>273</width>  
  645.           <height>0</height>  
  646.          </size>  
  647.         </property>  
  648.         <property name="frameShape">  
  649.          <enum>QFrame::StyledPanel</enum>  
  650.         </property>  
  651.         <property name="frameShadow">  
  652.          <enum>QFrame::Raised</enum>  
  653.         </property>  
  654.         <layout class="QVBoxLayout" name="verticalLayout_6">  
  655.          <property name="spacing">  
  656.           <number>0</number>  
  657.          </property>  
  658.          <property name="margin">  
  659.           <number>0</number>  
  660.          </property>  
  661.          <item>  
  662.           <widget class="QFrame" name="rightTopWidget">  
  663.            <property name="sizePolicy">  
  664.             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">  
  665.              <horstretch>0</horstretch>  
  666.              <verstretch>0</verstretch>  
  667.             </sizepolicy>  
  668.            </property>  
  669.            <property name="minimumSize">  
  670.             <size>  
  671.              <width>250</width>  
  672.              <height>130</height>  
  673.             </size>  
  674.            </property>  
  675.            <property name="maximumSize">  
  676.             <size>  
  677.              <width>250</width>  
  678.              <height>130</height>  
  679.             </size>  
  680.            </property>  
  681.            <property name="frameShape">  
  682.             <enum>QFrame::StyledPanel</enum>  
  683.            </property>  
  684.            <property name="frameShadow">  
  685.             <enum>QFrame::Raised</enum>  
  686.            </property>  
  687.            <layout class="QVBoxLayout" name="verticalLayout_4">  
  688.             <property name="spacing">  
  689.              <number>0</number>  
  690.             </property>  
  691.             <property name="margin">  
  692.              <number>10</number>  
  693.             </property>  
  694.             <item>  
  695.              <layout class="QHBoxLayout" name="login_layout">  
  696.               <property name="spacing">  
  697.                <number>0</number>  
  698.               </property>  
  699.               <property name="leftMargin">  
  700.                <number>5</number>  
  701.               </property>  
  702.               <item>  
  703.                <widget class="QPushButton" name="login_button">  
  704.                 <property name="minimumSize">  
  705.                  <size>  
  706.                   <width>240</width>  
  707.                   <height>60</height>  
  708.                  </size>  
  709.                 </property>  
  710.                 <property name="maximumSize">  
  711.                  <size>  
  712.                   <width>240</width>  
  713.                   <height>60</height>  
  714.                  </size>  
  715.                 </property>  
  716.                 <property name="text">  
  717.                  <string>登录我的360账号</string>  
  718.                 </property>  
  719.                </widget>  
  720.               </item>  
  721.              </layout>  
  722.             </item>  
  723.             <item>  
  724.              <layout class="QHBoxLayout" name="register_layout">  
  725.               <property name="spacing">  
  726.                <number>5</number>  
  727.               </property>  
  728.               <item>  
  729.                <spacer name="horizontalSpacer_2">  
  730.                 <property name="orientation">  
  731.                  <enum>Qt::Horizontal</enum>  
  732.                 </property>  
  733.                 <property name="sizeHint" stdset="0">  
  734.                  <size>  
  735.                   <width>40</width>  
  736.                   <height>20</height>  
  737.                  </size>  
  738.                 </property>  
  739.                </spacer>  
  740.               </item>  
  741.               <item>  
  742.                <widget class="QLabel" name="priv_label">  
  743.                 <property name="text">  
  744.                  <string/>  
  745.                 </property>  
  746.                 <property name="pixmap">  
  747.                  <pixmap>360_img/contentWidget/priv.png</pixmap>  
  748.                 </property>  
  749.                </widget>  
  750.               </item>  
  751.               <item>  
  752.                <widget class="QLabel" name="info_label">  
  753.                 <property name="text">  
  754.                  <string>开启炫动卫士图标,</string>  
  755.                 </property>  
  756.                </widget>  
  757.               </item>  
  758.               <item>  
  759.                <widget class="QPushButton" name="register_button">  
  760.                 <property name="minimumSize">  
  761.                  <size>  
  762.                   <width>0</width>  
  763.                   <height>0</height>  
  764.                  </size>  
  765.                 </property>  
  766.                 <property name="maximumSize">  
  767.                  <size>  
  768.                   <width>555</width>  
  769.                   <height>555</height>  
  770.                  </size>  
  771.                 </property>  
  772.                 <property name="cursor">  
  773.                  <cursorShape>PointingHandCursor</cursorShape>  
  774.                 </property>  
  775.                 <property name="text">  
  776.                  <string>10秒免费注册</string>  
  777.                 </property>  
  778.                </widget>  
  779.               </item>  
  780.               <item>  
  781.                <spacer name="horizontalSpacer_3">  
  782.                 <property name="orientation">  
  783.                  <enum>Qt::Horizontal</enum>  
  784.                 </property>  
  785.                 <property name="sizeHint" stdset="0">  
  786.                  <size>  
  787.                   <width>40</width>  
  788.                   <height>20</height>  
  789.                  </size>  
  790.                 </property>  
  791.                </spacer>  
  792.               </item>  
  793.              </layout>  
  794.             </item>  
  795.             <item>  
  796.              <layout class="QHBoxLayout" name="privilege_layout">  
  797.               <property name="spacing">  
  798.                <number>8</number>  
  799.               </property>  
  800.               <item>  
  801.                <spacer name="horizontalSpacer_4">  
  802.                 <property name="orientation">  
  803.                  <enum>Qt::Horizontal</enum>  
  804.                 </property>  
  805.                 <property name="sizeHint" stdset="0">  
  806.                  <size>  
  807.                   <width>40</width>  
  808.                   <height>20</height>  
  809.                  </size>  
  810.                 </property>  
  811.                </spacer>  
  812.               </item>  
  813.               <item>  
  814.                <widget class="QLabel" name="privilege_label">  
  815.                 <property name="text">  
  816.                  <string>专享特权:</string>  
  817.                 </property>  
  818.                </widget>  
  819.               </item>  
  820.               <item>  
  821.                <widget class="QPushButton" name="safe_button">  
  822.                 <property name="minimumSize">  
  823.                  <size>  
  824.                   <width>16</width>  
  825.                   <height>16</height>  
  826.                  </size>  
  827.                 </property>  
  828.                 <property name="maximumSize">  
  829.                  <size>  
  830.                   <width>16</width>  
  831.                   <height>16</height>  
  832.                  </size>  
  833.                 </property>  
  834.                 <property name="cursor">  
  835.                  <cursorShape>PointingHandCursor</cursorShape>  
  836.                 </property>  
  837.                 <property name="text">  
  838.                  <string/>  
  839.                 </property>  
  840.                 <property name="icon">  
  841.                  <iconset>  
  842.                   <normaloff>360_img/contentWidget/360.png</normaloff>360_img/contentWidget/360.png</iconset>  
  843.                 </property>  
  844.                </widget>  
  845.               </item>  
  846.               <item>  
  847.                <widget class="QPushButton" name="tab_button">  
  848.                 <property name="minimumSize">  
  849.                  <size>  
  850.                   <width>16</width>  
  851.                   <height>16</height>  
  852.                  </size>  
  853.                 </property>  
  854.                 <property name="maximumSize">  
  855.                  <size>  
  856.                   <width>16</width>  
  857.                   <height>16</height>  
  858.                  </size>  
  859.                 </property>  
  860.                 <property name="cursor">  
  861.                  <cursorShape>PointingHandCursor</cursorShape>  
  862.                 </property>  
  863.                 <property name="text">  
  864.                  <string/>  
  865.                 </property>  
  866.                 <property name="icon">  
  867.                  <iconset>  
  868.                   <normaloff>360_img/contentWidget/tab.png</normaloff>360_img/contentWidget/tab.png</iconset>  
  869.                 </property>  
  870.                </widget>  
  871.               </item>  
  872.               <item>  
  873.                <widget class="QPushButton" name="pet_button">  
  874.                 <property name="minimumSize">  
  875.                  <size>  
  876.                   <width>16</width>  
  877.                   <height>16</height>  
  878.                  </size>  
  879.                 </property>  
  880.                 <property name="maximumSize">  
  881.                  <size>  
  882.                   <width>16</width>  
  883.                   <height>16</height>  
  884.                  </size>  
  885.                 </property>  
  886.                 <property name="cursor">  
  887.                  <cursorShape>PointingHandCursor</cursorShape>  
  888.                 </property>  
  889.                 <property name="text">  
  890.                  <string/>  
  891.                 </property>  
  892.                 <property name="icon">  
  893.                  <iconset>  
  894.                   <normaloff>360_img/contentWidget/pet.png</normaloff>360_img/contentWidget/pet.png</iconset>  
  895.                 </property>  
  896.                </widget>  
  897.               </item>  
  898.               <item>  
  899.                <widget class="QPushButton" name="lottery_button">  
  900.                 <property name="minimumSize">  
  901.                  <size>  
  902.                   <width>16</width>  
  903.                   <height>16</height>  
  904.                  </size>  
  905.                 </property>  
  906.                 <property name="maximumSize">  
  907.                  <size>  
  908.                   <width>16</width>  
  909.                   <height>16</height>  
  910.                  </size>  
  911.                 </property>  
  912.                 <property name="cursor">  
  913.                  <cursorShape>PointingHandCursor</cursorShape>  
  914.                 </property>  
  915.                 <property name="text">  
  916.                  <string/>  
  917.                 </property>  
  918.                 <property name="icon">  
  919.                  <iconset>  
  920.                   <normaloff>360_img/contentWidget/lottery.png</normaloff>360_img/contentWidget/lottery.png</iconset>  
  921.                 </property>  
  922.                </widget>  
  923.               </item>  
  924.               <item>  
  925.                <widget class="QPushButton" name="cloud_five_button">  
  926.                 <property name="minimumSize">  
  927.                  <size>  
  928.                   <width>16</width>  
  929.                   <height>16</height>  
  930.                  </size>  
  931.                 </property>  
  932.                 <property name="maximumSize">  
  933.                  <size>  
  934.                   <width>16</width>  
  935.                   <height>16</height>  
  936.                  </size>  
  937.                 </property>  
  938.                 <property name="cursor">  
  939.                  <cursorShape>PointingHandCursor</cursorShape>  
  940.                 </property>  
  941.                 <property name="text">  
  942.                  <string/>  
  943.                 </property>  
  944.                 <property name="icon">  
  945.                  <iconset>  
  946.                   <normaloff>360_img/contentWidget/cloud_five.png</normaloff>360_img/contentWidget/cloud_five.png</iconset>  
  947.                 </property>  
  948.                </widget>  
  949.               </item>  
  950.               <item>  
  951.                <widget class="QPushButton" name="caipiao_button">  
  952.                 <property name="minimumSize">  
  953.                  <size>  
  954.                   <width>16</width>  
  955.                   <height>16</height>  
  956.                  </size>  
  957.                 </property>  
  958.                 <property name="maximumSize">  
  959.                  <size>  
  960.                   <width>16</width>  
  961.                   <height>16</height>  
  962.                  </size>  
  963.                 </property>  
  964.                 <property name="cursor">  
  965.                  <cursorShape>PointingHandCursor</cursorShape>  
  966.                 </property>  
  967.                 <property name="text">  
  968.                  <string/>  
  969.                 </property>  
  970.                 <property name="icon">  
  971.                  <iconset>  
  972.                   <normaloff>360_img/contentWidget/caipiao.png</normaloff>360_img/contentWidget/caipiao.png</iconset>  
  973.                 </property>  
  974.                </widget>  
  975.               </item>  
  976.               <item>  
  977.                <spacer name="horizontalSpacer_5">  
  978.                 <property name="orientation">  
  979.                  <enum>Qt::Horizontal</enum>  
  980.                 </property>  
  981.                 <property name="sizeHint" stdset="0">  
  982.                  <size>  
  983.                   <width>40</width>  
  984.                   <height>20</height>  
  985.                  </size>  
  986.                 </property>  
  987.                </spacer>  
  988.               </item>  
  989.              </layout>  
  990.             </item>  
  991.            </layout>  
  992.           </widget>  
  993.          </item>  
  994.          <item>  
  995.           <widget class="QFrame" name="right_center_widget">  
  996.            <property name="minimumSize">  
  997.             <size>  
  998.              <width>250</width>  
  999.              <height>90</height>  
  1000.             </size>  
  1001.            </property>  
  1002.            <property name="maximumSize">  
  1003.             <size>  
  1004.              <width>250</width>  
  1005.              <height>90</height>  
  1006.             </size>  
  1007.            </property>  
  1008.            <property name="frameShape">  
  1009.             <enum>QFrame::StyledPanel</enum>  
  1010.            </property>  
  1011.            <property name="frameShadow">  
  1012.             <enum>QFrame::Raised</enum>  
  1013.            </property>  
  1014.            <layout class="QHBoxLayout" name="horizontalLayout_4">  
  1015.             <property name="spacing">  
  1016.              <number>0</number>  
  1017.             </property>  
  1018.             <property name="margin">  
  1019.              <number>0</number>  
  1020.             </property>  
  1021.             <item>  
  1022.              <widget class="QToolButton" name="fireproof_button">  
  1023.               <property name="minimumSize">  
  1024.                <size>  
  1025.                 <width>73</width>  
  1026.                 <height>73</height>  
  1027.                </size>  
  1028.               </property>  
  1029.               <property name="maximumSize">  
  1030.                <size>  
  1031.                 <width>73</width>  
  1032.                 <height>73</height>  
  1033.                </size>  
  1034.               </property>  
  1035.               <property name="text">  
  1036.                <string>木马防火墙.</string>  
  1037.               </property>  
  1038.               <property name="icon">  
  1039.                <iconset>  
  1040.                 <normaloff>360_img/contentWidget/fireproof.png</normaloff>360_img/contentWidget/fireproof.png</iconset>  
  1041.               </property>  
  1042.               <property name="iconSize">  
  1043.                <size>  
  1044.                 <width>48</width>  
  1045.                 <height>48</height>  
  1046.                </size>  
  1047.               </property>  
  1048.               <property name="toolButtonStyle">  
  1049.                <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1050.               </property>  
  1051.              </widget>  
  1052.             </item>  
  1053.             <item>  
  1054.              <widget class="QLabel" name="line_label_1">  
  1055.               <property name="minimumSize">  
  1056.                <size>  
  1057.                 <width>1</width>  
  1058.                 <height>90</height>  
  1059.                </size>  
  1060.               </property>  
  1061.               <property name="maximumSize">  
  1062.                <size>  
  1063.                 <width>1</width>  
  1064.                 <height>90</height>  
  1065.                </size>  
  1066.               </property>  
  1067.               <property name="text">  
  1068.                <string/>  
  1069.               </property>  
  1070.              </widget>  
  1071.             </item>  
  1072.             <item>  
  1073.              <widget class="QToolButton" name="triggerman_button">  
  1074.               <property name="minimumSize">  
  1075.                <size>  
  1076.                 <width>73</width>  
  1077.                 <height>73</height>  
  1078.                </size>  
  1079.               </property>  
  1080.               <property name="maximumSize">  
  1081.                <size>  
  1082.                 <width>73</width>  
  1083.                 <height>73</height>  
  1084.                </size>  
  1085.               </property>  
  1086.               <property name="text">  
  1087.                <string>360保镖</string>  
  1088.               </property>  
  1089.               <property name="icon">  
  1090.                <iconset>  
  1091.                 <normaloff>360_img/contentWidget/triggerman.png</normaloff>360_img/contentWidget/triggerman.png</iconset>  
  1092.               </property>  
  1093.               <property name="iconSize">  
  1094.                <size>  
  1095.                 <width>48</width>  
  1096.                 <height>48</height>  
  1097.                </size>  
  1098.               </property>  
  1099.               <property name="toolButtonStyle">  
  1100.                <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1101.               </property>  
  1102.              </widget>  
  1103.             </item>  
  1104.             <item>  
  1105.              <widget class="QLabel" name="line_label_2">  
  1106.               <property name="minimumSize">  
  1107.                <size>  
  1108.                 <width>1</width>  
  1109.                 <height>90</height>  
  1110.                </size>  
  1111.               </property>  
  1112.               <property name="maximumSize">  
  1113.                <size>  
  1114.                 <width>1</width>  
  1115.                 <height>90</height>  
  1116.                </size>  
  1117.               </property>  
  1118.               <property name="text">  
  1119.                <string/>  
  1120.               </property>  
  1121.              </widget>  
  1122.             </item>  
  1123.             <item>  
  1124.              <widget class="QToolButton" name="net_shop_button">  
  1125.               <property name="minimumSize">  
  1126.                <size>  
  1127.                 <width>73</width>  
  1128.                 <height>73</height>  
  1129.                </size>  
  1130.               </property>  
  1131.               <property name="maximumSize">  
  1132.                <size>  
  1133.                 <width>73</width>  
  1134.                 <height>73</height>  
  1135.                </size>  
  1136.               </property>  
  1137.               <property name="text">  
  1138.                <string>网购先赔</string>  
  1139.               </property>  
  1140.               <property name="icon">  
  1141.                <iconset>  
  1142.                 <normaloff>360_img/contentWidget/net_shop.png</normaloff>360_img/contentWidget/net_shop.png</iconset>  
  1143.               </property>  
  1144.               <property name="iconSize">  
  1145.                <size>  
  1146.                 <width>48</width>  
  1147.                 <height>48</height>  
  1148.                </size>  
  1149.               </property>  
  1150.               <property name="toolButtonStyle">  
  1151.                <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1152.               </property>  
  1153.              </widget>  
  1154.             </item>  
  1155.            </layout>  
  1156.           </widget>  
  1157.          </item>  
  1158.          <item>  
  1159.           <widget class="QFrame" name="right_center_function_widget">  
  1160.            <property name="sizePolicy">  
  1161.             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">  
  1162.              <horstretch>0</horstretch>  
  1163.              <verstretch>0</verstretch>  
  1164.             </sizepolicy>  
  1165.            </property>  
  1166.            <property name="frameShape">  
  1167.             <enum>QFrame::StyledPanel</enum>  
  1168.            </property>  
  1169.            <property name="frameShadow">  
  1170.             <enum>QFrame::Raised</enum>  
  1171.            </property>  
  1172.            <layout class="QVBoxLayout" name="verticalLayout_5">  
  1173.             <property name="spacing">  
  1174.              <number>10</number>  
  1175.             </property>  
  1176.             <property name="margin">  
  1177.              <number>0</number>  
  1178.             </property>  
  1179.             <item>  
  1180.              <layout class="QHBoxLayout" name="h_layout">  
  1181.               <property name="spacing">  
  1182.                <number>0</number>  
  1183.               </property>  
  1184.               <property name="leftMargin">  
  1185.                <number>10</number>  
  1186.               </property>  
  1187.               <property name="topMargin">  
  1188.                <number>5</number>  
  1189.               </property>  
  1190.               <item>  
  1191.                <widget class="QLabel" name="function_label">  
  1192.                 <property name="text">  
  1193.                  <string>功能大全</string>  
  1194.                 </property>  
  1195.                </widget>  
  1196.               </item>  
  1197.               <item>  
  1198.                <spacer name="horizontalSpacer_6">  
  1199.                 <property name="orientation">  
  1200.                  <enum>Qt::Horizontal</enum>  
  1201.                 </property>  
  1202.                 <property name="sizeHint" stdset="0">  
  1203.                  <size>  
  1204.                   <width>40</width>  
  1205.                   <height>20</height>  
  1206.                  </size>  
  1207.                 </property>  
  1208.                </spacer>  
  1209.               </item>  
  1210.               <item>  
  1211.                <widget class="QPushButton" name="more_button">  
  1212.                 <property name="minimumSize">  
  1213.                  <size>  
  1214.                   <width>50</width>  
  1215.                   <height>25</height>  
  1216.                  </size>  
  1217.                 </property>  
  1218.                 <property name="maximumSize">  
  1219.                  <size>  
  1220.                   <width>50</width>  
  1221.                   <height>25</height>  
  1222.                  </size>  
  1223.                 </property>  
  1224.                 <property name="cursor">  
  1225.                  <cursorShape>PointingHandCursor</cursorShape>  
  1226.                 </property>  
  1227.                 <property name="text">  
  1228.                  <string>更多</string>  
  1229.                 </property>  
  1230.                </widget>  
  1231.               </item>  
  1232.              </layout>  
  1233.             </item>  
  1234.             <item>  
  1235.              <layout class="QGridLayout" name="gridLayout">  
  1236.               <property name="leftMargin">  
  1237.                <number>5</number>  
  1238.               </property>  
  1239.               <property name="rightMargin">  
  1240.                <number>5</number>  
  1241.               </property>  
  1242.               <property name="bottomMargin">  
  1243.                <number>5</number>  
  1244.               </property>  
  1245.               <property name="spacing">  
  1246.                <number>0</number>  
  1247.               </property>  
  1248.               <item row="1" column="2">  
  1249.                <widget class="QToolButton" name="auto_run_button">  
  1250.                 <property name="minimumSize">  
  1251.                  <size>  
  1252.                   <width>87</width>  
  1253.                   <height>67</height>  
  1254.                  </size>  
  1255.                 </property>  
  1256.                 <property name="maximumSize">  
  1257.                  <size>  
  1258.                   <width>87</width>  
  1259.                   <height>67</height>  
  1260.                  </size>  
  1261.                 </property>  
  1262.                 <property name="text">  
  1263.                  <string>开机加速</string>  
  1264.                 </property>  
  1265.                 <property name="icon">  
  1266.                  <iconset>  
  1267.                   <normaloff>360_img/contentWidget/auto_run.png</normaloff>360_img/contentWidget/auto_run.png</iconset>  
  1268.                 </property>  
  1269.                 <property name="iconSize">  
  1270.                  <size>  
  1271.                   <width>32</width>  
  1272.                   <height>32</height>  
  1273.                  </size>  
  1274.                 </property>  
  1275.                 <property name="toolButtonStyle">  
  1276.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1277.                 </property>  
  1278.                </widget>  
  1279.               </item>  
  1280.               <item row="0" column="1">  
  1281.                <widget class="QToolButton" name="mobile_button">  
  1282.                 <property name="minimumSize">  
  1283.                  <size>  
  1284.                   <width>87</width>  
  1285.                   <height>67</height>  
  1286.                  </size>  
  1287.                 </property>  
  1288.                 <property name="maximumSize">  
  1289.                  <size>  
  1290.                   <width>87</width>  
  1291.                   <height>67</height>  
  1292.                  </size>  
  1293.                 </property>  
  1294.                 <property name="text">  
  1295.                  <string>手机助手</string>  
  1296.                 </property>  
  1297.                 <property name="icon">  
  1298.                  <iconset>  
  1299.                   <normaloff>360_img/contentWidget/mobile.png</normaloff>360_img/contentWidget/mobile.png</iconset>  
  1300.                 </property>  
  1301.                 <property name="iconSize">  
  1302.                  <size>  
  1303.                   <width>32</width>  
  1304.                   <height>32</height>  
  1305.                  </size>  
  1306.                 </property>  
  1307.                 <property name="toolButtonStyle">  
  1308.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1309.                 </property>  
  1310.                </widget>  
  1311.               </item>  
  1312.               <item row="2" column="2">  
  1313.                <widget class="QToolButton" name="first_add_button">  
  1314.                 <property name="minimumSize">  
  1315.                  <size>  
  1316.                   <width>87</width>  
  1317.                   <height>67</height>  
  1318.                  </size>  
  1319.                 </property>  
  1320.                 <property name="maximumSize">  
  1321.                  <size>  
  1322.                   <width>87</width>  
  1323.                   <height>67</height>  
  1324.                  </size>  
  1325.                 </property>  
  1326.                 <property name="text">  
  1327.                  <string>系统急救箱</string>  
  1328.                 </property>  
  1329.                 <property name="icon">  
  1330.                  <iconset>  
  1331.                   <normaloff>360_img/contentWidget/first_add.png</normaloff>360_img/contentWidget/first_add.png</iconset>  
  1332.                 </property>  
  1333.                 <property name="iconSize">  
  1334.                  <size>  
  1335.                   <width>32</width>  
  1336.                   <height>32</height>  
  1337.                  </size>  
  1338.                 </property>  
  1339.                 <property name="toolButtonStyle">  
  1340.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1341.                 </property>  
  1342.                </widget>  
  1343.               </item>  
  1344.               <item row="0" column="2">  
  1345.                <widget class="QToolButton" name="game_box_button">  
  1346.                 <property name="minimumSize">  
  1347.                  <size>  
  1348.                   <width>87</width>  
  1349.                   <height>67</height>  
  1350.                  </size>  
  1351.                 </property>  
  1352.                 <property name="maximumSize">  
  1353.                  <size>  
  1354.                   <width>87</width>  
  1355.                   <height>67</height>  
  1356.                  </size>  
  1357.                 </property>  
  1358.                 <property name="text">  
  1359.                  <string>游戏盒子</string>  
  1360.                 </property>  
  1361.                 <property name="icon">  
  1362.                  <iconset>  
  1363.                   <normaloff>360_img/contentWidget/game_box.png</normaloff>360_img/contentWidget/game_box.png</iconset>  
  1364.                 </property>  
  1365.                 <property name="iconSize">  
  1366.                  <size>  
  1367.                   <width>32</width>  
  1368.                   <height>32</height>  
  1369.                  </size>  
  1370.                 </property>  
  1371.                 <property name="toolButtonStyle">  
  1372.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1373.                 </property>  
  1374.                </widget>  
  1375.               </item>  
  1376.               <item row="2" column="1">  
  1377.                <widget class="QToolButton" name="net_pretext_button">  
  1378.                 <property name="minimumSize">  
  1379.                  <size>  
  1380.                   <width>87</width>  
  1381.                   <height>67</height>  
  1382.                  </size>  
  1383.                 </property>  
  1384.                 <property name="maximumSize">  
  1385.                  <size>  
  1386.                   <width>87</width>  
  1387.                   <height>67</height>  
  1388.                  </size>  
  1389.                 </property>  
  1390.                 <property name="text">  
  1391.                  <string>360网盾</string>  
  1392.                 </property>  
  1393.                 <property name="icon">  
  1394.                  <iconset>  
  1395.                   <normaloff>360_img/contentWidget/net_pretext.png</normaloff>360_img/contentWidget/net_pretext.png</iconset>  
  1396.                 </property>  
  1397.                 <property name="iconSize">  
  1398.                  <size>  
  1399.                   <width>32</width>  
  1400.                   <height>32</height>  
  1401.                  </size>  
  1402.                 </property>  
  1403.                 <property name="toolButtonStyle">  
  1404.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1405.                 </property>  
  1406.                </widget>  
  1407.               </item>  
  1408.               <item row="2" column="0">  
  1409.                <widget class="QToolButton" name="net_speed_button">  
  1410.                 <property name="minimumSize">  
  1411.                  <size>  
  1412.                   <width>87</width>  
  1413.                   <height>67</height>  
  1414.                  </size>  
  1415.                 </property>  
  1416.                 <property name="maximumSize">  
  1417.                  <size>  
  1418.                   <width>87</width>  
  1419.                   <height>67</height>  
  1420.                  </size>  
  1421.                 </property>  
  1422.                 <property name="text">  
  1423.                  <string>宽带测速器</string>  
  1424.                 </property>  
  1425.                 <property name="icon">  
  1426.                  <iconset>  
  1427.                   <normaloff>360_img/contentWidget/net_speed.png</normaloff>360_img/contentWidget/net_speed.png</iconset>  
  1428.                 </property>  
  1429.                 <property name="iconSize">  
  1430.                  <size>  
  1431.                   <width>32</width>  
  1432.                   <height>32</height>  
  1433.                  </size>  
  1434.                 </property>  
  1435.                 <property name="toolButtonStyle">  
  1436.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1437.                 </property>  
  1438.                </widget>  
  1439.               </item>  
  1440.               <item row="0" column="0">  
  1441.                <widget class="QToolButton" name="recovery_button">  
  1442.                 <property name="minimumSize">  
  1443.                  <size>  
  1444.                   <width>87</width>  
  1445.                   <height>67</height>  
  1446.                  </size>  
  1447.                 </property>  
  1448.                 <property name="maximumSize">  
  1449.                  <size>  
  1450.                   <width>87</width>  
  1451.                   <height>67</height>  
  1452.                  </size>  
  1453.                 </property>  
  1454.                 <property name="text">  
  1455.                  <string>文件恢复</string>  
  1456.                 </property>  
  1457.                 <property name="icon">  
  1458.                  <iconset>  
  1459.                   <normaloff>360_img/contentWidget/recovery.png</normaloff>360_img/contentWidget/recovery.png</iconset>  
  1460.                 </property>  
  1461.                 <property name="iconSize">  
  1462.                  <size>  
  1463.                   <width>32</width>  
  1464.                   <height>32</height>  
  1465.                  </size>  
  1466.                 </property>  
  1467.                 <property name="toolButtonStyle">  
  1468.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1469.                 </property>  
  1470.                </widget>  
  1471.               </item>  
  1472.               <item row="1" column="0">  
  1473.                <widget class="QToolButton" name="desktop_button">  
  1474.                 <property name="minimumSize">  
  1475.                  <size>  
  1476.                   <width>87</width>  
  1477.                   <height>67</height>  
  1478.                  </size>  
  1479.                 </property>  
  1480.                 <property name="maximumSize">  
  1481.                  <size>  
  1482.                   <width>87</width>  
  1483.                   <height>67</height>  
  1484.                  </size>  
  1485.                 </property>  
  1486.                 <property name="text">  
  1487.                  <string>安全桌面</string>  
  1488.                 </property>  
  1489.                 <property name="icon">  
  1490.                  <iconset>  
  1491.                   <normaloff>360_img/contentWidget/desktop.png</normaloff>360_img/contentWidget/desktop.png</iconset>  
  1492.                 </property>  
  1493.                 <property name="iconSize">  
  1494.                  <size>  
  1495.                   <width>32</width>  
  1496.                   <height>32</height>  
  1497.                  </size>  
  1498.                 </property>  
  1499.                 <property name="toolButtonStyle">  
  1500.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1501.                 </property>  
  1502.                </widget>  
  1503.               </item>  
  1504.               <item row="1" column="1">  
  1505.                <widget class="QToolButton" name="net_repair_button">  
  1506.                 <property name="minimumSize">  
  1507.                  <size>  
  1508.                   <width>87</width>  
  1509.                   <height>67</height>  
  1510.                  </size>  
  1511.                 </property>  
  1512.                 <property name="maximumSize">  
  1513.                  <size>  
  1514.                   <width>87</width>  
  1515.                   <height>67</height>  
  1516.                  </size>  
  1517.                 </property>  
  1518.                 <property name="text">  
  1519.                  <string>断网急救箱</string>  
  1520.                 </property>  
  1521.                 <property name="icon">  
  1522.                  <iconset>  
  1523.                   <normaloff>360_img/contentWidget/net_repair.png</normaloff>360_img/contentWidget/net_repair.png</iconset>  
  1524.                 </property>  
  1525.                 <property name="iconSize">  
  1526.                  <size>  
  1527.                   <width>32</width>  
  1528.                   <height>32</height>  
  1529.                  </size>  
  1530.                 </property>  
  1531.                 <property name="toolButtonStyle">  
  1532.                  <enum>Qt::ToolButtonTextUnderIcon</enum>  
  1533.                 </property>  
  1534.                </widget>  
  1535.               </item>  
  1536.               <item row="3" column="1">  
  1537.                <spacer name="verticalSpacer_3">  
  1538.                 <property name="orientation">  
  1539.                  <enum>Qt::Vertical</enum>  
  1540.                 </property>  
  1541.                 <property name="sizeHint" stdset="0">  
  1542.                  <size>  
  1543.                   <width>20</width>  
  1544.                   <height>40</height>  
  1545.                  </size>  
  1546.                 </property>  
  1547.                </spacer>  
  1548.               </item>  
  1549.              </layout>  
  1550.             </item>  
  1551.            </layout>  
  1552.           </widget>  
  1553.          </item>  
  1554.          <item>  
  1555.           <widget class="QFrame" name="right_bottom_widget">  
  1556.            <property name="sizePolicy">  
  1557.             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">  
  1558.              <horstretch>0</horstretch>  
  1559.              <verstretch>0</verstretch>  
  1560.             </sizepolicy>  
  1561.            </property>  
  1562.            <property name="minimumSize">  
  1563.             <size>  
  1564.              <width>260</width>  
  1565.              <height>30</height>  
  1566.             </size>  
  1567.            </property>  
  1568.            <property name="maximumSize">  
  1569.             <size>  
  1570.              <width>250</width>  
  1571.              <height>30</height>  
  1572.             </size>  
  1573.            </property>  
  1574.            <property name="frameShape">  
  1575.             <enum>QFrame::StyledPanel</enum>  
  1576.            </property>  
  1577.            <property name="frameShadow">  
  1578.             <enum>QFrame::Raised</enum>  
  1579.            </property>  
  1580.            <layout class="QHBoxLayout" name="horizontalLayout_5">  
  1581.             <property name="spacing">  
  1582.              <number>5</number>  
  1583.             </property>  
  1584.             <property name="leftMargin">  
  1585.              <number>10</number>  
  1586.             </property>  
  1587.             <property name="topMargin">  
  1588.              <number>0</number>  
  1589.             </property>  
  1590.             <property name="rightMargin">  
  1591.              <number>10</number>  
  1592.             </property>  
  1593.             <property name="bottomMargin">  
  1594.              <number>0</number>  
  1595.             </property>  
  1596.             <item>  
  1597.              <widget class="QLabel" name="icon_label">  
  1598.               <property name="minimumSize">  
  1599.                <size>  
  1600.                 <width>16</width>  
  1601.                 <height>16</height>  
  1602.                </size>  
  1603.               </property>  
  1604.               <property name="maximumSize">  
  1605.                <size>  
  1606.                 <width>16</width>  
  1607.                 <height>16</height>  
  1608.                </size>  
  1609.               </property>  
  1610.               <property name="text">  
  1611.                <string/>  
  1612.               </property>  
  1613.               <property name="pixmap">  
  1614.                <pixmap>360_img/contentWidget/cloud.png</pixmap>  
  1615.               </property>  
  1616.              </widget>  
  1617.             </item>  
  1618.             <item>  
  1619.              <widget class="QLabel" name="connect_label">  
  1620.               <property name="text">  
  1621.                <string>成功连接至晕安全中心</string>  
  1622.               </property>  
  1623.              </widget>  
  1624.             </item>  
  1625.             <item>  
  1626.              <spacer name="horizontalSpacer_7">  
  1627.               <property name="orientation">  
  1628.                <enum>Qt::Horizontal</enum>  
  1629.               </property>  
  1630.               <property name="sizeHint" stdset="0">  
  1631.                <size>  
  1632.                 <width>40</width>  
  1633.                 <height>20</height>  
  1634.                </size>  
  1635.               </property>  
  1636.              </spacer>  
  1637.             </item>  
  1638.             <item>  
  1639.              <widget class="QLabel" name="version_label">  
  1640.               <property name="minimumSize">  
  1641.                <size>  
  1642.                 <width>60</width>  
  1643.                 <height>20</height>  
  1644.                </size>  
  1645.               </property>  
  1646.               <property name="maximumSize">  
  1647.                <size>  
  1648.                 <width>555</width>  
  1649.                 <height>555</height>  
  1650.                </size>  
  1651.               </property>  
  1652.               <property name="text">  
  1653.                <string/>  
  1654.               </property>  
  1655.               <property name="pixmap">  
  1656.                <pixmap>360_img/contentWidget/version.png</pixmap>  
  1657.               </property>  
  1658.              </widget>  
  1659.             </item>  
  1660.             <item>  
  1661.              <widget class="QPushButton" name="version_button">  
  1662.               <property name="minimumSize">  
  1663.                <size>  
  1664.                 <width>20</width>  
  1665.                 <height>20</height>  
  1666.                </size>  
  1667.               </property>  
  1668.               <property name="maximumSize">  
  1669.                <size>  
  1670.                 <width>20</width>  
  1671.                 <height>20</height>  
  1672.                </size>  
  1673.               </property>  
  1674.               <property name="text">  
  1675.                <string/>  
  1676.               </property>  
  1677.               <property name="icon">  
  1678.                <iconset>  
  1679.                 <normaloff>360_img/contentWidget/version.png</normaloff>360_img/contentWidget/version.png</iconset>  
  1680.               </property>  
  1681.              </widget>  
  1682.             </item>  
  1683.            </layout>  
  1684.           </widget>  
  1685.          </item>  
  1686.         </layout>  
  1687.        </widget>  
  1688.       </item>  
  1689.      </layout>  
  1690.     </widget>  
  1691.    </item>  
  1692.   </layout>  
  1693.  </widget>  
  1694.  <customwidgets>  
  1695.   <customwidget>  
  1696.    <class>GButton</class>  
  1697.    <extends>QPushButton</extends>  
  1698.    <header>gbutton.h</header>  
  1699.   </customwidget>  
  1700.   <customwidget>  
  1701.    <class>GToolButton</class>  
  1702.    <extends>QToolButton</extends>  
  1703.    <header>gtoolbutton.h</header>  
  1704.   </customwidget>  
  1705.  </customwidgets>  
  1706.  <resources/>  
  1707.  <connections/>  
  1708. </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载入方式):


posted @ 2014-03-01 08:42  web8  阅读(3028)  评论(1编辑  收藏  举报