Esempio n. 1
0
	def start_in_tray(self):
		return tc.s_bool_(self.__settings.value('app_user/start_in_tray', tc.str_(START_IN_TRAY)))
Esempio n. 2
0
	def run_with_system_start(self):
		return tc.s_bool_(
			self.__settings.value('app_user/run_with_system_start', tc.str_(RUN_WITH_SYSTEM_START))
		)
Esempio n. 3
0
	def is_dark_theme(self):
		return tc.s_bool_(self.__settings.value('app_user/is_dark_theme', tc.str_(APP_IS_DARK_THEME)))
Esempio n. 4
0
	def remove_event_after_time_up(self):
		return tc.s_bool_(
			self.__settings.value('app_user/remove_event_after_time_up', tc.str_(REMOVE_EVENT_AFTER_TIME_UP))
		)
Esempio n. 5
0
	def set_run_with_system_start(self, value: bool):
		self._set_value('app_user/run_with_system_start', tc.str_(value))
Esempio n. 6
0
	def set_include_settings_backup(self, value: bool):
		self._set_value('app_user/include_settings_backup', tc.str_(value))
Esempio n. 7
0
	def set_start_in_tray(self, value: bool):
		self._set_value('app_user/start_in_tray', tc.str_(value))
Esempio n. 8
0
	def set_remove_event_after_time_up(self, value: bool):
		self._set_value('app_user/remove_event_after_time_up', tc.str_(value))
Esempio n. 9
0
	def set_is_always_on_top(self, value: bool):
		self._set_value('app_user/is_always_on_top', tc.str_(value))
Esempio n. 10
0
	def set_theme(self, is_dark: bool):
		self._set_value('app_user/is_dark_theme', tc.str_(is_dark))
Esempio n. 11
0
	def include_settings_backup(self):
		return tc.s_bool_(self.__settings.value('app_user/include_settings_backup', tc.str_(INCLUDE_SETTINGS_BACKUP)))