TrustState.ui
上传用户:stc1860
上传日期:2007-01-12
资源大小:234k
文件大小:12k
源码类别:

CA认证

开发平台:

MultiPlatform

  1. <!DOCTYPE UI><UI>
  2. <class>TrustState_UI</class>
  3. <widget>
  4.     <class>QDialog</class>
  5.     <property stdset="1">
  6.         <name>name</name>
  7.         <cstring>TrustState_UI</cstring>
  8.     </property>
  9.     <property stdset="1">
  10.         <name>geometry</name>
  11.         <rect>
  12.             <x>0</x>
  13.             <y>0</y>
  14.             <width>481</width>
  15.             <height>267</height>
  16.         </rect>
  17.     </property>
  18.     <property stdset="1">
  19.         <name>caption</name>
  20.         <string>Trust State</string>
  21.     </property>
  22.     <vbox>
  23.         <property stdset="1">
  24.             <name>margin</name>
  25.             <number>11</number>
  26.         </property>
  27.         <property stdset="1">
  28.             <name>spacing</name>
  29.             <number>6</number>
  30.         </property>
  31.         <widget>
  32.             <class>QLayoutWidget</class>
  33.             <property stdset="1">
  34.                 <name>name</name>
  35.                 <cstring>Layout4</cstring>
  36.             </property>
  37.             <hbox>
  38.                 <property stdset="1">
  39.                     <name>margin</name>
  40.                     <number>0</number>
  41.                 </property>
  42.                 <property stdset="1">
  43.                     <name>spacing</name>
  44.                     <number>6</number>
  45.                 </property>
  46.                 <widget>
  47.                     <class>QLabel</class>
  48.                     <property stdset="1">
  49.                         <name>name</name>
  50.                         <cstring>TextLabel1</cstring>
  51.                     </property>
  52.                     <property stdset="1">
  53.                         <name>font</name>
  54.                         <font>
  55.                             <pointsize>14</pointsize>
  56.                             <bold>1</bold>
  57.                             <underline>1</underline>
  58.                         </font>
  59.                     </property>
  60.                     <property stdset="1">
  61.                         <name>text</name>
  62.                         <string>Set Trustment of the Certificate</string>
  63.                     </property>
  64.                 </widget>
  65.                 <spacer>
  66.                     <property>
  67.                         <name>name</name>
  68.                         <cstring>Spacer1</cstring>
  69.                     </property>
  70.                     <property stdset="1">
  71.                         <name>orientation</name>
  72.                         <enum>Horizontal</enum>
  73.                     </property>
  74.                     <property stdset="1">
  75.                         <name>sizeType</name>
  76.                         <enum>Expanding</enum>
  77.                     </property>
  78.                     <property>
  79.                         <name>sizeHint</name>
  80.                         <size>
  81.                             <width>20</width>
  82.                             <height>20</height>
  83.                         </size>
  84.                     </property>
  85.                 </spacer>
  86.                 <widget>
  87.                     <class>QLabel</class>
  88.                     <property stdset="1">
  89.                         <name>name</name>
  90.                         <cstring>image</cstring>
  91.                     </property>
  92.                     <property stdset="1">
  93.                         <name>minimumSize</name>
  94.                         <size>
  95.                             <width>95</width>
  96.                             <height>40</height>
  97.                         </size>
  98.                     </property>
  99.                     <property stdset="1">
  100.                         <name>maximumSize</name>
  101.                         <size>
  102.                             <width>95</width>
  103.                             <height>40</height>
  104.                         </size>
  105.                     </property>
  106.                     <property stdset="1">
  107.                         <name>scaledContents</name>
  108.                         <bool>true</bool>
  109.                     </property>
  110.                 </widget>
  111.             </hbox>
  112.         </widget>
  113.         <widget>
  114.             <class>QLayoutWidget</class>
  115.             <property stdset="1">
  116.                 <name>name</name>
  117.                 <cstring>Layout5</cstring>
  118.             </property>
  119.             <hbox>
  120.                 <property stdset="1">
  121.                     <name>margin</name>
  122.                     <number>0</number>
  123.                 </property>
  124.                 <property stdset="1">
  125.                     <name>spacing</name>
  126.                     <number>6</number>
  127.                 </property>
  128.                 <spacer>
  129.                     <property>
  130.                         <name>name</name>
  131.                         <cstring>Spacer2</cstring>
  132.                     </property>
  133.                     <property stdset="1">
  134.                         <name>orientation</name>
  135.                         <enum>Horizontal</enum>
  136.                     </property>
  137.                     <property stdset="1">
  138.                         <name>sizeType</name>
  139.                         <enum>Expanding</enum>
  140.                     </property>
  141.                     <property>
  142.                         <name>sizeHint</name>
  143.                         <size>
  144.                             <width>20</width>
  145.                             <height>20</height>
  146.                         </size>
  147.                     </property>
  148.                 </spacer>
  149.                 <widget>
  150.                     <class>QLabel</class>
  151.                     <property stdset="1">
  152.                         <name>name</name>
  153.                         <cstring>certName</cstring>
  154.                     </property>
  155.                     <property stdset="1">
  156.                         <name>font</name>
  157.                         <font>
  158.                             <pointsize>14</pointsize>
  159.                             <bold>1</bold>
  160.                         </font>
  161.                     </property>
  162.                     <property stdset="1">
  163.                         <name>text</name>
  164.                         <string>Certificate name</string>
  165.                     </property>
  166.                 </widget>
  167.                 <spacer>
  168.                     <property>
  169.                         <name>name</name>
  170.                         <cstring>Spacer3</cstring>
  171.                     </property>
  172.                     <property stdset="1">
  173.                         <name>orientation</name>
  174.                         <enum>Horizontal</enum>
  175.                     </property>
  176.                     <property stdset="1">
  177.                         <name>sizeType</name>
  178.                         <enum>Expanding</enum>
  179.                     </property>
  180.                     <property>
  181.                         <name>sizeHint</name>
  182.                         <size>
  183.                             <width>20</width>
  184.                             <height>20</height>
  185.                         </size>
  186.                     </property>
  187.                 </spacer>
  188.             </hbox>
  189.         </widget>
  190.         <spacer>
  191.             <property>
  192.                 <name>name</name>
  193.                 <cstring>Spacer5</cstring>
  194.             </property>
  195.             <property stdset="1">
  196.                 <name>orientation</name>
  197.                 <enum>Vertical</enum>
  198.             </property>
  199.             <property stdset="1">
  200.                 <name>sizeType</name>
  201.                 <enum>Expanding</enum>
  202.             </property>
  203.             <property>
  204.                 <name>sizeHint</name>
  205.                 <size>
  206.                     <width>20</width>
  207.                     <height>20</height>
  208.                 </size>
  209.             </property>
  210.         </spacer>
  211.         <widget>
  212.             <class>QButtonGroup</class>
  213.             <property stdset="1">
  214.                 <name>name</name>
  215.                 <cstring>ButtonGroup2</cstring>
  216.             </property>
  217.             <property stdset="1">
  218.                 <name>title</name>
  219.                 <string>Select the Truststate</string>
  220.             </property>
  221.             <vbox>
  222.                 <property stdset="1">
  223.                     <name>margin</name>
  224.                     <number>11</number>
  225.                 </property>
  226.                 <property stdset="1">
  227.                     <name>spacing</name>
  228.                     <number>6</number>
  229.                 </property>
  230.                 <widget>
  231.                     <class>QRadioButton</class>
  232.                     <property stdset="1">
  233.                         <name>name</name>
  234.                         <cstring>trust0</cstring>
  235.                     </property>
  236.                     <property stdset="1">
  237.                         <name>text</name>
  238.                         <string>Never trust this certificate</string>
  239.                     </property>
  240.                 </widget>
  241.                 <widget>
  242.                     <class>QRadioButton</class>
  243.                     <property stdset="1">
  244.                         <name>name</name>
  245.                         <cstring>trust1</cstring>
  246.                     </property>
  247.                     <property stdset="1">
  248.                         <name>text</name>
  249.                         <string>Only trust this certificate, if we trust the signer</string>
  250.                     </property>
  251.                 </widget>
  252.                 <widget>
  253.                     <class>QRadioButton</class>
  254.                     <property stdset="1">
  255.                         <name>name</name>
  256.                         <cstring>trust2</cstring>
  257.                     </property>
  258.                     <property stdset="1">
  259.                         <name>text</name>
  260.                         <string>Always trust this certificate</string>
  261.                     </property>
  262.                 </widget>
  263.             </vbox>
  264.         </widget>
  265.         <widget>
  266.             <class>QLayoutWidget</class>
  267.             <property stdset="1">
  268.                 <name>name</name>
  269.                 <cstring>Layout22</cstring>
  270.             </property>
  271.             <hbox>
  272.                 <property stdset="1">
  273.                     <name>margin</name>
  274.                     <number>0</number>
  275.                 </property>
  276.                 <property stdset="1">
  277.                     <name>spacing</name>
  278.                     <number>6</number>
  279.                 </property>
  280.                 <widget>
  281.                     <class>QPushButton</class>
  282.                     <property stdset="1">
  283.                         <name>name</name>
  284.                         <cstring>PushButton5</cstring>
  285.                     </property>
  286.                     <property stdset="1">
  287.                         <name>text</name>
  288.                         <string>Cancel</string>
  289.                     </property>
  290.                 </widget>
  291.                 <spacer>
  292.                     <property>
  293.                         <name>name</name>
  294.                         <cstring>Spacer4</cstring>
  295.                     </property>
  296.                     <property stdset="1">
  297.                         <name>orientation</name>
  298.                         <enum>Horizontal</enum>
  299.                     </property>
  300.                     <property stdset="1">
  301.                         <name>sizeType</name>
  302.                         <enum>Expanding</enum>
  303.                     </property>
  304.                     <property>
  305.                         <name>sizeHint</name>
  306.                         <size>
  307.                             <width>20</width>
  308.                             <height>20</height>
  309.                         </size>
  310.                     </property>
  311.                 </spacer>
  312.                 <widget>
  313.                     <class>QPushButton</class>
  314.                     <property stdset="1">
  315.                         <name>name</name>
  316.                         <cstring>PushButton4</cstring>
  317.                     </property>
  318.                     <property stdset="1">
  319.                         <name>text</name>
  320.                         <string>OK</string>
  321.                     </property>
  322.                 </widget>
  323.             </hbox>
  324.         </widget>
  325.     </vbox>
  326. </widget>
  327. <connections>
  328.     <connection>
  329.         <sender>PushButton4</sender>
  330.         <signal>clicked()</signal>
  331.         <receiver>TrustState_UI</receiver>
  332.         <slot>accept()</slot>
  333.     </connection>
  334.     <connection>
  335.         <sender>PushButton5</sender>
  336.         <signal>clicked()</signal>
  337.         <receiver>TrustState_UI</receiver>
  338.         <slot>reject()</slot>
  339.     </connection>
  340. </connections>
  341. </UI>