[Qt-interest] QPushButton - remain down...
Robert Hairgrove
evorgriahr at hispeed.ch
Tue Mar 2 17:47:16 CET 2010
BRM wrote:
> I have a series of items I am putting into a QToolBar so the user can select them during run.
> Presently I am using the QCheckBox, but it takes up a lot of room.
> Preferably, I'd like to have a QPushButton kind of widget that has two states: Up and Down.
> Looking through the documentation, I did notice that QPushButton has those states, but it does not seem to remain in those states.
>
> Am I missing something to enable this?
> Or am I going to need to subclass?
>
> Note: I'm presently using Qt 4.5 (4.5.1, 4.5.2).
>
> TIA,
>
> Ben
>
Did you look at the QToolButton class yet?
More information about the Qt-interest-old
mailing list