2013-03-10 17:23:10 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>PasswordGeneratorWidget</class>
|
|
|
|
<widget class="QWidget" name="PasswordGeneratorWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2014-01-12 17:33:36 -05:00
|
|
|
<width>434</width>
|
|
|
|
<height>250</height>
|
2013-03-10 17:23:10 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string/>
|
|
|
|
</property>
|
2014-01-12 17:33:36 -05:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2013-03-10 17:23:10 -04:00
|
|
|
<item>
|
2014-01-12 17:33:36 -05:00
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="labelNewPassword">
|
|
|
|
<property name="text">
|
|
|
|
<string>Password:</string>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
2014-01-12 17:33:36 -05:00
|
|
|
</widget>
|
2013-03-12 17:42:06 -04:00
|
|
|
</item>
|
2014-01-12 17:33:36 -05:00
|
|
|
<item row="0" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<property name="sizeConstraint">
|
|
|
|
<enum>QLayout::SetNoConstraint</enum>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="PasswordComboBox" name="editNewPassword">
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-01-12 17:33:36 -05:00
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="togglePasswordButton">
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-01-12 17:33:36 -05:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QLabel" name="labelLength">
|
|
|
|
<property name="text">
|
|
|
|
<string>Length:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QSlider" name="sliderLength">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>64</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tickPosition">
|
|
|
|
<enum>QSlider::TicksBelow</enum>
|
|
|
|
</property>
|
|
|
|
<property name="tickInterval">
|
|
|
|
<number>8</number>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-01-12 17:33:36 -05:00
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="spinBoxLength">
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>999</number>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-01-12 17:33:36 -05:00
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Character Types</string>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
2014-01-12 17:33:36 -05:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="checkBoxUpper">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Upper Case Letters</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>A-Z</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">optionButtons</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="checkBoxLower">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Lower Case Letters</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>a-z</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">optionButtons</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="checkBoxNumbers">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Numbers</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>0-9</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">optionButtons</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="checkBoxSpecialChars">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Special Characters</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>/*_& ...</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">optionButtons</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBoxExcludeAlike">
|
|
|
|
<property name="text">
|
|
|
|
<string>Exclude look-alike characters</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">optionButtons</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkBoxEnsureEvery">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ensure that the password contains characters from every group</string>
|
|
|
|
</property>
|
|
|
|
<attribute name="buttonGroup">
|
|
|
|
<string notr="true">optionButtons</string>
|
|
|
|
</attribute>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2013-03-12 17:42:06 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-01-12 17:33:36 -05:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
2013-03-12 17:42:06 -04:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="buttonApply">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2014-01-12 17:33:36 -05:00
|
|
|
<string>Accept</string>
|
2013-03-12 17:42:06 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2013-03-10 17:23:10 -04:00
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-01-12 17:33:36 -05:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>PasswordComboBox</class>
|
|
|
|
<extends>QComboBox</extends>
|
|
|
|
<header location="global">gui/PasswordComboBox.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2013-11-17 04:15:50 -05:00
|
|
|
<tabstops>
|
2014-01-12 17:33:36 -05:00
|
|
|
<tabstop>editNewPassword</tabstop>
|
|
|
|
<tabstop>togglePasswordButton</tabstop>
|
|
|
|
<tabstop>sliderLength</tabstop>
|
|
|
|
<tabstop>spinBoxLength</tabstop>
|
|
|
|
<tabstop>checkBoxUpper</tabstop>
|
2013-11-17 04:15:50 -05:00
|
|
|
<tabstop>checkBoxLower</tabstop>
|
|
|
|
<tabstop>checkBoxNumbers</tabstop>
|
|
|
|
<tabstop>checkBoxSpecialChars</tabstop>
|
|
|
|
<tabstop>checkBoxExcludeAlike</tabstop>
|
|
|
|
<tabstop>checkBoxEnsureEvery</tabstop>
|
|
|
|
<tabstop>buttonApply</tabstop>
|
|
|
|
</tabstops>
|
2013-03-10 17:23:10 -04:00
|
|
|
<resources/>
|
|
|
|
<connections/>
|
2014-01-12 17:33:36 -05:00
|
|
|
<buttongroups>
|
|
|
|
<buttongroup name="optionButtons">
|
|
|
|
<property name="exclusive">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</buttongroup>
|
|
|
|
</buttongroups>
|
2013-03-10 17:23:10 -04:00
|
|
|
</ui>
|