Yank out compact mode, refactor layout, fix strings.

This commit is contained in:
Teo Mrnjavac 2015-11-26 15:31:06 +01:00
parent c6a7c54904
commit 3bf1fe716f
3 changed files with 88 additions and 118 deletions

View file

@ -51,7 +51,7 @@ public:
Manual
};
explicit ChoicePage( bool compactMode = false, QWidget* parent = nullptr );
explicit ChoicePage( QWidget* parent = nullptr );
virtual ~ChoicePage();
void init( PartitionCoreModule* core,
@ -67,7 +67,6 @@ signals:
void deviceChosen( Device* );
private:
bool compact();
void setNextEnabled( bool enabled );
void setupChoices();
QComboBox* createBootloaderComboBox( ExpandableRadioButton* parentButton );
@ -88,9 +87,8 @@ private:
Choice m_choice;
bool m_compactMode;
bool m_isEfi;
QWidget* m_drivesView;
QComboBox* m_drivesCombo;
PrettyRadioButton* m_alongsideButton;
ExpandableRadioButton* m_eraseButton;