2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

pyqt5: improve the sample in playground so can easily work also with pyside2

This commit is contained in:
fedepell 2018-04-17 22:40:10 +02:00 committed by ita1024
parent 4682f543ce
commit c4f8e20e69

View File

@ -1,5 +1,9 @@
import sys
# If pyqt5 bindings are used uncomment the following line:
from PyQt5 import QtCore, QtGui, QtWidgets
# If pyside2 bindings are used uncomment the following line:
#from PySide2 import QtCore, QtGui, QtWidgets
from firstgui import Ui_myfirstgui
class MyFirstGuiProgram(Ui_myfirstgui):