mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Add label to PCM state preview.
This commit is contained in:
parent
65fd43729c
commit
32fd12d501
1 changed files with 5 additions and 0 deletions
|
@ -403,15 +403,20 @@ ChoicePage::updateActionChoicePreview( Device* currentDevice, ChoicePage::Choice
|
|||
m_previewAfterFrame->setLayout( layout );
|
||||
layout->setMargin( 0 );
|
||||
|
||||
QLabel* label = new QLabel;
|
||||
layout->addWidget( label );
|
||||
|
||||
switch ( choice )
|
||||
{
|
||||
case Alongside:
|
||||
// split widget goes here
|
||||
label->setText( tr( "Drag to split:" ) );
|
||||
|
||||
break;
|
||||
case Erase:
|
||||
case Replace:
|
||||
{
|
||||
label->setText( tr( "Preview:" ) );
|
||||
PartitionPreview* preview = new PartitionPreview( m_previewAfterFrame );
|
||||
preview->setLabelsVisible( true );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue