208 lines
5.2 KiB
Plaintext
208 lines
5.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>ChangePasswordDialog</class>
|
||
|
<widget class="QDialog" name="ChangePasswordDialog">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>338</width>
|
||
|
<height>166</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="minimumSize">
|
||
|
<size>
|
||
|
<width>338</width>
|
||
|
<height>0</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="maximumSize">
|
||
|
<size>
|
||
|
<width>338</width>
|
||
|
<height>16777215</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Change password</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="4" 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="2" column="1" colspan="2">
|
||
|
<widget class="QLineEdit" name="m_newPasswordConfirmationEdit">
|
||
|
<property name="echoMode">
|
||
|
<enum>QLineEdit::Password</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="text">
|
||
|
<string>Old password:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1" colspan="2">
|
||
|
<widget class="QLineEdit" name="m_oldPasswordEdit">
|
||
|
<property name="echoMode">
|
||
|
<enum>QLineEdit::Password</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="4" column="2">
|
||
|
<widget class="QPushButton" name="m_cancelButton">
|
||
|
<property name="text">
|
||
|
<string>Cancel</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" 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>New password:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1" colspan="2">
|
||
|
<widget class="QLineEdit" name="m_newPasswordEdit">
|
||
|
<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="2" 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="3" 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_oldPasswordEdit</tabstop>
|
||
|
<tabstop>m_newPasswordEdit</tabstop>
|
||
|
<tabstop>m_newPasswordConfirmationEdit</tabstop>
|
||
|
<tabstop>m_okButton</tabstop>
|
||
|
<tabstop>m_cancelButton</tabstop>
|
||
|
</tabstops>
|
||
|
<resources/>
|
||
|
<connections>
|
||
|
<connection>
|
||
|
<sender>m_newPasswordEdit</sender>
|
||
|
<signal>textChanged(QString)</signal>
|
||
|
<receiver>ChangePasswordDialog</receiver>
|
||
|
<slot>checkPassword(QString)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>223</x>
|
||
|
<y>64</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>168</x>
|
||
|
<y>82</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>m_newPasswordConfirmationEdit</sender>
|
||
|
<signal>textChanged(QString)</signal>
|
||
|
<receiver>ChangePasswordDialog</receiver>
|
||
|
<slot>checkPassword(QString)</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>223</x>
|
||
|
<y>103</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>168</x>
|
||
|
<y>82</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>m_okButton</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>ChangePasswordDialog</receiver>
|
||
|
<slot>accept()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>169</x>
|
||
|
<y>141</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>168</x>
|
||
|
<y>82</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
<connection>
|
||
|
<sender>m_cancelButton</sender>
|
||
|
<signal>clicked()</signal>
|
||
|
<receiver>ChangePasswordDialog</receiver>
|
||
|
<slot>reject()</slot>
|
||
|
<hints>
|
||
|
<hint type="sourcelabel">
|
||
|
<x>277</x>
|
||
|
<y>141</y>
|
||
|
</hint>
|
||
|
<hint type="destinationlabel">
|
||
|
<x>168</x>
|
||
|
<y>82</y>
|
||
|
</hint>
|
||
|
</hints>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<slots>
|
||
|
<slot>checkPassword(QString)</slot>
|
||
|
</slots>
|
||
|
</ui>
|