diff --git a/src/gui/sizedialogwidget.h b/src/gui/sizedialogwidget.h
index a6330f0..5be87cb 100644
--- a/src/gui/sizedialogwidget.h
+++ b/src/gui/sizedialogwidget.h
@@ -87,6 +87,15 @@ public:
return *m_CheckBoxEncrypt;
}
+ QLineEdit& editPassphrase() {
+ Q_ASSERT(m_EditPassphrase);
+ return *m_EditPassphrase;
+ }
+ QLabel& labelPassphrase() {
+ Q_ASSERT(m_LabelPassphrase);
+ return *m_LabelPassphrase;
+ }
+
QLabel& textLabel() {
Q_ASSERT(m_LabelTextLabel);
return *m_LabelTextLabel;
@@ -121,6 +130,10 @@ public:
m_ComboFileSystem = nullptr;
delete m_CheckBoxEncrypt;
m_CheckBoxEncrypt = nullptr;
+ delete m_LabelPassphrase;
+ m_LabelPassphrase = nullptr;
+ delete m_EditPassphrase;
+ m_EditPassphrase = nullptr;
}
void hideLabel() {
delete m_LabelTextLabel;
diff --git a/src/gui/sizedialogwidgetbase.ui b/src/gui/sizedialogwidgetbase.ui
index 8fc4f09..710121b 100644
--- a/src/gui/sizedialogwidgetbase.ui
+++ b/src/gui/sizedialogwidgetbase.ui
@@ -7,10 +7,30 @@
0
0
653
- 655
+ 693
+ -
+
+
+ 0.000000000000000
+
+
+ 999999999.000000000000000
+
+
+
+ -
+
+
+ Passphrase:
+
+
+ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+
+
+
-
@@ -106,7 +126,7 @@
- -
+
-
Label:
@@ -119,7 +139,7 @@
- -
+
-
-
@@ -136,7 +156,7 @@
- -
+
-
@@ -152,14 +172,14 @@
- -
+
-
Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
- -
+
-
@@ -175,14 +195,14 @@
- -
+
-
Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
- -
+
-
@@ -191,7 +211,7 @@
- Free space before:
+ F&ree space before:
Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
@@ -201,7 +221,7 @@
- -
+
-
@@ -217,7 +237,7 @@
- -
+
-
@@ -236,17 +256,7 @@
- -
-
-
- 0.000000000000000
-
-
- 999999999.000000000000000
-
-
-
- -
+
-
@@ -265,7 +275,7 @@
- -
+
-
0.000000000000000
@@ -275,7 +285,7 @@
- -
+
-
Qt::Vertical
@@ -296,13 +306,24 @@
-
+
+
+ -
+
+
+ Set up encryption for this filesystem with LUKS. You will be asked to provide a passphrase.
+
+
+ Encrypt with LUKS
+
+
+
+ -
+
-
-
-
- Set up encryption for this filesystem with LUKS. You will be asked to provide a passphrase.
-
-
- Encrypt with LUKS
+
+
+ QLineEdit::Password