How to define an invisible button in QT?
for example
In a 4x4 window which can hold four 1x1 button , there is only an invisible button ,so you dont kown where it is. You can click in the window area,if you click on the invisible button ,you win. it is only an example,i am interesting in how to define this invisible button in QT and thanks beyond. |
|
I'm not certain that a hidden button will receive click events. If so you may need to play with flat and use setIcon to make the button have the same look as the background.
|
Quote:
|
All times are GMT -5. The time now is 06:23 PM. |