bgreeneaka / zorkul

Automatically exported from code.google.com/p/zorkul
0 stars 0 forks source link

How do you create buttons #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Create a code fragment outlining creating a simple button

Original issue reported on code.google.com by eoghangr...@gmail.com on 11 Feb 2014 at 12:52

GoogleCodeExporter commented 9 years ago

Original comment by eoghangr...@gmail.com on 11 Feb 2014 at 1:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was looking at examples

and borrowed buttons from calculator example...(class and header attached)

Button *northButton = createButton(tr("vh"), SLOT(northButtonClicked()));

northButtonClicked() method is kicked when button is pressed, 

I am not sure if we are going to use this kind of buttons or Qbuttons are 
better.

Original comment by bkaminie...@gmail.com on 26 Feb 2014 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bkaminie...@gmail.com on 26 Feb 2014 at 1:12

GoogleCodeExporter commented 9 years ago
I think we should stay with QPushButton it's working good.

Original comment by bkaminie...@gmail.com on 27 Feb 2014 at 12:18