Skip to content

Commit 312d425

Browse files
committed
Release 0.33.0
1 parent 6369d25 commit 312d425

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

PySimpleGUIQt/PySimpleGUIQt.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
version = __version__ = "0.32.0.1 Unreleased - Experimental ability for user to add widgets to layout"
2+
version = __version__ = "0.33.0 Released 6-May-2020"
33

44
port = 'PySimpleGUIQt'
55

@@ -348,6 +348,8 @@ def __init__(self, elem_type, size=(None, None), auto_size_text=None, font=None,
348348
self.TooltipObject = None
349349
self.Visible = visible
350350
self.metadata = metadata # type: Any
351+
self.row_frame = None # type: QHBoxLayout
352+
351353

352354
def _FindReturnKeyBoundButton(self, form):
353355
for row in form.Rows:
@@ -4800,7 +4802,7 @@ def PackFormIntoFrame(window, containing_frame, toplevel_win):
48004802
qt_row_layout = QHBoxLayout()
48014803
for col_num, element in enumerate(flex_row):
48024804
element.ParentForm = toplevel_win # save the button's parent form object
4803-
element.parent_row_frame = element.ParentRowFrame = qt_row_layout
4805+
element.row_frame = qt_row_layout
48044806
if toplevel_win.Font and (element.Font == DEFAULT_FONT or not element.Font):
48054807
font = toplevel_win.Font
48064808
element.Font = font
@@ -8650,7 +8652,6 @@ def main():
86508652
if event == 'About...':
86518653
Popup('You are running PySimpleGUIQt', 'The version number is', version)
86528654
if not graph_paused:
8653-
i += 1
86548655

86558656
if i < 600:
86568657
graph_elem.DrawLine((i, 0), (i, randint(0, 300)), width=1,
@@ -8662,6 +8663,7 @@ def main():
86628663

86638664
window.FindElement('+PROGRESS+').UpdateBar(i % 600)
86648665
window.FindElement('_PROGTEXT_').Update((i % 600) // 6)
8666+
i += 1
86658667

86668668
# TimerStop()
86678669
window.Close()

PySimpleGUIQt/readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,18 @@ Highlights - Read with close (Single line GUIs!), Print to Multiline, Scrollable
803803
* Print (Multiline) added autoscroll parm
804804

805805

806+
## 0.33.0 PySimpleGUIQt 6-May-2020
807+
808+
* Added constants
809+
* WIN_CLOSED and WINDOW_CLOSED
810+
* EVENT_TIMEOUT and TIMEOUT_EVENT
811+
* Added expansion capabilities
812+
* Element.row_frame - The QHBoxLayout the element is contained within
813+
* Column.vbox_layout - The QVBoxLayout contained in Column element
814+
815+
816+
817+
806818

807819
# Design
808820
## Author

0 commit comments

Comments
 (0)