mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Add ChoicePage to partition module + OS detection with os-prober.
This commit is contained in:
parent
73246b47c6
commit
a98a4bb614
5 changed files with 409 additions and 7 deletions
|
@ -24,8 +24,10 @@
|
|||
#include "viewpages/ViewStep.h"
|
||||
#include "PluginDllMacro.h"
|
||||
|
||||
class ChoicePage;
|
||||
class PartitionPage;
|
||||
class PartitionCoreModule;
|
||||
class QStackedWidget;
|
||||
|
||||
/**
|
||||
* The starting point of the module. Instantiates PartitionCoreModule and
|
||||
|
@ -39,6 +41,7 @@ class PLUGINDLLEXPORT PartitionViewStep : public Calamares::ViewStep
|
|||
|
||||
public:
|
||||
explicit PartitionViewStep( QObject* parent = 0 );
|
||||
virtual ~PartitionViewStep();
|
||||
|
||||
QString prettyName() const override;
|
||||
QWidget* createSummaryWidget() const override;
|
||||
|
@ -57,7 +60,9 @@ public:
|
|||
|
||||
private:
|
||||
PartitionCoreModule* m_core;
|
||||
PartitionPage* m_page;
|
||||
QStackedWidget* m_widget;
|
||||
ChoicePage* m_choicePage;
|
||||
PartitionPage* m_manualPartitionPage;
|
||||
};
|
||||
|
||||
#endif // PARTITIONVIEWSTEP_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue