qt-interest@trolltech.com
[Top] [All Lists]

Re: [Qt-interest] QPushButton - remain down...

Subject: Re: [Qt-interest] QPushButton - remain down...
From: Robert Hairgrove
Date: Tue, 02 Mar 2010 17:47:16 +0100
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?
_______________________________________________
Qt-interest mailing list
Qt-interest@xxxxxxxxxxxxx
http://lists.trolltech.com/mailman/listinfo/qt-interest

<Prev in Thread] Current Thread [Next in Thread>