Hey there,
is there a way to be notified when a QPalette's value gets changed ?
like a signal or something ?
I'd like to update a QPixmap accordingly to QPalette's color dynamically.
Thanks.
Hey there,
is there a way to be notified when a QPalette's value gets changed ?
like a signal or something ?
I'd like to update a QPixmap accordingly to QPalette's color dynamically.
Thanks.
Hi,
Did you think about create a custom palette object that would not only set colors for you widget or whatever object and also send a signal when it would change color?
Maybe this will be a good idea.
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
- QEvent::PaletteChange
- QEvent::ApplicationPaletteChange
J-P Nurmi
vycke (7th July 2009)
Bookmarks