2011-01-21 13:32:27 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>PinEntry</class>
|
|
|
|
<widget class="QDialog" name="PinEntry">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2011-06-09 08:23:58 +00:00
|
|
|
<width>722</width>
|
|
|
|
<height>595</height>
|
2011-01-21 13:32:27 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2011-04-21 05:48:02 +00:00
|
|
|
<string>Certificate PIN Entry</string>
|
2011-01-21 13:32:27 +00:00
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2011-06-03 06:59:40 +00:00
|
|
|
<string>Please enter your PIN to unlock Certificate:</string>
|
2011-01-21 13:32:27 +00:00
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2011-06-16 06:39:05 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
2011-01-21 13:32:27 +00:00
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>PIN:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy">
|
|
|
|
<cstring>_pin</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-06-16 06:39:05 +00:00
|
|
|
<item>
|
2011-04-21 05:48:02 +00:00
|
|
|
<widget class="QLineEdit" name="_pin">
|
|
|
|
<property name="echoMode">
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2011-01-21 13:32:27 +00:00
|
|
|
</item>
|
2011-06-16 06:39:05 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QStackedWidget" name="_pinstatus">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="page">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="_status">
|
|
|
|
<property name="text">
|
|
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
|
p, li { white-space: pre-wrap; }
|
|
|
|
</style></head><body style=" font-family:'DejaVu Serif'; font-size:11pt; font-weight:400; font-style:normal;">
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:24pt; color:#00b900;">✔</span></p></body></html></string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="_retries">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>%1 PIN attempts left</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="page_2">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="_status_2">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
|
|
p, li { white-space: pre-wrap; }
|
|
|
|
</style></head><body style=" font-family:'DejaVu Serif'; font-size:11pt; font-weight:400; font-style:normal;">
|
|
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'sans-serif'; font-size:24pt; color:#ff0000;">✘</span></p></body></html></string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="_tries_2">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>bad or locked certificate</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="page_3"/>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-01-21 13:32:27 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
2011-04-21 05:48:02 +00:00
|
|
|
<item>
|
2011-06-09 08:40:51 +00:00
|
|
|
<widget class="Certificate" name="_cert" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2011-04-21 05:48:02 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
2011-01-21 13:32:27 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2011-06-09 08:23:58 +00:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>Certificate</class>
|
2011-06-09 08:40:51 +00:00
|
|
|
<extends>QWidget</extends>
|
2011-06-09 08:23:58 +00:00
|
|
|
<header>certificate.hxx</header>
|
2011-06-09 08:40:51 +00:00
|
|
|
<container>1</container>
|
2011-06-09 08:23:58 +00:00
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2011-01-21 13:32:27 +00:00
|
|
|
<resources/>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>PinEntry</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>PinEntry</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|