Refactor ChoicePage workflow, use rescanned state for Preview widget.

This commit is contained in:
Teo Mrnjavac 2015-10-23 17:45:28 +02:00
parent d9421f586f
commit eeceed91eb
2 changed files with 69 additions and 59 deletions

View file

@ -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;