PageRenderTime 62ms CodeModel.GetById 37ms app.highlight 10ms RepoModel.GetById 0ms app.codeStats 0ms

/guitone-1.0rc5/res/forms/dialogs/change_key_password.ui

#
Unknown | 170 lines | 170 code | 0 blank | 0 comment | 0 complexity | e909c87e37867060d192cf12d9fc6c97 MD5 | raw file
Possible License(s): GPL-3.0
  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>ChangeKeyPassword</class>
  4 <widget class="QDialog" name="ChangeKeyPassword">
  5  <property name="windowModality">
  6   <enum>Qt::WindowModal</enum>
  7  </property>
  8  <property name="enabled">
  9   <bool>true</bool>
 10  </property>
 11  <property name="geometry">
 12   <rect>
 13    <x>0</x>
 14    <y>0</y>
 15    <width>370</width>
 16    <height>174</height>
 17   </rect>
 18  </property>
 19  <property name="sizePolicy">
 20   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 21    <horstretch>0</horstretch>
 22    <verstretch>0</verstretch>
 23   </sizepolicy>
 24  </property>
 25  <property name="windowTitle">
 26   <string>Change key password</string>
 27  </property>
 28  <property name="windowIcon">
 29   <iconset resource="../../guitone.qrc">
 30    <normaloff>:/icons/guitone.png</normaloff>:/icons/guitone.png</iconset>
 31  </property>
 32  <property name="sizeGripEnabled">
 33   <bool>false</bool>
 34  </property>
 35  <property name="modal">
 36   <bool>false</bool>
 37  </property>
 38  <layout class="QFormLayout" name="formLayout">
 39   <property name="fieldGrowthPolicy">
 40    <enum>QFormLayout::ExpandingFieldsGrow</enum>
 41   </property>
 42   <property name="margin">
 43    <number>16</number>
 44   </property>
 45   <item row="0" column="0">
 46    <widget class="QLabel" name="label">
 47     <property name="text">
 48      <string>Old Password</string>
 49     </property>
 50    </widget>
 51   </item>
 52   <item row="0" column="1">
 53    <widget class="QLineEdit" name="oldPasswd">
 54     <property name="sizePolicy">
 55      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 56       <horstretch>0</horstretch>
 57       <verstretch>0</verstretch>
 58      </sizepolicy>
 59     </property>
 60     <property name="echoMode">
 61      <enum>QLineEdit::Password</enum>
 62     </property>
 63    </widget>
 64   </item>
 65   <item row="1" column="0">
 66    <widget class="QLabel" name="label_2">
 67     <property name="text">
 68      <string>Password</string>
 69     </property>
 70    </widget>
 71   </item>
 72   <item row="1" column="1">
 73    <widget class="QLineEdit" name="newPasswd">
 74     <property name="sizePolicy">
 75      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 76       <horstretch>0</horstretch>
 77       <verstretch>0</verstretch>
 78      </sizepolicy>
 79     </property>
 80     <property name="echoMode">
 81      <enum>QLineEdit::Password</enum>
 82     </property>
 83    </widget>
 84   </item>
 85   <item row="2" column="0">
 86    <widget class="QLabel" name="label_3">
 87     <property name="text">
 88      <string>Repeat password</string>
 89     </property>
 90    </widget>
 91   </item>
 92   <item row="2" column="1">
 93    <widget class="QLineEdit" name="newPasswd2">
 94     <property name="sizePolicy">
 95      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 96       <horstretch>0</horstretch>
 97       <verstretch>0</verstretch>
 98      </sizepolicy>
 99     </property>
100     <property name="echoMode">
101      <enum>QLineEdit::Password</enum>
102     </property>
103    </widget>
104   </item>
105   <item row="3" column="1">
106    <widget class="QCheckBox" name="rememberPassword">
107     <property name="toolTip">
108      <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
109&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
110p, li { white-space: pre-wrap; }
111&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Lucida Grande'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
112&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Set this option if you don't want to set up a lua hook which tells monotone the passphrase for key decryption.&lt;/p&gt;
113&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;WARNING:&lt;/span&gt; Passwords are stored unencrypted in guitone's settings!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
114     </property>
115     <property name="text">
116      <string>remember password</string>
117     </property>
118    </widget>
119   </item>
120   <item row="4" column="1">
121    <widget class="QDialogButtonBox" name="buttonBox">
122     <property name="orientation">
123      <enum>Qt::Horizontal</enum>
124     </property>
125     <property name="standardButtons">
126      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
127     </property>
128    </widget>
129   </item>
130  </layout>
131 </widget>
132 <resources>
133  <include location="../../guitone.qrc"/>
134  <include location="../../guitone.qrc"/>
135 </resources>
136 <connections>
137  <connection>
138   <sender>buttonBox</sender>
139   <signal>accepted()</signal>
140   <receiver>ChangeKeyPassword</receiver>
141   <slot>accept()</slot>
142   <hints>
143    <hint type="sourcelabel">
144     <x>248</x>
145     <y>254</y>
146    </hint>
147    <hint type="destinationlabel">
148     <x>157</x>
149     <y>274</y>
150    </hint>
151   </hints>
152  </connection>
153  <connection>
154   <sender>buttonBox</sender>
155   <signal>rejected()</signal>
156   <receiver>ChangeKeyPassword</receiver>
157   <slot>reject()</slot>
158   <hints>
159    <hint type="sourcelabel">
160     <x>316</x>
161     <y>260</y>
162    </hint>
163    <hint type="destinationlabel">
164     <x>286</x>
165     <y>274</y>
166    </hint>
167   </hints>
168  </connection>
169 </connections>
170</ui>