21 #ifndef GUI_LANGUAGE_PREFERENCES_H
22 #define GUI_LANGUAGE_PREFERENCES_H
24 #include "Gui/Preferences/PreferenceWidget.h"
29 public Preferences::Base
46 void skinChanged()
override;
48 void showEvent(QShowEvent*)
override;
51 void refreshCombobox();
52 void downloadUpdate(
const QString& languageCode);
55 void checkForUpdateClicked();
56 void updateCheckFinished();
57 void importLanguageClicked();
58 void downloadFinished();
Definition: GUI_LanguagePreferences.h:30
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
void retranslate() override
call the Qt retranslateUi method here
QString actionName() const override
has to be implemented and should return the translated action text
void initUi() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there.