What is the best way to implement a toggle button with the Qt framework ?
EDIT:
The only possibility I am aware of is the QPushButton
. According to Qt documentation the QPushButton::setCheckable(bool)
allows to have a on/off behavior. How to make it appear such as below ? Knowing I use Qt 5.1.1
QPushButton::setCheckable(bool)
property makes it toggle? – Bipartite