tags:

views:

30

answers:

1

Hello, I am new to the world of PyQt.I am using PyQt designer for designing the UI and coding to provide functionality in it.But unfortunately I am getting confused to link with the UI.By importing the class we generally doing in examples.But when I try my own code its not happening. I guess I need better understanding to work with PyQt.It will be very better if some one just explain how to work with PyQt and add UI design to my application Thanks

A: 

Have you tried:

class ImageViewer(QtGui.QMainWindow, ImageViewerUI.Ui_MainWindow):

because by default pyuic4 create the class Ui_MainWindow and not Ui_mainWindow

rubik
Thanks alot :) It is working,now I can understand how the ui py file interacts with the functional file .
mushfiq