qpuiq 0.19__py3-none-any.whl → 0.20__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 qpuiq might be problematic. Click here for more details.

PUI/PySide6/canvas.py CHANGED
@@ -114,6 +114,7 @@ class Canvas(QtBaseWidget):
114
114
  self.ui.height = self.layout_height or 0
115
115
  else:
116
116
  self.ui = PUIQtCanvas(self, self.layout_width or 0, self.layout_height or 0)
117
+ self.ui.node = self
117
118
  self.ui.setMouseTracking(bool(self._onMouseMove))
118
119
  self.ui.update()
119
120
  super().update(prev)
PUI/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.19"
1
+ __version__ = "0.20"
2
2
 
3
3
  from .node import *
4
4
  from .view import *
PUI/state.py CHANGED
@@ -230,9 +230,9 @@ class StateObject(BaseState):
230
230
  if self.__binders.get(key):
231
231
  self.__binders[key][1](value)
232
232
 
233
- if type(value) is list:
233
+ if isinstance(value, list):
234
234
  value = StateList(value)
235
- elif type(value) is dict:
235
+ elif isinstance(value, dict):
236
236
  value = StateDict(value)
237
237
  if not hasattr(self.__values, key) or getattr(self.__values, key) != value:
238
238
  setattr(self.__values, key, value)
@@ -1,19 +1,12 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: qpuiq
3
- Version: 0.19
3
+ Version: 0.20
4
4
  Summary: "PUI" Python Declarative UI Framework
5
5
  Home-page: https://github.com/buganini/PUI
6
6
  Author: Buganini Chiu
7
7
  Author-email: buganini@b612.tw
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE.txt
10
- Dynamic: author
11
- Dynamic: author-email
12
- Dynamic: description
13
- Dynamic: description-content-type
14
- Dynamic: home-page
15
- Dynamic: license-file
16
- Dynamic: summary
17
10
 
18
11
  # What is PUI
19
12
  PUI is a reactive/declarative UI framework with two-way data binding.
@@ -1,10 +1,10 @@
1
- PUI/__init__.py,sha256=G3XzL3s7H2Jd6sqOs8kgxroBQHwZ-V35sDH02uW1EEE,966
1
+ PUI/__init__.py,sha256=9zX_A_F6favOFVh6zt69u9uIKJCAtmECaTQDS_1OcBE,966
2
2
  PUI/common.py,sha256=fUJmHOu5lSCeiOhFDF6YqulJxFqWmsneqnDZ2kZFFmM,581
3
3
  PUI/decorator.py,sha256=BN3POYv69QCDomoHENN-UA-d4wY_vfARIb5RJ2qEnS8,483
4
4
  PUI/dom.py,sha256=a1D4_1RJiPvw11eJZrkik9NQzL3brRuGHvs6Y6xoeAg,11238
5
5
  PUI/interfaces.py,sha256=rGUciM3S6ICEVgVoahkva8yXUGpweqy1kAzhUQut40E,2182
6
6
  PUI/node.py,sha256=DqsDQpQwMYql0gU21BiF-gn50WXxzxgAW8UuMWnAyrY,13348
7
- PUI/state.py,sha256=BLz-LM_s4_T9Tu_AqombQc87gkV5N8Wgsq1njSkxkBY,20201
7
+ PUI/state.py,sha256=xez7-AmgrH1PUoXjhjWNX4JjyXt_4wLtSynyllG9Dmo,20209
8
8
  PUI/timeline.py,sha256=-mO1TLqxp2_3dk-EvdBE9wBkQf5RIPrPazTPXDzWSN0,940
9
9
  PUI/utils.py,sha256=canb7_Uz0sQ1UZDzyDuIsfAVXzEfZCkc9F81sMY4rTE,505
10
10
  PUI/view.py,sha256=Oe6sXLHD554GnlLlO5QpY7kegngkzrmMEYRHrdzGZUQ,4623
@@ -12,7 +12,7 @@ PUI/PySide6/__init__.py,sha256=z895ldBVUaEqfGQW4CvYhWh2F6L0qGQA1MXUHVMf9Ms,1110
12
12
  PUI/PySide6/application.py,sha256=OsIE47efST4I13txD-7rS1cTWAGhynckl45Wdb1bafk,1471
13
13
  PUI/PySide6/base.py,sha256=GmfT10tewYkGW95tVczXBkQTTUEo3k2svFkk4vsODpw,8649
14
14
  PUI/PySide6/button.py,sha256=mHfcH98dABYgksuT58fK0amSwtCM9aaYwr7Y2EArEJA,561
15
- PUI/PySide6/canvas.py,sha256=EuGnNkB6fCEVD1ejgmDLhF0NhEYLfDadGKjC5D8mAKg,11234
15
+ PUI/PySide6/canvas.py,sha256=7ryrj2kqPF33b_VfLjUIz761Bfhx3qbFmIja2rQPXaw,11262
16
16
  PUI/PySide6/checkbox.py,sha256=Rsns0BleE4g9yTDdlsD8IADU3qcQkVO2VsFVvYlNL88,900
17
17
  PUI/PySide6/combobox.py,sha256=4FvMt8D9MSyGk_oNHZ0jDuop7A-dkrxEesUXMdKghuw,2503
18
18
  PUI/PySide6/dialog.py,sha256=4rAyLMqd47ALDxrBGLFHS5FD75SP1I8tkMSKBdaPkv0,2364
@@ -97,8 +97,8 @@ PUI/wx/scroll.py,sha256=pvRmt04XEgObpIgwl9i52Kf1wI9ubUfZM77fPHGW9zU,1494
97
97
  PUI/wx/text.py,sha256=YeIyDyHH0xBcD_iXbYSTtvL25YDtug1QJNVPvCSAqEk,544
98
98
  PUI/wx/textfield.py,sha256=v3cSnmsyBix_G8xFXgZZrNLydlLTA6gQQPpkTdJ29hk,2086
99
99
  PUI/wx/window.py,sha256=HBiWRpuhjSS89pjbdlbstjQmfR0mSECTsOPLu7ymLjo,2017
100
- qpuiq-0.19.dist-info/licenses/LICENSE.txt,sha256=1Xwik2AmLNGoIYhAPzvNC28M08Q3EvkOe4TtlQuSd_E,1072
101
- qpuiq-0.19.dist-info/METADATA,sha256=rXQ5zUWGKuthEntYFoE0otoR4rV1ERBf-UqusqXQBLk,5822
102
- qpuiq-0.19.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
103
- qpuiq-0.19.dist-info/top_level.txt,sha256=zMudhifPite0CEVGYvdi-5W3P_dpum71xjU7_g-ZHS0,4
104
- qpuiq-0.19.dist-info/RECORD,,
100
+ qpuiq-0.20.dist-info/LICENSE.txt,sha256=1Xwik2AmLNGoIYhAPzvNC28M08Q3EvkOe4TtlQuSd_E,1072
101
+ qpuiq-0.20.dist-info/METADATA,sha256=5js0DzMtyz02TLGYzhhWDXul0XSH52_0dlDdP7kk2LY,5671
102
+ qpuiq-0.20.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
103
+ qpuiq-0.20.dist-info/top_level.txt,sha256=zMudhifPite0CEVGYvdi-5W3P_dpum71xjU7_g-ZHS0,4
104
+ qpuiq-0.20.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (70.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5