Hello,
I am on my way to create my own Style. I got it to overpaint Buttons, Checkboxes, etc..., but I don't know how to overpaint the QDialogBox. For the buttons i did it this way:
In the drawPrimitiv function
Qt Code:
switch(element) { case PE_PanelButtonComand: { //Overpainting the button } }To copy to clipboard, switch view to plain text mode
But there is nothing for the windows itself, i tried PE_FrameWindow, but its never been called.
How can i overpaint the QDialogBox in the Style class?
Bookmarks