How to Enable Anti-Aliasing on all widgets ?
andamedanda last edited by
As the title says how do u enable anti aliasing across the application on all widgets.
My problem is that i have a Gradient background set to a widget Using a Style Sheet. It looks fine when i use graphicssystem opengl. But ugly when i use native.
Is there any way to enable anti aliasing on all widgets OR atleast that specific widget alone without overriding the paintEvent() .
bodzio131 last edited by
First thought: set your own QStyle bridge-wrapper, which will pass all calls into original QStyle (got from QApplication::style()), except it will change QPainter RenderHint into Antialiasing|TextAntialiasing for all drawing calls. Not subtle but should work globally.