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

CA认证

开发平台:

MultiPlatform

  1. <!DOCTYPE UI><UI>
  2. <class>ExportKey_UI</class>
  3. <widget>
  4.     <class>QDialog</class>
  5.     <property stdset="1">
  6.         <name>name</name>
  7.         <cstring>ExportKey_UI</cstring>
  8.     </property>
  9.     <property stdset="1">
  10.         <name>geometry</name>
  11.         <rect>
  12.             <x>0</x>
  13.             <y>0</y>
  14.             <width>599</width>
  15.             <height>375</height>
  16.         </rect>
  17.     </property>
  18.     <property stdset="1">
  19.         <name>caption</name>
  20.         <string>Key export</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>Layout9</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>TextLabel12</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>Key export</string>
  63.                     </property>
  64.                 </widget>
  65.                 <spacer>
  66.                     <property>
  67.                         <name>name</name>
  68.                         <cstring>Spacer6</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>QLabel</class>
  115.             <property stdset="1">
  116.                 <name>name</name>
  117.                 <cstring>TextLabel13</cstring>
  118.             </property>
  119.             <property stdset="1">
  120.                 <name>text</name>
  121.                 <string>Please enter the filename for the key.</string>
  122.             </property>
  123.             <property stdset="1">
  124.                 <name>alignment</name>
  125.                 <set>WordBreak|AlignVCenter|AlignLeft</set>
  126.             </property>
  127.             <property>
  128.                 <name>wordwrap</name>
  129.             </property>
  130.         </widget>
  131.         <widget>
  132.             <class>QFrame</class>
  133.             <property stdset="1">
  134.                 <name>name</name>
  135.                 <cstring>Frame5_2</cstring>
  136.             </property>
  137.             <property stdset="1">
  138.                 <name>frameShape</name>
  139.                 <enum>Box</enum>
  140.             </property>
  141.             <property stdset="1">
  142.                 <name>frameShadow</name>
  143.                 <enum>Sunken</enum>
  144.             </property>
  145.             <hbox>
  146.                 <property stdset="1">
  147.                     <name>margin</name>
  148.                     <number>11</number>
  149.                 </property>
  150.                 <property stdset="1">
  151.                     <name>spacing</name>
  152.                     <number>6</number>
  153.                 </property>
  154.                 <widget>
  155.                     <class>QLabel</class>
  156.                     <property stdset="1">
  157.                         <name>name</name>
  158.                         <cstring>TextLabel14</cstring>
  159.                     </property>
  160.                     <property stdset="1">
  161.                         <name>text</name>
  162.                         <string>Filename:</string>
  163.                     </property>
  164.                 </widget>
  165.                 <widget>
  166.                     <class>QLineEdit</class>
  167.                     <property stdset="1">
  168.                         <name>name</name>
  169.                         <cstring>filename</cstring>
  170.                     </property>
  171.                 </widget>
  172.                 <widget>
  173.                     <class>QToolButton</class>
  174.                     <property stdset="1">
  175.                         <name>name</name>
  176.                         <cstring>ToolButton1</cstring>
  177.                     </property>
  178.                     <property stdset="1">
  179.                         <name>sizePolicy</name>
  180.                         <sizepolicy>
  181.                             <hsizetype>1</hsizetype>
  182.                             <vsizetype>0</vsizetype>
  183.                         </sizepolicy>
  184.                     </property>
  185.                     <property stdset="1">
  186.                         <name>text</name>
  187.                         <string>...</string>
  188.                     </property>
  189.                 </widget>
  190.             </hbox>
  191.         </widget>
  192.         <widget>
  193.             <class>QLabel</class>
  194.             <property stdset="1">
  195.                 <name>name</name>
  196.                 <cstring>TextLabel3</cstring>
  197.             </property>
  198.             <property stdset="1">
  199.                 <name>text</name>
  200.                 <string>DER is a binary format of the key without encryption
  201. PEM is a base64 encoded key with optional encryption
  202. PKCS#8 is an encrypted official Key-exchange format</string>
  203.             </property>
  204.             <property stdset="1">
  205.                 <name>alignment</name>
  206.                 <set>WordBreak|AlignVCenter|AlignLeft</set>
  207.             </property>
  208.             <property>
  209.                 <name>wordwrap</name>
  210.             </property>
  211.         </widget>
  212.         <widget>
  213.             <class>QFrame</class>
  214.             <property stdset="1">
  215.                 <name>name</name>
  216.                 <cstring>Frame4</cstring>
  217.             </property>
  218.             <property stdset="1">
  219.                 <name>frameShape</name>
  220.                 <enum>Box</enum>
  221.             </property>
  222.             <property stdset="1">
  223.                 <name>frameShadow</name>
  224.                 <enum>Sunken</enum>
  225.             </property>
  226.             <hbox>
  227.                 <property stdset="1">
  228.                     <name>margin</name>
  229.                     <number>11</number>
  230.                 </property>
  231.                 <property stdset="1">
  232.                     <name>spacing</name>
  233.                     <number>6</number>
  234.                 </property>
  235.                 <widget>
  236.                     <class>QLabel</class>
  237.                     <property stdset="1">
  238.                         <name>name</name>
  239.                         <cstring>TextLabel1</cstring>
  240.                     </property>
  241.                     <property stdset="1">
  242.                         <name>text</name>
  243.                         <string>Export Format:</string>
  244.                     </property>
  245.                 </widget>
  246.                 <widget>
  247.                     <class>QComboBox</class>
  248.                     <property stdset="1">
  249.                         <name>name</name>
  250.                         <cstring>exportFormat</cstring>
  251.                     </property>
  252.                     <property stdset="1">
  253.                         <name>sizePolicy</name>
  254.                         <sizepolicy>
  255.                             <hsizetype>7</hsizetype>
  256.                             <vsizetype>0</vsizetype>
  257.                         </sizepolicy>
  258.                     </property>
  259.                 </widget>
  260.             </hbox>
  261.         </widget>
  262.         <widget>
  263.             <class>QLabel</class>
  264.             <property stdset="1">
  265.                 <name>name</name>
  266.                 <cstring>TextLabel2</cstring>
  267.             </property>
  268.             <property stdset="1">
  269.                 <name>text</name>
  270.                 <string>When exporting the private key it should be encrypted.</string>
  271.             </property>
  272.             <property stdset="1">
  273.                 <name>alignment</name>
  274.                 <set>WordBreak|AlignVCenter|AlignLeft</set>
  275.             </property>
  276.             <property>
  277.                 <name>wordwrap</name>
  278.             </property>
  279.         </widget>
  280.         <widget>
  281.             <class>QFrame</class>
  282.             <property stdset="1">
  283.                 <name>name</name>
  284.                 <cstring>privFrame</cstring>
  285.             </property>
  286.             <property stdset="1">
  287.                 <name>frameShape</name>
  288.                 <enum>Box</enum>
  289.             </property>
  290.             <property stdset="1">
  291.                 <name>frameShadow</name>
  292.                 <enum>Sunken</enum>
  293.             </property>
  294.             <vbox>
  295.                 <property stdset="1">
  296.                     <name>margin</name>
  297.                     <number>11</number>
  298.                 </property>
  299.                 <property stdset="1">
  300.                     <name>spacing</name>
  301.                     <number>6</number>
  302.                 </property>
  303.                 <widget>
  304.                     <class>QCheckBox</class>
  305.                     <property stdset="1">
  306.                         <name>name</name>
  307.                         <cstring>exportPrivate</cstring>
  308.                     </property>
  309.                     <property stdset="1">
  310.                         <name>text</name>
  311.                         <string>Export the private part of the Key too</string>
  312.                     </property>
  313.                 </widget>
  314.                 <widget>
  315.                     <class>QCheckBox</class>
  316.                     <property stdset="1">
  317.                         <name>name</name>
  318.                         <cstring>encryptKey</cstring>
  319.                     </property>
  320.                     <property stdset="1">
  321.                         <name>enabled</name>
  322.                         <bool>false</bool>
  323.                     </property>
  324.                     <property stdset="1">
  325.                         <name>text</name>
  326.                         <string>Encrypt the Key with a password</string>
  327.                     </property>
  328.                 </widget>
  329.             </vbox>
  330.         </widget>
  331.         <widget>
  332.             <class>QLayoutWidget</class>
  333.             <property stdset="1">
  334.                 <name>name</name>
  335.                 <cstring>Layout6</cstring>
  336.             </property>
  337.             <hbox>
  338.                 <property stdset="1">
  339.                     <name>margin</name>
  340.                     <number>0</number>
  341.                 </property>
  342.                 <property stdset="1">
  343.                     <name>spacing</name>
  344.                     <number>6</number>
  345.                 </property>
  346.                 <widget>
  347.                     <class>QPushButton</class>
  348.                     <property stdset="1">
  349.                         <name>name</name>
  350.                         <cstring>PushButton9</cstring>
  351.                     </property>
  352.                     <property stdset="1">
  353.                         <name>text</name>
  354.                         <string>Cancel</string>
  355.                     </property>
  356.                 </widget>
  357.                 <spacer>
  358.                     <property>
  359.                         <name>name</name>
  360.                         <cstring>Spacer7</cstring>
  361.                     </property>
  362.                     <property stdset="1">
  363.                         <name>orientation</name>
  364.                         <enum>Horizontal</enum>
  365.                     </property>
  366.                     <property stdset="1">
  367.                         <name>sizeType</name>
  368.                         <enum>Expanding</enum>
  369.                     </property>
  370.                     <property>
  371.                         <name>sizeHint</name>
  372.                         <size>
  373.                             <width>20</width>
  374.                             <height>20</height>
  375.                         </size>
  376.                     </property>
  377.                 </spacer>
  378.                 <widget>
  379.                     <class>QPushButton</class>
  380.                     <property stdset="1">
  381.                         <name>name</name>
  382.                         <cstring>PushButton7</cstring>
  383.                     </property>
  384.                     <property stdset="1">
  385.                         <name>text</name>
  386.                         <string>OK</string>
  387.                     </property>
  388.                 </widget>
  389.             </hbox>
  390.         </widget>
  391.     </vbox>
  392. </widget>
  393. <connections>
  394.     <connection>
  395.         <sender>PushButton7</sender>
  396.         <signal>clicked()</signal>
  397.         <receiver>ExportKey_UI</receiver>
  398.         <slot>accept()</slot>
  399.     </connection>
  400.     <connection>
  401.         <sender>PushButton9</sender>
  402.         <signal>clicked()</signal>
  403.         <receiver>ExportKey_UI</receiver>
  404.         <slot>reject()</slot>
  405.     </connection>
  406.     <connection>
  407.         <sender>ToolButton1</sender>
  408.         <signal>clicked()</signal>
  409.         <receiver>ExportKey_UI</receiver>
  410.         <slot>chooseFile()</slot>
  411.     </connection>
  412.     <connection>
  413.         <sender>exportPrivate</sender>
  414.         <signal>stateChanged(int)</signal>
  415.         <receiver>ExportKey_UI</receiver>
  416.         <slot>canEncrypt()</slot>
  417.     </connection>
  418.     <connection>
  419.         <sender>exportFormat</sender>
  420.         <signal>textChanged(const QString&amp;)</signal>
  421.         <receiver>ExportKey_UI</receiver>
  422.         <slot>canEncrypt()</slot>
  423.     </connection>
  424.     <connection>
  425.         <sender>exportFormat</sender>
  426.         <signal>activated(int)</signal>
  427.         <receiver>ExportKey_UI</receiver>
  428.         <slot>canEncrypt()</slot>
  429.     </connection>
  430.     <slot access="public">chooseFile()</slot>
  431.     <slot access="public">canEncrypt()</slot>
  432. </connections>
  433. <tabstops>
  434.     <tabstop>filename</tabstop>
  435.     <tabstop>exportPrivate</tabstop>
  436.     <tabstop>encryptKey</tabstop>
  437.     <tabstop>PushButton7</tabstop>
  438.     <tabstop>PushButton9</tabstop>
  439. </tabstops>
  440. </UI>