mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
[partition] Initial implementation of VolumeGroupBaseDialog.
This commit is contained in:
parent
f72f7bd8fe
commit
d15ce56c97
14 changed files with 580 additions and 1 deletions
|
@ -111,6 +111,8 @@ public:
|
|||
void createPartition( Device* device, Partition* partition,
|
||||
PartitionTable::Flags flags = PartitionTable::FlagNone );
|
||||
|
||||
void createVolumeGroup( QString &vgName, QVector< const Partition* > pvList, qint32 peSize );
|
||||
|
||||
void deletePartition( Device* device, Partition* partition );
|
||||
|
||||
void formatPartition( Device* device, Partition* partition );
|
||||
|
@ -132,6 +134,8 @@ public:
|
|||
|
||||
QList< Partition* > efiSystemPartitions() const;
|
||||
|
||||
QList< const Partition* > lvmPVs() const;
|
||||
|
||||
/**
|
||||
* @brief findPartitionByMountPoint returns a Partition* for a given mount point.
|
||||
* @param mountPoint the mount point to find a partition for.
|
||||
|
@ -194,6 +198,7 @@ private:
|
|||
};
|
||||
QList< DeviceInfo* > m_deviceInfos;
|
||||
QList< Partition* > m_efiSystemPartitions;
|
||||
QList< const Partition* > m_lvmPVs;
|
||||
|
||||
DeviceModel* m_deviceModel;
|
||||
BootLoaderModel* m_bootLoaderModel;
|
||||
|
@ -205,6 +210,7 @@ private:
|
|||
void updateHasRootMountPoint();
|
||||
void updateIsDirty();
|
||||
void scanForEfiSystemPartitions();
|
||||
void scanForLVMPVs();
|
||||
|
||||
DeviceInfo* infoForDevice( const Device* ) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue