jbqt 0.1.8__py3-none-any.whl → 0.1.10__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 jbqt might be problematic. Click here for more details.

jbqt/common/consts.py CHANGED
@@ -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
 
jbqt/types/__init__.py CHANGED
@@ -2,7 +2,7 @@ from collections.abc import Callable
2
2
  from typing import Optional
3
3
 
4
4
  from PyQt6.QtCore import QSize
5
- from PyQt6.QtGui import QIcon
5
+ from PyQt6.QtGui import QIcon, QColor
6
6
 
7
7
 
8
- IconGetter = Callable[[str, QSize | int | None], QIcon]
8
+ IconGetter = Callable[[str | QColor, QSize | int | None], QIcon]
@@ -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
@@ -1,6 +1,6 @@
1
1
  jbqt/__init__.py,sha256=JThPqSDraggKWluruHIXeE1-Kzgu6zJin-IXxX1GnLg,243
2
2
  jbqt/common/__init__.py,sha256=WkP7IRKAuScLZpGP3AgARlegLke714OlrgihUVHMHMs,317
3
- jbqt/common/consts.py,sha256=iardoYbeBBApBwMOZsIkrY6cEo1bouGAAxYGsUDaAzY,5661
3
+ jbqt/common/consts.py,sha256=RlUDUVHhFkBDxCV_5FSblh8dILGCJK6ryr79TsCAKYw,5670
4
4
  jbqt/common/qt_utils.py,sha256=d81MXUIs7JTpXOaPIoGHTLZYwhry7xhCWRy9BxitlzA,2297
5
5
  jbqt/dialogs/__init__.py,sha256=DZi-qwW75JKfTLk33bowjt9Nhn1mpOO6kmP7mSMGz0o,245
6
6
  jbqt/dialogs/file_dialog.py,sha256=QMUxgSNt1IGLqgPgKqrEwlPjKIQ7D5qrY2cJCXmW654,1830
@@ -9,7 +9,7 @@ jbqt/dialogs/text_preview.py,sha256=5rZjMvvMPq0jenPQkxKTFsGzuebdH_EnjKsdgNzv93o,
9
9
  jbqt/models/__init__.py,sha256=aQUYSr2bL9uRVdmEh_3s5pHbzM0MyKXEiO2Bqe16I8A,155
10
10
  jbqt/models/chip_button.py,sha256=nV5hVaYKStTOTGEa0WnVi1FolxrjnLQ1E3cSCQx-YkA,283
11
11
  jbqt/models/chips.py,sha256=ou9RJxDSm6MI10CDnWrNi1DTRMKfqIIEowLVbyoFJZg,652
12
- jbqt/types/__init__.py,sha256=_ivzKAQZszyBYhmf2fp2wBJ0YOA065EVDa6n6JLbigw,185
12
+ jbqt/types/__init__.py,sha256=xLX3J1uQZDz9A1ac24M6nKFHY8pCWVax4FWGMtATbVM,202
13
13
  jbqt/view_icons.py,sha256=dwAAtDbqs3mwtmUxsjlFYdTsD2mi5m9BRmBQm6HpU9E,6389
14
14
  jbqt/widgets/__init__.py,sha256=WxDWM5MDnB9NkvaYxE4AiT7tFjGB9fBirEx2iZUujeU,523
15
15
  jbqt/widgets/chip_button.py,sha256=G3WMkPmLwmNvH88dPwtqjAUKVOAA6Xl_QA4c2mhtWqc,6265
@@ -18,6 +18,6 @@ jbqt/widgets/multiselect.py,sha256=84DYA12FBZvBBsPqlxiWMjY8lsQN0MkpJwqYN3nyz8Y,6
18
18
  jbqt/widgets/simple.py,sha256=-JVvNYiL05Ip7qSkt9rRFbdb-Jff6AbnuXPXOXdXoUw,1750
19
19
  jbqt/widgets/toast.py,sha256=S85PgcydbmICnjSY5VR6KUG_UZv4UERjvE_mP_zE9GA,1179
20
20
  jbqt/widgets/widget_utils.py,sha256=W8HkKJvTjGOB6wRR2D1sFzd673yEpPHNn-njjkM-1HE,2225
21
- jbqt-0.1.8.dist-info/METADATA,sha256=FpKpRBy2gX6OxLRU5QhqXmy_uoOfUPol4E5JsiQ73aA,462
22
- jbqt-0.1.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
23
- jbqt-0.1.8.dist-info/RECORD,,
21
+ jbqt-0.1.10.dist-info/METADATA,sha256=4mV0ERvDq5Rx_sFy7LHxDnAD7R6LooVAsSr2bQvBgW0,463
22
+ jbqt-0.1.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
23
+ jbqt-0.1.10.dist-info/RECORD,,
File without changes