Pre-Alpha PySimpleGUI_Qt
This commit is contained in:
parent
cb56e0fed8
commit
b6ed299d27
5 changed files with 556 additions and 94 deletions
17
QtVersionExperimental/Qt_Dial.py
Normal file
17
QtVersionExperimental/Qt_Dial.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
import PySimpleGUI_Qt as sg
|
||||
|
||||
layout = [
|
||||
[sg.Text('This is the new Dial Element!')],
|
||||
[sg.Dial(range=(1,100), key='_DIAL_')],
|
||||
[sg.Button('Show'), sg.Button('Exit')]
|
||||
]
|
||||
|
||||
window = sg.Window('Window Title').Layout(layout)
|
||||
|
||||
while True: # Event Loop
|
||||
event, values = window.Read()
|
||||
print(event, values)
|
||||
if event is None or event == 'Exit':
|
||||
break
|
||||
|
||||
window.Close()
|
Loading…
Add table
Add a link
Reference in a new issue