winipedia-utils 0.1.54__py3-none-any.whl → 0.1.55__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of winipedia-utils might be problematic. Click here for more details.

@@ -4,7 +4,6 @@ This module contains the base window class for the VideoVault application.
4
4
  """
5
5
 
6
6
  from abc import abstractmethod
7
- from collections.abc import Generator
8
7
 
9
8
  from PySide6.QtWidgets import QMainWindow, QStackedWidget
10
9
 
@@ -36,15 +35,15 @@ class Base(BaseUI, QMainWindow):
36
35
 
37
36
  self.set_start_page()
38
37
 
39
- def add_page(self, page: BasePage) -> None:
40
- """Add the pages to the window."""
41
- self.stack.addWidget(page)
42
-
43
- def make_pages(self) -> Generator[BasePage, None, None]:
38
+ def make_pages(self) -> None:
44
39
  """Get the pages to add to the window."""
45
40
  for page_cls in self.get_all_page_classes():
46
- yield page_cls(base_window=self)
41
+ page_cls(base_window=self)
47
42
 
48
43
  def set_start_page(self) -> None:
49
44
  """Set the start page."""
50
45
  self.set_current_page(self.get_start_page_cls())
46
+
47
+ def add_page(self, page: BasePage) -> None:
48
+ """Add the pages to the window."""
49
+ self.stack.addWidget(page)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: winipedia-utils
3
- Version: 0.1.54
3
+ Version: 0.1.55
4
4
  Summary: A package with many utility functions
5
5
  License: MIT
6
6
  Author: Winipedia
@@ -58,7 +58,7 @@ winipedia_utils/pyside/ui/widgets/media_player.py,sha256=09PM6XamO_NivAqLW4ZhXnb
58
58
  winipedia_utils/pyside/ui/widgets/notification.py,sha256=FXNDFheLMWt57dVZhORrxU7uHhu7aMl8n8pDeqF5cU4,2557
59
59
  winipedia_utils/pyside/ui/windows/__init__.py,sha256=p-maJQh7gYbXwhkqKU4wL6UNGzRAy988JP8_qLoTZDk,24
60
60
  winipedia_utils/pyside/ui/windows/base/__init__.py,sha256=p-maJQh7gYbXwhkqKU4wL6UNGzRAy988JP8_qLoTZDk,24
61
- winipedia_utils/pyside/ui/windows/base/base.py,sha256=z2Mo3wnYGGu9HjIxmE51zohkOV-ZKCHQcWja9pyHFU4,1511
61
+ winipedia_utils/pyside/ui/windows/base/base.py,sha256=bxBvQNMog3Swpapki9Xu5fqNmknZCnVtCihVpcrgzmU,1439
62
62
  winipedia_utils/resources/__init__.py,sha256=p-maJQh7gYbXwhkqKU4wL6UNGzRAy988JP8_qLoTZDk,24
63
63
  winipedia_utils/resources/svgs/__init__.py,sha256=p-maJQh7gYbXwhkqKU4wL6UNGzRAy988JP8_qLoTZDk,24
64
64
  winipedia_utils/resources/svgs/delete_garbage_can.svg,sha256=UxEEh46w1JD4VViUBx-Ahaq5_ZR4zOjfeJn5_aM8114,318
@@ -94,7 +94,7 @@ winipedia_utils/testing/tests/base/utils/utils.py,sha256=dUPDrgAxlfREQb33zz23Mfz
94
94
  winipedia_utils/testing/tests/conftest.py,sha256=8RounBlI8Jq1aLaLNpv84MW4ne8Qq0aavQextDOp5ng,920
95
95
  winipedia_utils/text/__init__.py,sha256=j2bwtK6kyeHI6SnoBjpRju0C1W2n2paXBDlNjNtaUxA,48
96
96
  winipedia_utils/text/string.py,sha256=pK_VQXxSZa8HqHY1a6oMKfmN-OKteFE32eZaweCI22E,3508
97
- winipedia_utils-0.1.54.dist-info/LICENSE,sha256=3PrKJ2CWNrnyyHaC_r0wPDSukVWgmjOxHr__eQVH7cw,1087
98
- winipedia_utils-0.1.54.dist-info/METADATA,sha256=eWWwsED3xEHYSET_bf7noWXFTEAn39BsOh8f1yle0cY,12576
99
- winipedia_utils-0.1.54.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
100
- winipedia_utils-0.1.54.dist-info/RECORD,,
97
+ winipedia_utils-0.1.55.dist-info/LICENSE,sha256=3PrKJ2CWNrnyyHaC_r0wPDSukVWgmjOxHr__eQVH7cw,1087
98
+ winipedia_utils-0.1.55.dist-info/METADATA,sha256=k-YAjkheoMv5EgOaynYpqi_9EGr_LaCIzB7VJkaBQ0k,12576
99
+ winipedia_utils-0.1.55.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
100
+ winipedia_utils-0.1.55.dist-info/RECORD,,