mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35:36 -04:00
Refactor ChoicePage workflow, use rescanned state for Preview widget.
This commit is contained in:
parent
d9421f586f
commit
eeceed91eb
2 changed files with 69 additions and 59 deletions
|
@ -34,6 +34,8 @@ class QListView;
|
|||
class PartitionCoreModule;
|
||||
class PrettyRadioButton;
|
||||
|
||||
class Device;
|
||||
|
||||
class ChoicePage : public QWidget, private Ui::ChoicePage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -65,6 +67,8 @@ private:
|
|||
void setNextEnabled( bool enabled );
|
||||
void setupChoices();
|
||||
void applyDeviceChoice();
|
||||
void updateDeviceStatePreview( Device* currentDevice );
|
||||
void setupActions( Device* currentDevice );
|
||||
|
||||
bool m_nextEnabled;
|
||||
PartitionCoreModule* m_core;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue