Initial commit
[keepassx] / src / forms / CollectEntropyDlg.ui
1 <ui version="4.0" >
2  <class>CollectEntropyDlg</class>
3  <widget class="QDialog" name="CollectEntropyDlg" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>432</width>
9     <height>316</height>
10    </rect>
11   </property>
12   <property name="sizePolicy" >
13    <sizepolicy vsizetype="Maximum" hsizetype="Maximum" >
14     <horstretch>0</horstretch>
15     <verstretch>0</verstretch>
16    </sizepolicy>
17   </property>
18   <property name="minimumSize" >
19    <size>
20     <width>432</width>
21     <height>230</height>
22    </size>
23   </property>
24   <property name="windowTitle" >
25    <string>Random Number Generator</string>
26   </property>
27   <layout class="QVBoxLayout" >
28    <property name="spacing" >
29     <number>6</number>
30    </property>
31    <item>
32     <spacer>
33      <property name="orientation" >
34       <enum>Qt::Vertical</enum>
35      </property>
36      <property name="sizeType" >
37       <enum>QSizePolicy::Fixed</enum>
38      </property>
39      <property name="sizeHint" >
40       <size>
41        <width>20</width>
42        <height>50</height>
43       </size>
44      </property>
45     </spacer>
46    </item>
47    <item>
48     <widget class="QLabel" name="label" >
49      <property name="sizePolicy" >
50       <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
51        <horstretch>0</horstretch>
52        <verstretch>0</verstretch>
53       </sizepolicy>
54      </property>
55      <property name="text" >
56       <string>Collecting entropy...
57 Please move the mouse and/or press some keys until enought entropy for a reseed of the random number generator is collected.</string>
58      </property>
59      <property name="scaledContents" >
60       <bool>false</bool>
61      </property>
62      <property name="wordWrap" >
63       <bool>true</bool>
64      </property>
65     </widget>
66    </item>
67    <item>
68     <widget class="QProgressBar" name="progressBar" >
69      <property name="maximum" >
70       <number>420</number>
71      </property>
72      <property name="value" >
73       <number>0</number>
74      </property>
75      <property name="orientation" >
76       <enum>Qt::Horizontal</enum>
77      </property>
78     </widget>
79    </item>
80    <item>
81     <widget class="QStackedWidget" name="stackedWidget" >
82      <property name="sizePolicy" >
83       <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
84        <horstretch>0</horstretch>
85        <verstretch>0</verstretch>
86       </sizepolicy>
87      </property>
88      <property name="minimumSize" >
89       <size>
90        <width>16</width>
91        <height>46</height>
92       </size>
93      </property>
94      <property name="maximumSize" >
95       <size>
96        <width>16777215</width>
97        <height>46</height>
98       </size>
99      </property>
100      <property name="currentIndex" >
101       <number>0</number>
102      </property>
103      <widget class="QWidget" name="page" >
104       <layout class="QHBoxLayout" >
105        <property name="spacing" >
106         <number>6</number>
107        </property>
108        <item>
109         <spacer>
110          <property name="orientation" >
111           <enum>Qt::Horizontal</enum>
112          </property>
113          <property name="sizeType" >
114           <enum>QSizePolicy::Minimum</enum>
115          </property>
116          <property name="sizeHint" >
117           <size>
118            <width>40</width>
119            <height>20</height>
120           </size>
121          </property>
122         </spacer>
123        </item>
124        <item>
125         <widget class="WaitAnimationWidget" native="1" name="Animation" >
126          <property name="sizePolicy" >
127           <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
128            <horstretch>0</horstretch>
129            <verstretch>0</verstretch>
130           </sizepolicy>
131          </property>
132          <property name="minimumSize" >
133           <size>
134            <width>41</width>
135            <height>41</height>
136           </size>
137          </property>
138          <property name="maximumSize" >
139           <size>
140            <width>41</width>
141            <height>41</height>
142           </size>
143          </property>
144         </widget>
145        </item>
146        <item>
147         <spacer>
148          <property name="orientation" >
149           <enum>Qt::Horizontal</enum>
150          </property>
151          <property name="sizeType" >
152           <enum>QSizePolicy::Minimum</enum>
153          </property>
154          <property name="sizeHint" >
155           <size>
156            <width>40</width>
157            <height>20</height>
158           </size>
159          </property>
160         </spacer>
161        </item>
162       </layout>
163      </widget>
164      <widget class="QWidget" name="page_2" >
165       <layout class="QVBoxLayout" >
166        <property name="spacing" >
167         <number>6</number>
168        </property>
169        <item>
170         <widget class="QLabel" name="Label_Finished" >
171          <property name="text" >
172           <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
173 p, li { white-space: pre-wrap; }
174 &lt;/style>&lt;/head>&lt;body style=" font-family:'Verdana'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
175 &lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; color:#006400;">Random pool successfully reseeded!&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
176          </property>
177          <property name="alignment" >
178           <set>Qt::AlignCenter</set>
179          </property>
180         </widget>
181        </item>
182       </layout>
183      </widget>
184     </widget>
185    </item>
186    <item>
187     <widget class="QDialogButtonBox" name="buttonBox" >
188      <property name="orientation" >
189       <enum>Qt::Horizontal</enum>
190      </property>
191      <property name="standardButtons" >
192       <set>QDialogButtonBox::Ok</set>
193      </property>
194     </widget>
195    </item>
196   </layout>
197  </widget>
198  <customwidgets>
199   <customwidget>
200    <class>WaitAnimationWidget</class>
201    <extends>QWidget</extends>
202    <header>lib/WaitAnimationWidget.h</header>
203   </customwidget>
204  </customwidgets>
205  <resources/>
206  <connections>
207   <connection>
208    <sender>buttonBox</sender>
209    <signal>rejected()</signal>
210    <receiver>CollectEntropyDlg</receiver>
211    <slot>reject()</slot>
212    <hints>
213     <hint type="sourcelabel" >
214      <x>316</x>
215      <y>260</y>
216     </hint>
217     <hint type="destinationlabel" >
218      <x>286</x>
219      <y>274</y>
220     </hint>
221    </hints>
222   </connection>
223   <connection>
224    <sender>buttonBox</sender>
225    <signal>accepted()</signal>
226    <receiver>CollectEntropyDlg</receiver>
227    <slot>accept()</slot>
228    <hints>
229     <hint type="sourcelabel" >
230      <x>248</x>
231      <y>254</y>
232     </hint>
233     <hint type="destinationlabel" >
234      <x>157</x>
235      <y>274</y>
236     </hint>
237    </hints>
238   </connection>
239  </connections>
240 </ui>