qpuiq 0.10__tar.gz → 0.11__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 qpuiq might be problematic. Click here for more details.

Files changed (107) hide show
  1. {qpuiq-0.10 → qpuiq-0.11}/PKG-INFO +1 -1
  2. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/textfield.py +4 -2
  3. {qpuiq-0.10 → qpuiq-0.11}/PUI/__init__.py +1 -1
  4. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/textfield.py +3 -1
  5. {qpuiq-0.10 → qpuiq-0.11}/PUI/node.py +2 -0
  6. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/textfield.py +4 -2
  7. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/textfield.py +3 -1
  8. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/textfield.py +3 -2
  9. {qpuiq-0.10 → qpuiq-0.11}/QPUIQ.egg-info/PKG-INFO +1 -1
  10. {qpuiq-0.10 → qpuiq-0.11}/LICENSE.txt +0 -0
  11. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/__init__.py +0 -0
  12. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/application.py +0 -0
  13. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/base.py +0 -0
  14. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/button.py +0 -0
  15. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/canvas.py +0 -0
  16. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/checkbox.py +0 -0
  17. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/combobox.py +0 -0
  18. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/dialog.py +0 -0
  19. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/divider.py +0 -0
  20. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/image.py +0 -0
  21. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/label.py +0 -0
  22. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/layout.py +0 -0
  23. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/matplotlib.py +0 -0
  24. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/mdi.py +0 -0
  25. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/menu.py +0 -0
  26. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/modal.py +0 -0
  27. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/progressbar.py +0 -0
  28. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/radiobutton.py +0 -0
  29. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/scroll.py +0 -0
  30. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/splitter.py +0 -0
  31. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/tab.py +0 -0
  32. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/table.py +0 -0
  33. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/text.py +0 -0
  34. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/toolbar.py +0 -0
  35. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/tree.py +0 -0
  36. {qpuiq-0.10 → qpuiq-0.11}/PUI/PySide6/window.py +0 -0
  37. {qpuiq-0.10 → qpuiq-0.11}/PUI/common.py +0 -0
  38. {qpuiq-0.10 → qpuiq-0.11}/PUI/decorator.py +0 -0
  39. {qpuiq-0.10 → qpuiq-0.11}/PUI/dom.py +0 -0
  40. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/__init__.py +0 -0
  41. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/application.py +0 -0
  42. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/base.py +0 -0
  43. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/button.py +0 -0
  44. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/canvas.py +0 -0
  45. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/checkbox.py +0 -0
  46. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/label.py +0 -0
  47. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/layout.py +0 -0
  48. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/progressbar.py +0 -0
  49. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/radiobutton.py +0 -0
  50. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/scroll.py +0 -0
  51. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/tab.py +0 -0
  52. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/text.py +0 -0
  53. {qpuiq-0.10 → qpuiq-0.11}/PUI/flet/window.py +0 -0
  54. {qpuiq-0.10 → qpuiq-0.11}/PUI/interfaces.py +0 -0
  55. {qpuiq-0.10 → qpuiq-0.11}/PUI/state.py +0 -0
  56. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/__init__.py +0 -0
  57. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/application.py +0 -0
  58. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/base.py +0 -0
  59. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/button.py +0 -0
  60. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/checkbox.py +0 -0
  61. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/label.py +0 -0
  62. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/layout.py +0 -0
  63. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/progressbar.py +0 -0
  64. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/radiobutton.py +0 -0
  65. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/scroll.py +0 -0
  66. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/tab.py +0 -0
  67. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/text.py +0 -0
  68. {qpuiq-0.10 → qpuiq-0.11}/PUI/textual/window.py +0 -0
  69. {qpuiq-0.10 → qpuiq-0.11}/PUI/timeline.py +0 -0
  70. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/__init__.py +0 -0
  71. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/application.py +0 -0
  72. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/base.py +0 -0
  73. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/button.py +0 -0
  74. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/canvas.py +0 -0
  75. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/checkbox.py +0 -0
  76. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/label.py +0 -0
  77. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/layout.py +0 -0
  78. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/progressbar.py +0 -0
  79. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/radiobutton.py +0 -0
  80. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/scroll.py +0 -0
  81. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/tab.py +0 -0
  82. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/text.py +0 -0
  83. {qpuiq-0.10 → qpuiq-0.11}/PUI/tkinter/window.py +0 -0
  84. {qpuiq-0.10 → qpuiq-0.11}/PUI/utils.py +0 -0
  85. {qpuiq-0.10 → qpuiq-0.11}/PUI/view.py +0 -0
  86. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/__init__.py +0 -0
  87. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/application.py +0 -0
  88. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/base.py +0 -0
  89. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/button.py +0 -0
  90. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/canvas.py +0 -0
  91. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/checkbox.py +0 -0
  92. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/combobox.py +0 -0
  93. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/dialog.py +0 -0
  94. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/divider.py +0 -0
  95. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/label.py +0 -0
  96. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/layout.py +0 -0
  97. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/progressbar.py +0 -0
  98. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/radiobutton.py +0 -0
  99. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/scroll.py +0 -0
  100. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/text.py +0 -0
  101. {qpuiq-0.10 → qpuiq-0.11}/PUI/wx/window.py +0 -0
  102. {qpuiq-0.10 → qpuiq-0.11}/QPUIQ.egg-info/SOURCES.txt +0 -0
  103. {qpuiq-0.10 → qpuiq-0.11}/QPUIQ.egg-info/dependency_links.txt +0 -0
  104. {qpuiq-0.10 → qpuiq-0.11}/QPUIQ.egg-info/top_level.txt +0 -0
  105. {qpuiq-0.10 → qpuiq-0.11}/README.md +0 -0
  106. {qpuiq-0.10 → qpuiq-0.11}/setup.cfg +0 -0
  107. {qpuiq-0.10 → qpuiq-0.11}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qpuiq
3
- Version: 0.10
3
+ Version: 0.11
4
4
  Summary: "PUI" Python Declarative UI Framework
5
5
  Home-page: https://github.com/buganini/PUI
6
6
  Author: Buganini Chiu
@@ -53,10 +53,12 @@ class TextField(QtBaseWidget):
53
53
 
54
54
  def on_textchanged(self):
55
55
  node = self.get_node()
56
- node.editing = True
57
56
  value = self.ui.text()
58
57
  if node.edit_model:
59
- node.edit_model.value = value
58
+ node.editing = True
59
+ node.edit_model.value = value
60
+ else:
61
+ node.model.value = value
60
62
  e = PUIEvent()
61
63
  e.value = value
62
64
  self._input(e)
@@ -1,4 +1,4 @@
1
- __version__ = "0.10"
1
+ __version__ = "0.11"
2
2
 
3
3
  from .node import *
4
4
  from .view import *
@@ -32,10 +32,12 @@ class TextField(FBase):
32
32
 
33
33
  def on_textbox_changed(self, e):
34
34
  node = self.get_node()
35
- node.editing = True
36
35
  value = e.control.value
37
36
  if node.edit_model:
37
+ node.editing = True
38
38
  node.edit_model.value = value
39
+ else:
40
+ node.model.value = value
39
41
  e = PUIEvent()
40
42
  e.value = value
41
43
  self._input(e)
@@ -197,6 +197,8 @@ class PUINode():
197
197
  node = self
198
198
  while node.retired_by:
199
199
  node = node.retired_by
200
+ if node is not self:
201
+ self.retired_by = node
200
202
  return node
201
203
 
202
204
  def __repr__(self):
@@ -31,9 +31,11 @@ class TextField(TBase):
31
31
 
32
32
  def _changed(self, value):
33
33
  node = self.get_node()
34
- node.editing = True
35
34
  if node.edit_model:
36
- node.edit_model.value = value
35
+ node.editing = True
36
+ node.edit_model.value = value
37
+ else:
38
+ node.model.value = value
37
39
  e = PUIEvent()
38
40
  e.value = value
39
41
  self._input(e)
@@ -32,9 +32,11 @@ class TextField(TkBaseWidget):
32
32
 
33
33
  def on_variable_changed(self, var, index, mode):
34
34
  node = self.get_node()
35
- node.editing = True
36
35
  if node.edit_model:
36
+ node.editing = True
37
37
  node.edit_model.value = self.variable.get()
38
+ else:
39
+ node.model.value = self.variable.get()
38
40
  self._input()
39
41
 
40
42
  def on_change(self):
@@ -45,12 +45,13 @@ class TextField(WxBaseWidget):
45
45
 
46
46
  def on_kill_focus(self, *args):
47
47
  node = self.get_node()
48
- node.editing = True
49
-
50
48
  value = self.ui.GetValue()
51
49
  node.model.value = value
52
50
  if node.edit_model:
51
+ node.editing = True
53
52
  node.edit_model.value = value
53
+ else:
54
+ node.model.value = value
54
55
  e = PUIEvent()
55
56
  e.value = value
56
57
  self._change(e)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qpuiq
3
- Version: 0.10
3
+ Version: 0.11
4
4
  Summary: "PUI" Python Declarative UI Framework
5
5
  Home-page: https://github.com/buganini/PUI
6
6
  Author: Buganini Chiu
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
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
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
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
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
File without changes
File without changes