danicoinwallet/src/gui/ui/newpassworddialog.ui
cryptonotefoundation 04bc8b699f Initial commit
2015-04-29 20:15:01 +03:00

181 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NewPasswordDialog</class>
<widget class="QDialog" name="NewPasswordDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>338</width>
<height>133</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Enter password</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="3" column="1">
<widget class="QPushButton" name="m_okButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Ok</string>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QPushButton" name="m_cancelButton">
<property name="text">
<string>Cancel</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="m_passwordEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="m_passwordConfirmationEdit">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Confirm:</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<widget class="QLabel" name="m_errorLabel">
<property name="styleSheet">
<string notr="true">color: #ff0000; font: 11px;</string>
</property>
<property name="text">
<string>Password not confirmed</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>m_passwordEdit</tabstop>
<tabstop>m_passwordConfirmationEdit</tabstop>
<tabstop>m_okButton</tabstop>
<tabstop>m_cancelButton</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>m_okButton</sender>
<signal>clicked()</signal>
<receiver>NewPasswordDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>147</x>
<y>102</y>
</hint>
<hint type="destinationlabel">
<x>147</x>
<y>63</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_cancelButton</sender>
<signal>clicked()</signal>
<receiver>NewPasswordDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>241</x>
<y>102</y>
</hint>
<hint type="destinationlabel">
<x>147</x>
<y>63</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_passwordEdit</sender>
<signal>textChanged(QString)</signal>
<receiver>NewPasswordDialog</receiver>
<slot>checkPassword(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>206</x>
<y>25</y>
</hint>
<hint type="destinationlabel">
<x>168</x>
<y>64</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_passwordConfirmationEdit</sender>
<signal>textChanged(QString)</signal>
<receiver>NewPasswordDialog</receiver>
<slot>checkPassword(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>206</x>
<y>64</y>
</hint>
<hint type="destinationlabel">
<x>168</x>
<y>64</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>checkPassword(QString)</slot>
</slots>
</ui>