I have a QWidget that initially had no parent (i.e. top level window). It defined it's own pallete and fonts.
I decided that I wanted to take advantage of the parent/child cleanup if the main application was destroyed. So I gave this window a parent in it's initializer list and add the following to the constructor.
I can set a pallete but this window it refusing to accept a new font. If I again remove the parenting then it takes the font.Qt Code:
setWindowFlags(windowFlags() | Qt::Window); // top-level windowTo copy to clipboard, switch view to plain text mode
Ideas?
I initially thought that maybe my style sheets or my custom style were interfering, but I disabled both and the problem persists.
Bookmarks