Quote Originally Posted by addu View Post
If any provide sample sample code it will be better for you..
Better for us? Because then you will stop asking for a sample code. But I guess you wanted to say: for you == of your point of view: for me! And that is neither a good way, because then you will ask another simple question which could be solved by reading the docs. So better we teach you reading the docs, and therefor all informations are given.


Quote Originally Posted by spirit
take a look Qt's exmaples and demos, it's pretty simple question.
No, it isn't a simply question because it is posted in the "Qt Programming" forum not in the "Newbie" forum...