As far as I know, there is no way to avoid that dotted rect using style sheets. You have to subclass your button and overwrite the paint event and do the drawing yourself. Use QStylePainter::drawPrimitive() with the right parameters.
As far as I know, there is no way to avoid that dotted rect using style sheets. You have to subclass your button and overwrite the paint event and do the drawing yourself. Use QStylePainter::drawPrimitive() with the right parameters.
moosa (19th April 2010)
Bookmarks