mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-01 19:35:36 -04:00
Use ReplaceWidget in ChoicePage.
This commit is contained in:
parent
26ac809d6e
commit
47b5c6eeb4
2 changed files with 91 additions and 43 deletions
|
@ -28,6 +28,7 @@
|
|||
#include <QMutex>
|
||||
|
||||
class QBoxLayout;
|
||||
class QComboBox;
|
||||
class QLabel;
|
||||
class QListView;
|
||||
|
||||
|
@ -69,7 +70,9 @@ private:
|
|||
bool compact();
|
||||
void setNextEnabled( bool enabled );
|
||||
void setupChoices();
|
||||
QComboBox* createBootloaderComboBox( ExpandableRadioButton* parentButton );
|
||||
ExpandableRadioButton* createEraseButton();
|
||||
ExpandableRadioButton* createReplaceButton();
|
||||
Device* selectedDevice();
|
||||
void applyDeviceChoice();
|
||||
void updateDeviceStatePreview( Device* currentDevice );
|
||||
|
@ -91,7 +94,7 @@ private:
|
|||
|
||||
PrettyRadioButton* m_alongsideButton;
|
||||
ExpandableRadioButton* m_eraseButton;
|
||||
PrettyRadioButton* m_replaceButton;
|
||||
ExpandableRadioButton* m_replaceButton;
|
||||
PrettyRadioButton* m_somethingElseButton;
|
||||
|
||||
int m_lastSelectedDeviceIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue