Wednesday, July 11, 2012

GUI programming in Pyside

I took up GUI programming in Pyside after some of my friends recommended it on Facebook. A good advantage of Pyside over PyQT is given in the post here.

So i install the QT-SDK, python 2.7 and corresponding binary for Pyside. I found that 64 bit is not supported properly and hence i had to revert to the 32 bit flavour.

In this tutorial we are going to try to learn the easy way of GUI programming using QT and python. The main thing about GUI programming is to plan out the widget properly.

For Making the GUI use the QT-Creator and design a GUI of your choice

First open the QT-Creator in <python installation>\Lib\site-packages\PySide, not what is installed along with the QT creator (I could see the widget preview). Design the GUI by populating the components as required and also set the properties of each component. Care should be taken to ensure that meaningful names should be provided for Tag Names. Now save the user interface as an ui file.

Remaining Later




  

No comments:

Post a Comment