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 );
|
m_previewAfterFrame->setLayout( layout );
|
||||||
layout->setMargin( 0 );
|
layout->setMargin( 0 );
|
||||||
|
|
||||||
|
QLabel* label = new QLabel;
|
||||||
|
layout->addWidget( label );
|
||||||
|
|
||||||
switch ( choice )
|
switch ( choice )
|
||||||
{
|
{
|
||||||
case Alongside:
|
case Alongside:
|
||||||
// split widget goes here
|
// split widget goes here
|
||||||
|
label->setText( tr( "Drag to split:" ) );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case Erase:
|
case Erase:
|
||||||
case Replace:
|
case Replace:
|
||||||
{
|
{
|
||||||
|
label->setText( tr( "Preview:" ) );
|
||||||
PartitionPreview* preview = new PartitionPreview( m_previewAfterFrame );
|
PartitionPreview* preview = new PartitionPreview( m_previewAfterFrame );
|
||||||
preview->setLabelsVisible( true );
|
preview->setLabelsVisible( true );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue