Hi all,
I am new to Qt and i am trying to write click event for the QPushbutton.
In which when the user clicks on the push button it must display some contents in a dialog box.

for example: i am trying for: if the user clicks the button for the first time it should display 1 and when the button is clicked for the second time it should display 2 and so on.

It means whenever the user clicks on the push button the number should increase by 1.

Is there any sample coding or anyone can help me to come with the answer?

Regards,
Harish.M