You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-utils-2.2-install.../src/pagepartitioning.h

51 lines
829 B

#pragma once
#include "installerpage.h"
#include <QString>
#include <QMap>
class QLabel;
class QRadioButton;
class QPushButton;
class QComboBox;
typedef QPair<QString, QString> PartitionDesc;
typedef QMap<QString, QList<PartitionDesc> > PartitionsMap;
class PagePartitioning : public InstallerPage
{
Q_OBJECT
public:
explicit PagePartitioning();
bool validate();
void retranslateUi();
private:
void setupUi();
public slots:
void show();
private slots:
void updatePartitions(int num);
void partitioningCurrentDisk();
signals:
void manualyPartitioning(QString);
void selectedVolume(QString);
private:
QRadioButton* m_ButExistPartition;
QRadioButton* m_ButAllDisk;
QPushButton* m_ButPartitioning;
QLabel* m_labelDisk;
QComboBox* m_Partitions;
QComboBox* m_Disks;
PartitionsMap m_PartitionsMap;
};