mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Add prettyStatus to Keyboard module.
This commit is contained in:
parent
c339ac8cfc
commit
e622fe4f99
4 changed files with 34 additions and 0 deletions
|
@ -170,6 +170,20 @@ KeyboardPage::init()
|
|||
}
|
||||
|
||||
|
||||
QString
|
||||
KeyboardPage::prettyStatus() const
|
||||
{
|
||||
QString status;
|
||||
status += tr( "Set keyboard model to %1.<br/>" )
|
||||
.arg( ui->comboBoxModel->currentText() );
|
||||
status += tr( "Set keyboard layout to %1/%2." )
|
||||
.arg( ui->listLayout->currentItem()->text() )
|
||||
.arg( ui->listVariant->currentItem()->text() );
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
KeyboardPage::onListLayoutCurrentItemChanged( QListWidgetItem* current, QListWidgetItem* previous )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue