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.
52 lines
831 B
52 lines
831 B
#pragma once
|
|
|
|
#include "installerpage.h"
|
|
|
|
#include <QMap>
|
|
|
|
#include "commons.h"
|
|
|
|
class QLabel;
|
|
class QToolButton;
|
|
class QTableWidget;
|
|
|
|
class PageMountPoints : public InstallerPage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
PageMountPoints();
|
|
|
|
bool validate();
|
|
void retranslateUi();
|
|
|
|
public slots:
|
|
void show();
|
|
|
|
private slots:
|
|
void addMountPoint();
|
|
void delMountPoint();
|
|
void modifyMountPoint();
|
|
|
|
protected:
|
|
void setupUi();
|
|
|
|
private:
|
|
void initMountPoints();
|
|
void correctMountPoints();
|
|
void showMountPoints();
|
|
void getPartitions();
|
|
|
|
void generateCmdDisk();
|
|
QStringList parseMountPoint();
|
|
QString parseSwap();
|
|
|
|
private:
|
|
QLabel* m_labMountPointHelp;
|
|
QToolButton* m_butAddMountPoint;
|
|
QToolButton* m_butDelMountPoint;
|
|
QTableWidget* m_tabMountPoints;
|
|
|
|
MountPointsList m_MountPointsList;
|
|
|
|
MountPointsMap m_Partitions;
|
|
}; |