|
|
@ -174,20 +174,12 @@ void UBPreferencesController::init() |
|
|
|
|
|
|
|
|
|
|
|
// display tab
|
|
|
|
// display tab
|
|
|
|
for(int i=0; i<mPreferencesUI->keyboardPaletteKeyButtonSize->count(); i++) |
|
|
|
for(int i=0; i<mPreferencesUI->keyboardPaletteKeyButtonSize->count(); i++) |
|
|
|
if (mPreferencesUI->keyboardPaletteKeyButtonSize->itemText(i) == |
|
|
|
if (mPreferencesUI->keyboardPaletteKeyButtonSize->itemText(i) == settings->boardKeyboardPaletteKeyBtnSize->get().toString()) { |
|
|
|
settings->boardKeyboardPaletteKeyBtnSize->get().toString()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mPreferencesUI->keyboardPaletteKeyButtonSize->setCurrentIndex(i); |
|
|
|
mPreferencesUI->keyboardPaletteKeyButtonSize->setCurrentIndex(i); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for(int i=0; i<mPreferencesUI->startModeComboBox->count(); i++) |
|
|
|
mPreferencesUI->startModeComboBox->setCurrentIndex(settings->appStartMode->get().toInt()); |
|
|
|
if (mPreferencesUI->startModeComboBox->itemText(i) == |
|
|
|
|
|
|
|
settings->appStartMode->get().toString()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
mPreferencesUI->startModeComboBox->setCurrentIndex(i); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mPreferencesUI->useExternalBrowserCheckBox->setChecked(settings->webUseExternalBrowser->get().toBool()); |
|
|
|
mPreferencesUI->useExternalBrowserCheckBox->setChecked(settings->webUseExternalBrowser->get().toBool()); |
|
|
|
mPreferencesUI->displayBrowserPageCheckBox->setChecked(settings->webShowPageImmediatelyOnMirroredScreen->get().toBool()); |
|
|
|
mPreferencesUI->displayBrowserPageCheckBox->setChecked(settings->webShowPageImmediatelyOnMirroredScreen->get().toBool()); |
|
|
|