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

Qt-interest Archive, May 2007
custom style and QPushButton


Message 1 in thread

Hello,

while implementing a custom style (qt 4.2.2), I got a (hopefully easy to
answer?) question. There are some elements which seems to belong to
QPushButton: CE_PushButton, CE_Push#ButtonBevel and CE_PushButtonLabel

Now, I would like to know what is the additional PE_PanelButtonCommand
exactly for? The doc says: "Button used to initiate an action, for
example, a QPushButton" and that is not really helpful to me, because
IMHO, a button is always used to initiate an action, otherwise it would
be a quite useless decoration...  ;-)

So I am wondering about what this element exactly represent? Is it a
generalized type of Button (not only a PushButton)? Then, I would just
need to implement either the QPushButton elements or this
PanelButtonCommand?

Thx for any hints,
Marko

-- 
 [ signature omitted ]