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

CA认证

开发平台:

MultiPlatform

  1. <!DOCTYPE UI><UI>
  2. <class>NewKey_UI</class>
  3. <widget>
  4.     <class>QDialog</class>
  5.     <property stdset="1">
  6.         <name>name</name>
  7.         <cstring>NewKey_UI</cstring>
  8.     </property>
  9.     <property stdset="1">
  10.         <name>geometry</name>
  11.         <rect>
  12.             <x>0</x>
  13.             <y>0</y>
  14.             <width>384</width>
  15.             <height>244</height>
  16.         </rect>
  17.     </property>
  18.     <property stdset="1">
  19.         <name>caption</name>
  20.         <string>New key</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>TextLabel6</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>New key</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>text</name>
  108.                         <string></string>
  109.                     </property>
  110.                     <property stdset="1">
  111.                         <name>scaledContents</name>
  112.                         <bool>true</bool>
  113.                     </property>
  114.                 </widget>
  115.             </hbox>
  116.         </widget>
  117.         <widget>
  118.             <class>QLabel</class>
  119.             <property stdset="1">
  120.                 <name>name</name>
  121.                 <cstring>TextLabel1</cstring>
  122.             </property>
  123.             <property stdset="1">
  124.                 <name>text</name>
  125.                 <string>Please give a name to the new key and select the desired keysize</string>
  126.             </property>
  127.             <property stdset="1">
  128.                 <name>alignment</name>
  129.                 <set>WordBreak|AlignVCenter|AlignLeft</set>
  130.             </property>
  131.             <property>
  132.                 <name>wordwrap</name>
  133.             </property>
  134.         </widget>
  135.         <widget>
  136.             <class>QGroupBox</class>
  137.             <property stdset="1">
  138.                 <name>name</name>
  139.                 <cstring>GroupBox4</cstring>
  140.             </property>
  141.             <property stdset="1">
  142.                 <name>title</name>
  143.                 <string>Key properties</string>
  144.             </property>
  145.             <grid>
  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 row="0"  column="0" >
  155.                     <class>QLabel</class>
  156.                     <property stdset="1">
  157.                         <name>name</name>
  158.                         <cstring>TextLabel5</cstring>
  159.                     </property>
  160.                     <property stdset="1">
  161.                         <name>text</name>
  162.                         <string>Name:</string>
  163.                     </property>
  164.                 </widget>
  165.                 <widget row="1"  column="0" >
  166.                     <class>QLabel</class>
  167.                     <property stdset="1">
  168.                         <name>name</name>
  169.                         <cstring>TextLabel2</cstring>
  170.                     </property>
  171.                     <property stdset="1">
  172.                         <name>text</name>
  173.                         <string>Keysize</string>
  174.                     </property>
  175.                 </widget>
  176.                 <widget row="1"  column="1" >
  177.                     <class>QComboBox</class>
  178.                     <property stdset="1">
  179.                         <name>name</name>
  180.                         <cstring>keyLength</cstring>
  181.                     </property>
  182.                     <property stdset="1">
  183.                         <name>sizePolicy</name>
  184.                         <sizepolicy>
  185.                             <hsizetype>7</hsizetype>
  186.                             <vsizetype>0</vsizetype>
  187.                         </sizepolicy>
  188.                     </property>
  189.                 </widget>
  190.                 <widget row="0"  column="1" >
  191.                     <class>QLineEdit</class>
  192.                     <property stdset="1">
  193.                         <name>name</name>
  194.                         <cstring>keyDesc</cstring>
  195.                     </property>
  196.                     <property stdset="1">
  197.                         <name>text</name>
  198.                         <string>New Key</string>
  199.                     </property>
  200.                 </widget>
  201.             </grid>
  202.         </widget>
  203.         <spacer>
  204.             <property>
  205.                 <name>name</name>
  206.                 <cstring>Spacer3</cstring>
  207.             </property>
  208.             <property stdset="1">
  209.                 <name>orientation</name>
  210.                 <enum>Vertical</enum>
  211.             </property>
  212.             <property stdset="1">
  213.                 <name>sizeType</name>
  214.                 <enum>Expanding</enum>
  215.             </property>
  216.             <property>
  217.                 <name>sizeHint</name>
  218.                 <size>
  219.                     <width>20</width>
  220.                     <height>20</height>
  221.                 </size>
  222.             </property>
  223.         </spacer>
  224.         <widget>
  225.             <class>QLayoutWidget</class>
  226.             <property stdset="1">
  227.                 <name>name</name>
  228.                 <cstring>Layout28</cstring>
  229.             </property>
  230.             <hbox>
  231.                 <property stdset="1">
  232.                     <name>margin</name>
  233.                     <number>0</number>
  234.                 </property>
  235.                 <property stdset="1">
  236.                     <name>spacing</name>
  237.                     <number>6</number>
  238.                 </property>
  239.                 <widget>
  240.                     <class>QPushButton</class>
  241.                     <property stdset="1">
  242.                         <name>name</name>
  243.                         <cstring>PushButton2</cstring>
  244.                     </property>
  245.                     <property stdset="1">
  246.                         <name>text</name>
  247.                         <string>Cancel</string>
  248.                     </property>
  249.                 </widget>
  250.                 <spacer>
  251.                     <property>
  252.                         <name>name</name>
  253.                         <cstring>Spacer2</cstring>
  254.                     </property>
  255.                     <property stdset="1">
  256.                         <name>orientation</name>
  257.                         <enum>Horizontal</enum>
  258.                     </property>
  259.                     <property stdset="1">
  260.                         <name>sizeType</name>
  261.                         <enum>Expanding</enum>
  262.                     </property>
  263.                     <property>
  264.                         <name>sizeHint</name>
  265.                         <size>
  266.                             <width>20</width>
  267.                             <height>20</height>
  268.                         </size>
  269.                     </property>
  270.                 </spacer>
  271.                 <widget>
  272.                     <class>QPushButton</class>
  273.                     <property stdset="1">
  274.                         <name>name</name>
  275.                         <cstring>PushButton1</cstring>
  276.                     </property>
  277.                     <property stdset="1">
  278.                         <name>text</name>
  279.                         <string>Create</string>
  280.                     </property>
  281.                 </widget>
  282.             </hbox>
  283.         </widget>
  284.     </vbox>
  285. </widget>
  286. <connections>
  287.     <connection>
  288.         <sender>PushButton2</sender>
  289.         <signal>clicked()</signal>
  290.         <receiver>NewKey_UI</receiver>
  291.         <slot>reject()</slot>
  292.     </connection>
  293.     <connection>
  294.         <sender>PushButton1</sender>
  295.         <signal>clicked()</signal>
  296.         <receiver>NewKey_UI</receiver>
  297.         <slot>accept()</slot>
  298.     </connection>
  299.     <connection>
  300.         <sender>PushButton1</sender>
  301.         <signal>stateChanged(int)</signal>
  302.         <receiver>NewKey_UI</receiver>
  303.         <slot>generateKey()</slot>
  304.     </connection>
  305.     <connection>
  306.         <sender>keyDesc</sender>
  307.         <signal>returnPressed()</signal>
  308.         <receiver>NewKey_UI</receiver>
  309.         <slot>accept()</slot>
  310.     </connection>
  311.     <slot access="public">generateKey()</slot>
  312. </connections>
  313. <tabstops>
  314.     <tabstop>keyDesc</tabstop>
  315.     <tabstop>keyLength</tabstop>
  316.     <tabstop>PushButton1</tabstop>
  317.     <tabstop>PushButton2</tabstop>
  318. </tabstops>
  319. </UI>