[partition] Including CreateVolumeGroupDialog and fixing some of its GUI issues.

This commit is contained in:
Caio 2018-06-07 17:22:22 -03:00
parent d15ce56c97
commit 208d58bcd9
12 changed files with 409 additions and 37 deletions

View file

@ -25,7 +25,7 @@
<widget class="QListWidget" name="pvList"/>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="vgNameLabel">
<property name="text">
<string>Volume Group Name:</string>
</property>
@ -35,10 +35,10 @@
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="lineEdit"/>
<widget class="QLineEdit" name="vgName"/>
</item>
<item row="2" column="1">
<widget class="QLabel" name="label_3">
<widget class="QLabel" name="vgTypeLabel">
<property name="text">
<string>Volume Group Type:</string>
</property>
@ -48,10 +48,10 @@
</widget>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="comboBox"/>
<widget class="QComboBox" name="vgType"/>
</item>
<item row="3" column="1">
<widget class="QLabel" name="label_4">
<widget class="QLabel" name="peSizeLabel">
<property name="text">
<string>Physical Extent Size:</string>
</property>
@ -61,10 +61,23 @@
</widget>
</item>
<item row="3" column="2">
<widget class="QSpinBox" name="spinBox"/>
<widget class="QSpinBox" name="peSize">
<property name="suffix">
<string> MiB</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
<property name="value">
<number>4</number>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLabel" name="label_5">
<widget class="QLabel" name="totalSizeLabel">
<property name="text">
<string>Total Size:</string>
</property>
@ -74,7 +87,7 @@
</widget>
</item>
<item row="4" column="2">
<widget class="QLabel" name="label_9">
<widget class="QLabel" name="totalSize">
<property name="text">
<string>---</string>
</property>
@ -84,7 +97,7 @@
</widget>
</item>
<item row="5" column="1">
<widget class="QLabel" name="label_6">
<widget class="QLabel" name="usedSizeLabel">
<property name="text">
<string>Used Size:</string>
</property>
@ -94,7 +107,7 @@
</widget>
</item>
<item row="5" column="2">
<widget class="QLabel" name="label_10">
<widget class="QLabel" name="usedSize">
<property name="text">
<string>---</string>
</property>
@ -104,7 +117,7 @@
</widget>
</item>
<item row="6" column="1">
<widget class="QLabel" name="label_7">
<widget class="QLabel" name="totalSectorsLabel">
<property name="text">
<string>Total Sectors:</string>
</property>
@ -114,7 +127,7 @@
</widget>
</item>
<item row="6" column="2">
<widget class="QLabel" name="label_11">
<widget class="QLabel" name="totalSectors">
<property name="text">
<string>---</string>
</property>
@ -124,7 +137,7 @@
</widget>
</item>
<item row="7" column="1">
<widget class="QLabel" name="label_8">
<widget class="QLabel" name="lvQuantityLabel">
<property name="text">
<string>Quantity of LVs:</string>
</property>
@ -134,7 +147,7 @@
</widget>
</item>
<item row="7" column="2">
<widget class="QLabel" name="label_12">
<widget class="QLabel" name="lvQuantity">
<property name="text">
<string>---</string>
</property>