Hello all,
How do I reset the palette for a form, or get it to use the current Windows/KDE colours?
Cheers,
Donal
Printable View
Hello all,
How do I reset the palette for a form, or get it to use the current Windows/KDE colours?
Cheers,
Donal
Click on the small red arrow besides "Change Palette" button to reset it.
If you do it in code try this:
1. create a temporary control
2. get its palette
3. set the palette of the temp. control as the palette of your control
This should also work for forms.
Here's a small code excerpt which shows how to set the default palette for a QTreeView:
Ernst
Or simply (for standard Qt widgets):Quote:
Originally Posted by 3dch