diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-07-10 01:03:55 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2015-07-10 01:03:55 +0200 |
commit | c00520ec2238f6ce26a2ff6c1010b49c33a82ac4 (patch) | |
tree | 6df14aff3b01514e4acf3de54e13046e78b084c7 /passworddialog.ui | |
parent | 4cda1ec9cceb5e4119b4d6d9f22b834e791416ed (diff) |
Basic PasswordDialog implemented . . don't clipboard empty passwords
Diffstat (limited to 'passworddialog.ui')
-rw-r--r-- | passworddialog.ui | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/passworddialog.ui b/passworddialog.ui new file mode 100644 index 00000000..db0b0dc6 --- /dev/null +++ b/passworddialog.ui @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PasswordDialog</class> + <widget class="QDialog" name="PasswordDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>266</width> + <height>235</height> + </rect> + </property> + <property name="windowTitle"> + <string>Password</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLineEdit" name="lineEditPassword"> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="createPasswordButton"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Generate</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QCheckBox" name="checkBoxShow"> + <property name="text"> + <string>Show password</string> + </property> + </widget> + </item> + <item> + <widget class="QPlainTextEdit" name="plainTextEdit"/> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <resources/> + <connections> + <connection> + <sender>buttonBox</sender> + <signal>accepted()</signal> + <receiver>PasswordDialog</receiver> + <slot>accept()</slot> + <hints> + <hint type="sourcelabel"> + <x>248</x> + <y>254</y> + </hint> + <hint type="destinationlabel"> + <x>157</x> + <y>274</y> + </hint> + </hints> + </connection> + <connection> + <sender>buttonBox</sender> + <signal>rejected()</signal> + <receiver>PasswordDialog</receiver> + <slot>reject()</slot> + <hints> + <hint type="sourcelabel"> + <x>316</x> + <y>260</y> + </hint> + <hint type="destinationlabel"> + <x>286</x> + <y>274</y> + </hint> + </hints> + </connection> + </connections> +</ui> |