YouTubeDownloader v1.1.2
YouTube content downloader
Loading...
Searching...
No Matches
model.py
Go to the documentation of this file.
1"""!
2********************************************************************************
3@file model.py
4@brief Application data storage model
5********************************************************************************
6"""
7
8import logging
9from typing import TYPE_CHECKING
10
11from Source.Model import monitor
12from Source.version import __title__
13
14if TYPE_CHECKING:
15 from Source.Controller.main_window import MainWindow
16
17log = logging.getLogger(__title__)
18
19
20class Model:
21 """!
22 @brief Holds the data of the application
23 @param ui : main window object
24 """
25
26 def __init__(self, ui: "MainWindow"):
27 self.ui = ui
Holds the data of the application.
Definition model.py:20
__init__(self, "MainWindow" ui)
Definition model.py:26
Class to scale text and item positions.
Definition monitor.py:22