Renamed Qt Folder. Many PSG Qt new Elements are working!

This commit is contained in:
MikeTheWatchGuy 2018-11-07 12:54:52 -05:00
parent 3d99d2772e
commit 60c2e1a286
4 changed files with 64 additions and 10 deletions

17
PySimpleGUI_Qt/Qt_Dial.py Normal file
View 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()