Use PartitionActions in ChoicePage for Erase.

Document ChoicePage because it's quite long and confusing.
Add PCM state preview and update it when a choice is selected.
Smaller icons.
Update strings.
This commit is contained in:
Teo Mrnjavac 2015-10-29 17:34:59 +01:00
parent 2e9e1782cf
commit 65fd43729c
3 changed files with 188 additions and 31 deletions

View file

@ -61,13 +61,16 @@ public:
signals:
void nextStatusChanged( bool );
void actionChosen();
private:
bool compact();
void setNextEnabled( bool enabled );
void setupChoices();
Device* selectedDevice();
void applyDeviceChoice();
void updateDeviceStatePreview( Device* currentDevice );
void updateActionChoicePreview( Device* currentDevice, ChoicePage::Choice choice );
void setupActions( Device* currentDevice );
bool m_nextEnabled;