Results 1 to 1 of 1

Thread: Antialias problem, It can be possible to set antialias = false for a widget?

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Antialias problem, It can be possible to set antialias = false for a widget?

    I have a custom widget which acts as a container. It has a custom paintevent to draw a rounden external rect.
    (this is the dark grey example).
    I have a Qframe with a convenient stylesheet to draw a rounded rect to the bottom left and bottom right corners. As you can see at the left green example, the rounden corners are showed right.
    If I put this Qframe inside my customwidget, as you can see there is a strange paint at the corners, probably because the antialias work.( The right top green example )
    Maybe it can be fixed if I could to cancel antialias for the Qframe? Is it possibble ?
    Thanks
    Attached Images Attached Images

Similar Threads

  1. How to set treewidgetItem decorate false
    By sudhansu in forum Qt Programming
    Replies: 0
    Last Post: 1st March 2011, 05:34
  2. Non-Antialias fonts
    By efan in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 4th March 2010, 19:08
  3. connect returning false
    By thru in forum Newbie
    Replies: 3
    Last Post: 28th April 2009, 19:58
  4. Configure antialias for Qt 4 programs (Debian Testing)
    By alecs1 in forum General Discussion
    Replies: 0
    Last Post: 10th April 2008, 22:38
  5. enabling a QTreeWidgetItem as false
    By Kapil in forum Newbie
    Replies: 2
    Last Post: 3rd March 2006, 07:32

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.