The codes to implements the converted PYSIDE .py files

#importing relevant classes
from PySide.QtCore import *
from PySide.QtGui import *
import sys

#import the targeted converted Qt file
import welcomeScreen

#create class MainDialog and its relevant parameters
class MainDialog(QDialog, welcomeScreen.Ui_Dialog):

#initialize setupUi
def __init__(self, parent=None):
super(MainDialog, self).__init__(parent)

#sys.argv is a list of strings representing the arguments
app = QApplication(sys.argv)
form = MainDialog()

#execute the python file

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s