[Qt-interest] How to stop changed font propagation to children
Zeljko
zeljko at holobit.net
Thu Nov 3 18:21:35 CET 2011
Zeljko wrote:
> Hi,
>
> eg. QGroupBox, or QMainWindow ... when I change font size I don't want to
> propagate such changes to children ... any way to do so ?
hm...seem that if child widget font is not default one then parent doesn't do
that, but otherwise it changes child's font .... and no way to stop it.
QEvent::FontChange doesn't trigger in order parent,children but children,parent
and there's no way to get out why FontChange comes (because it's changed for
widget itself or parent does that change).
Anyone have idea how to fix this problem ?
zeljko
More information about the Qt-interest-old
mailing list