Add support for displaying partition labels/uuid.
Differential Revision: https://phabricator.kde.org/D10150
This commit is contained in:
parent
145e8cf0c9
commit
d5bccabac5
|
@ -226,6 +226,9 @@ static QTreeWidgetItem* createTreeWidgetItem(const Partition& p)
|
|||
|
||||
item->setText(i++, p.fileSystem().label());
|
||||
item->setText(i++, p.fileSystem().uuid());
|
||||
item->setText(i++, p.label());
|
||||
item->setText(i++, p.uuid());
|
||||
|
||||
item->setText(i++, Capacity::formatByteSize(p.capacity()));
|
||||
item->setText(i++, Capacity::formatByteSize(p.used()));
|
||||
item->setText(i++, Capacity::formatByteSize(p.available()));
|
||||
|
|
|
@ -90,6 +90,16 @@
|
|||
<string>UUID</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Partition Label</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Partition UUID</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Size</string>
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
<include>util/capacity.h</include>
|
||||
<group name="KDE Partition Manager">
|
||||
<entry name="treePartitionColumnWidths" type="IntList" hidden="true">
|
||||
<default>140,90,90,90,0,90,90,0,0,0,0,0</default>
|
||||
<default>140,150,120,80,0,110,0,90,90,0,0,0,0,0</default>
|
||||
</entry>
|
||||
<entry name="treePartitionColumnPositions" type="IntList" hidden="true">
|
||||
<default>0,1,2,3,4,5,6,7,8,9,10,11</default>
|
||||
<default>0,1,2,3,4,5,6,7,8,9,10,11,12,13</default>
|
||||
</entry>
|
||||
<entry name="treePartitionColumnVisible" type="IntList" hidden="true">
|
||||
<default>1,1,1,1,0,1,1,0,0,0,0,0</default>
|
||||
<default>1,1,1,1,0,1,0,1,1,0,0,0,0,0</default>
|
||||
</entry>
|
||||
<entry name="treeLogColumnWidths" type="IntList" hidden="true">
|
||||
<default>32,192,800</default>
|
||||
|
|
Loading…
Reference in New Issue