<s> from PyQt4 import QtGui , QtCore <EOL> from UI . licenseDialog import Ui_Dialog <EOL> class LicenseDialogue ( QtGui . QDialog ) : <EOL> def __init__ ( self , parent = None ) : <EOL> super ( LicenseDialogue , self ) . __init__ ( parent , QtCore . Qt . WindowSystemMenuHint | QtCore . Qt . WindowTitleHint ) <EOL> self . ui = Ui_Dialog ( ) <EOL> self . ui . setupUi ( self ) <EOL> self . ui . ExitButton . clicked . connect ( self . close ) </s>
