2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2018-06-07 22:22:22 +02:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2018 Caio Jordão Carvalho <caiojcarvalho@gmail.com>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2018-06-07 22:22:22 +02:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2018-06-07 22:22:22 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CREATEVOLUMEGROUPDIALOG_H
|
|
|
|
#define CREATEVOLUMEGROUPDIALOG_H
|
|
|
|
|
|
|
|
#include "gui/VolumeGroupBaseDialog.h"
|
|
|
|
|
|
|
|
class CreateVolumeGroupDialog : public VolumeGroupBaseDialog
|
|
|
|
{
|
2020-03-19 00:20:20 +01:00
|
|
|
Q_OBJECT
|
2018-06-07 22:22:22 +02:00
|
|
|
public:
|
|
|
|
CreateVolumeGroupDialog( QString& vgName,
|
|
|
|
QVector< const Partition* >& selectedPVs,
|
|
|
|
QVector< const Partition* > pvList,
|
2018-06-26 05:38:52 +02:00
|
|
|
qint64& pSize,
|
2018-06-07 22:22:22 +02:00
|
|
|
QWidget* parent );
|
|
|
|
|
|
|
|
void accept() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QVector< const Partition* >& m_selectedPVs;
|
2018-06-26 05:38:52 +02:00
|
|
|
|
|
|
|
qint64& m_peSize;
|
2018-06-07 22:22:22 +02:00
|
|
|
};
|
|
|
|
|
2020-08-22 01:19:58 +02:00
|
|
|
#endif // CREATEVOLUMEGROUPDIALOG_H
|