seux
30th August 2011, 14:38
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
switch(element)
{
case PE_PanelButtonComand:
{
//Overpainting the button
}
}
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?
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
switch(element)
{
case PE_PanelButtonComand:
{
//Overpainting the button
}
}
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?