#include <GeneralBehaviourDialog.h>
Public Slots | |
void | CloseClicked () |
Called by Qt when user clicks the "Close"-button in dialog. Hides the dialog. | |
void | NowPlayingPopupToggled (bool checked) |
Called by Qt when user clicks the PopUpNowPlayingcheckBox in dialog. | |
void | StillRunningPopupToggled (bool checked) |
Called by Qt when user clicks the PopupStillRunning in dialog. | |
void | AccesWebForPicturesToggled (bool checked) |
Called by Qt when user clicks the AllowPictureDownloadsCheckbox in dialog. | |
void | AccesWebForUpdatesToggled (bool checked) |
Called by Qt when user clicks the AllowVersionCheckCheckbox in dialog. | |
Public Member Functions | |
GeneralBehaviourDialog (mama_de_diary *aParent) | |
void | HandleUiLanguageChange () |
Reload the texts in elemnets. | |
void | LoadInitialSettings () |
Loads initial settings from SettingsStorage to different components of the dialog. | |
Public Attributes | |
Ui_BehaviourDialog | ui |
UI of the dialog. |
Allows user to switch on/off the following
void GeneralBehaviourDialog::AccesWebForPicturesToggled | ( | bool | checked | ) | [slot] |
Called by Qt when user clicks the AllowPictureDownloadsCheckbox in dialog.
checked | True if checkbox is checked false if not. |
void GeneralBehaviourDialog::AccesWebForUpdatesToggled | ( | bool | checked | ) | [slot] |
Called by Qt when user clicks the AllowVersionCheckCheckbox in dialog.
checked | True if checkbox is checked false if not. |
void GeneralBehaviourDialog::HandleUiLanguageChange | ( | ) |
Reload the texts in elemnets.
Called by Xiaoning's Diary when reload of UI language is required. This may be during start of the program or when user changes the UI language.
void GeneralBehaviourDialog::LoadInitialSettings | ( | ) |
Loads initial settings from SettingsStorage to different components of the dialog.
Called by Xiaoning's Diary when the program is started. Fetch the current settings from SettingsStorage and set the checkboxes in ui accordingly.
void GeneralBehaviourDialog::NowPlayingPopupToggled | ( | bool | checked | ) | [slot] |
Called by Qt when user clicks the PopUpNowPlayingcheckBox in dialog.
checked | True if checkbox is checked false if not. |
void GeneralBehaviourDialog::StillRunningPopupToggled | ( | bool | checked | ) | [slot] |
Called by Qt when user clicks the PopupStillRunning in dialog.
checked | True if checkbox is checked false if not. |
Ui_BehaviourDialog GeneralBehaviourDialog::ui |
UI of the dialog.
ui