Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, April 2007
QAction--ask for a faver


Message 1 in thread

hi, all
having made a mainwindow's toolbar through draging qactions from action
editor, i want to know how to keep the icon in the toolbar "sunken" when be
triggered?
another question also related qaction: what's the different between the
signals triggered() and toggled()?

regards
fengli

Message 2 in thread

Hi,

to have them "sunken", just set "checkable" to true.
For your other question, have a look at
http://doc.trolltech.com/4.2/qaction.html#triggered
and
http://doc.trolltech.com/4.2/qaction.html#toggled

Kind Regards,
Ralf

Am Montag, 9. April 2007 14:33:10 schrieb ååä:
> hi, all
> having made a mainwindow's toolbar through draging qactions from action
> editor, i want to know how to keep the icon in the toolbar "sunken" when be
> triggered?
> another question also related qaction: what's the different between the
> signals triggered() and toggled()?
>
> regards
> fengli


--
 [ signature omitted ]