xca/ui/PassWrite.ui
2010-07-09 17:58:39 +02:00

229 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PassWrite</class>
<widget class="QDialog" name="PassWrite">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>329</width>
<height>245</height>
</rect>
</property>
<property name="windowTitle">
<string>Password</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="title">
<property name="font">
<font>
<family>Arial</family>
<pointsize>14</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
<underline>false</underline>
<strikeout>false</strikeout>
</font>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="image">
<property name="minimumSize">
<size>
<width>95</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>95</width>
<height>40</height>
</size>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="description">
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::Box</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label"/>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="passA">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="repeatLabel"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="passB">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="takeHex">
<property name="toolTip">
<string>The password is parsed as 2-digit hex code. It must have an equal number of digits (0-9 and a-f)</string>
</property>
<property name="text">
<string>Take as HEX string</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="PushButton2">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="PushButton1">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<tabstops>
<tabstop>passA</tabstop>
<tabstop>passB</tabstop>
<tabstop>PushButton1</tabstop>
<tabstop>PushButton2</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>PushButton1</sender>
<signal>clicked()</signal>
<receiver>PassWrite</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>442</x>
<y>212</y>
</hint>
<hint type="destinationlabel">
<x>379</x>
<y>212</y>
</hint>
</hints>
</connection>
<connection>
<sender>PushButton2</sender>
<signal>clicked()</signal>
<receiver>PassWrite</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>45</x>
<y>209</y>
</hint>
<hint type="destinationlabel">
<x>170</x>
<y>207</y>
</hint>
</hints>
</connection>
<connection>
<sender>passB</sender>
<signal>returnPressed()</signal>
<receiver>PassWrite</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>207</x>
<y>178</y>
</hint>
<hint type="destinationlabel">
<x>252</x>
<y>42</y>
</hint>
</hints>
</connection>
</connections>
</ui>