Hi guys,
I would like to change toolbar's actions(buttons) background to red when action(button) gets mouseOver event. How to do this using style sheets?
QToolbar:: /*???*/
{
background: red;
}
Thanks.
Hi guys,
I would like to change toolbar's actions(buttons) background to red when action(button) gets mouseOver event. How to do this using style sheets?
QToolbar:: /*???*/
{
background: red;
}
Thanks.
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
Implement 2 functions: enterEvent & leaveEvent.
Its
QToolBar:hover
{
}
You can refer the Stylesheet example in QtDemo->Widgets
maverick_pol (5th April 2008)
QToolBar:hover, as predicted, works on the "toolbar" background not for the actions(actions' buttons). So this is not really what I need.
Kacper
wysotaQt allows you to use everything you want
--------------------------------------------------------------------------------
#if defined(Q_OS_UNIX) && defined(QT_DEBUG)
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
#endif
It would appear
or whatever button type you are using would be what you need for your style sheet.
Bookmarks