noo/client/newpassworddlg.ui
2018-09-25 22:55:14 +03:00

106 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NewPasswordDlg</class>
<widget class="QDialog" name="NewPasswordDlg">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>416</width>
<height>200</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>188</height>
</size>
</property>
<property name="windowTitle">
<string>Password for new database</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="mNewPasswordLabel1">
<property name="text">
<string>Password:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="mNewPasswordEdit1">
<property name="inputMethodHints">
<set>Qt::ImhHiddenText|Qt::ImhNoAutoUppercase|Qt::ImhNoPredictiveText|Qt::ImhSensitiveData</set>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="mNewPasswordLabel2">
<property name="text">
<string>Repeat password:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="mNewPasswordEdit2">
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="mPasswordHintLabel">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Please enter new password twice to complete database creation.&lt;/p&gt; &lt;p&gt;Please be aware - there is no way to recover lost password.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="mDialogButtonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>mDialogButtonBox</sender>
<signal>accepted()</signal>
<receiver>NewPasswordDlg</receiver>
<slot>tryAccept()</slot>
<hints>
<hint type="sourcelabel">
<x>199</x>
<y>167</y>
</hint>
<hint type="destinationlabel">
<x>199</x>
<y>93</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>tryAccept()</slot>
</slots>
</ui>