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




  

Tuesday, June 12, 2012

Monday, April 30, 2012

My cycle journeys.. 1st May

Today i traveled about 6km  only to pangode military base. It was the first time i was seeing a military camp base. I was filled with patriotism on the sight of it and felt proud about our armed forces of our country.

Jai Jawan.
Bharat Matha Ki jai





View Larger Map

Thursday, April 26, 2012

Wednesday, April 25, 2012

Cycle journeys in Trivandrum..

Being a techie results in lack of exercise manly due to sitting in front of the PC from morning to evening. Now this can cause problems later in life so i decided to cycle through my way in Thiruvananthapuram.
Cycling is one of the exercises which i like and for that i bought my cycle to Thiruvananthapuram from Kochi on train. i had started cycling from last week and thought it would be great if i could share some of the routes i cycled.

Thiruvananthapuram terrain is a difficult terrain to cycle for starters as  it is hilly in some parts and requires building up stamina by taking it slow.
This the route i did today


View Larger Map

Tuesday, April 24, 2012

CVS integration into eclipse for easy team sharing

Sharing of source code and version controlling is an important process to ensure that code is effectively shared and updated correctly. So if you have a CVS server setup in your machine then you are good to go.

Configuring Eclipse:-


  1. Open the CVS Repositories view.
  2. Click on add CVS Repositories button on the top left of the view
  3. Put the settings according to cvs settings of the server
  4. Now Take the project Explorer window and take the team option > share project
  5. Use the cvs option
  6. Then select the server you had configured earlier
  7.  Now in the project explorer the project folder will be succeeded by the ip of the cvs server. Also their will be full cvs options in the team sub menu when we right click on the folder\
Note:- If the option 6 is not shown for project, then delete the project from project explorer without deleting the files physically and re-import the project back into the workspace.

For Reference use the following site