some UI fix

This commit is contained in:
thez3ro 2017-03-17 01:34:33 +01:00
parent b6a7771a23
commit 7541f57aeb
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -208,7 +208,7 @@ QProgressBar::chunk {
</property> </property>
<widget class="QWidget" name="passwordWidget"> <widget class="QWidget" name="passwordWidget">
<attribute name="title"> <attribute name="title">
<string>Random</string> <string>Password</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="1" column="0"> <item row="1" column="0">
@ -444,112 +444,109 @@ QProgressBar::chunk {
</widget> </widget>
<widget class="QWidget" name="dicewareWidget"> <widget class="QWidget" name="dicewareWidget">
<attribute name="title"> <attribute name="title">
<string>Diceware</string> <string>Passphrase</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0"> <item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item> <item>
<widget class="QLabel" name="labelWordList"> <layout class="QGridLayout" name="gridLayout_3">
<property name="sizePolicy"> <item row="0" column="0" alignment="Qt::AlignRight">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <widget class="QLabel" name="labelWordList">
<horstretch>0</horstretch> <property name="sizePolicy">
<verstretch>0</verstretch> <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
</sizepolicy> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="text"> </sizepolicy>
<string>Wordlist:</string> </property>
</property> <property name="text">
</widget> <string>Wordlist:</string>
</item> </property>
<item> </widget>
<widget class="QComboBox" name="comboBoxWordList"> </item>
<property name="sizePolicy"> <item row="0" column="1">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <widget class="QComboBox" name="comboBoxWordList">
<horstretch>0</horstretch> <property name="sizePolicy">
<verstretch>0</verstretch> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
</sizepolicy> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
</widget> </sizepolicy>
</item> </property>
</layout> </widget>
</item> </item>
<item row="2" column="0"> <item row="1" column="0" alignment="Qt::AlignRight">
<layout class="QHBoxLayout" name="passwordLengthSliderLayout_2"> <widget class="QLabel" name="labelWordCount">
<property name="spacing"> <property name="text">
<number>15</number> <string>Word Count:</string>
</property> </property>
<property name="topMargin"> <property name="buddy">
<number>6</number> <cstring>spinBoxLength</cstring>
</property> </property>
<item> </widget>
<widget class="QLabel" name="labelWordCount"> </item>
<property name="text"> <item row="1" column="1">
<string>Word Count:</string> <layout class="QHBoxLayout" name="horizontalLayout_3">
</property> <property name="sizeConstraint">
<property name="buddy"> <enum>QLayout::SetMinimumSize</enum>
<cstring>spinBoxLength</cstring> </property>
</property> <item>
</widget> <widget class="QSlider" name="sliderWordCount">
</item> <property name="minimum">
<item> <number>1</number>
<widget class="QSlider" name="sliderWordCount"> </property>
<property name="minimum"> <property name="maximum">
<number>1</number> <number>40</number>
</property> </property>
<property name="maximum"> <property name="value">
<number>40</number> <number>6</number>
</property> </property>
<property name="value"> <property name="sliderPosition">
<number>6</number> <number>6</number>
</property> </property>
<property name="sliderPosition"> <property name="orientation">
<number>6</number> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="orientation"> <property name="tickPosition">
<enum>Qt::Horizontal</enum> <enum>QSlider::TicksBelow</enum>
</property> </property>
<property name="tickPosition"> <property name="tickInterval">
<enum>QSlider::TicksBelow</enum> <number>8</number>
</property> </property>
<property name="tickInterval"> </widget>
<number>8</number> </item>
</property> <item>
</widget> <widget class="QSpinBox" name="spinBoxWordCount">
</item> <property name="minimum">
<item alignment="Qt::AlignRight"> <number>1</number>
<widget class="QSpinBox" name="spinBoxWordCount"> </property>
<property name="minimum"> <property name="maximum">
<number>1</number> <number>100</number>
</property> </property>
<property name="maximum"> <property name="value">
<number>100</number> <number>6</number>
</property> </property>
<property name="value"> </widget>
<number>6</number> </item>
</property> </layout>
</widget> </item>
</item> <item row="2" column="0" alignment="Qt::AlignRight">
</layout> <widget class="QLabel" name="labelWordSeparator">
</item> <property name="text">
<item row="3" column="0"> <string>Word Separator:</string>
<layout class="QHBoxLayout" name="horizontalLayout_3"> </property>
<item> </widget>
<widget class="QLabel" name="labelWordSeparator"> </item>
<property name="text"> <item row="2" column="1">
<string>Word Separator:</string> <widget class="QComboBox" name="comboBoxWordSeparator">
</property> <property name="sizePolicy">
</widget> <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
</item> <horstretch>0</horstretch>
<item> <verstretch>0</verstretch>
<widget class="QComboBox" name="comboBoxWordSeparator"> </sizepolicy>
<property name="sizePolicy"> </property>
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> </widget>
<horstretch>0</horstretch> </item>
<verstretch>0</verstretch> </layout>
</sizepolicy>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
@ -559,6 +556,19 @@ QProgressBar::chunk {
</item> </item>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item>
<spacer name="horizontalSpacer_3">
<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> <item>
<widget class="QPushButton" name="buttonGenerate"> <widget class="QPushButton" name="buttonGenerate">
<property name="text"> <property name="text">