anson97209
9th October 2009, 07:40
Hi, everyone?
I run qt-core on the arm9 board and I connect a really button to the board. And the button driver code is ok. And I want to ask how to do to realize that when I click the really button and qt will connect to a slot just like the pushbutton?
Because I want to use two method the control the slot, one is using the pushbutton(it is easy to realize just use signal and slot); the other is using really button, when I click the button, the qt can do the same thing just like I click pushbutton in the interface. How to realize that , thank you.
I run qt-core on the arm9 board and I connect a really button to the board. And the button driver code is ok. And I want to ask how to do to realize that when I click the really button and qt will connect to a slot just like the pushbutton?
Because I want to use two method the control the slot, one is using the pushbutton(it is easy to realize just use signal and slot); the other is using really button, when I click the button, the qt can do the same thing just like I click pushbutton in the interface. How to realize that , thank you.