YouTubeDownloader v1.1.2
YouTube content downloader
|
Class to scale text and item positions. More...
Public Member Functions | |
__init__ (self, "MainWindow" ui) | |
None | check_for_style_change (self, Optional[ETheme] e_style=None) |
Check for style change. | |
bool | is_light_theme (self) |
get status for active light theme (or classic -> not dark). | |
None | set_dialog_style (self) |
Set dialog theme style. | |
None | update_darkmode_status (self, ETheme e_style) |
Update dark mode status. | |
Public Attributes | |
e_actual_theme = ETheme.LIGHT | |
e_style = ETheme.SYSTEM | |
ui = ui | |
Class to scale text and item positions.
ui | : main window object |
Definition at line 22 of file monitor.py.
__init__ | ( | self, | |
"MainWindow" | ui ) |
Definition at line 28 of file monitor.py.
None check_for_style_change | ( | self, | |
Optional[ETheme] | e_style = None ) |
Check for style change.
e_style | : style to set |
Definition at line 34 of file monitor.py.
bool is_light_theme | ( | self | ) |
get status for active light theme (or classic -> not dark).
Definition at line 75 of file monitor.py.
None set_dialog_style | ( | self | ) |
Set dialog theme style.
Definition at line 63 of file monitor.py.
None update_darkmode_status | ( | self, | |
ETheme | e_style ) |
Update dark mode status.
e_style | : select theme mode |
Definition at line 54 of file monitor.py.
e_actual_theme = ETheme.LIGHT |
Definition at line 31 of file monitor.py.
e_style = ETheme.SYSTEM |
Definition at line 30 of file monitor.py.
ui = ui |
Definition at line 29 of file monitor.py.