jbqt 0.1.8__tar.gz → 0.1.10__tar.gz

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 jbqt might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jbqt
3
- Version: 0.1.8
3
+ Version: 0.1.10
4
4
  Summary:
5
5
  Author: Joseph Bochinski
6
6
  Author-email: stirgejr@gmail.com
@@ -131,7 +131,7 @@ def recolor_icon(
131
131
 
132
132
 
133
133
  def get_icon(file_name: str) -> IconGetter:
134
- def getter(color: str = "", size: QSize | int | None = None) -> QIcon:
134
+ def getter(color: str | QColor = "", size: QSize | int | None = None) -> QIcon:
135
135
  if isinstance(size, int):
136
136
  size = QSize(size, size)
137
137
 
@@ -0,0 +1,8 @@
1
+ from collections.abc import Callable
2
+ from typing import Optional
3
+
4
+ from PyQt6.QtCore import QSize
5
+ from PyQt6.QtGui import QIcon, QColor
6
+
7
+
8
+ IconGetter = Callable[[str | QColor, QSize | int | None], QIcon]
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "jbqt"
7
- version = "0.1.8"
7
+ version = "0.1.10"
8
8
  description = ""
9
9
  authors = [ "Joseph Bochinski <stirgejr@gmail.com>",]
10
10
  readme = "README.md"
@@ -1,8 +0,0 @@
1
- from collections.abc import Callable
2
- from typing import Optional
3
-
4
- from PyQt6.QtCore import QSize
5
- from PyQt6.QtGui import QIcon
6
-
7
-
8
- IconGetter = Callable[[str, QSize | int | None], QIcon]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes