Results 1 to 2 of 2

Thread: painter->setRasterOp()

  1. #1
    Join Date
    May 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default painter->setRasterOp()

    how to change setRasterop to setcompatibility option in qt4 or we have to use rubberband instead of compositionmode option

  2. #2
    Join Date
    Sep 2008
    Location
    Munich
    Posts
    32
    Thanked 8 Times in 6 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: painter->setRasterOp()

    QRubberband is a convenience class if you want to show a selection. And compositionmodes have replaced the rasterops. Look at http://doc.qt.nokia.com/4.7-snapshot...itionMode-enum to find the one you are looking for.

    Otherwise showing code to people and explaining the context you are (I'm trying to ...) will always help.

Similar Threads

  1. Problem with Painter in Qt4.4.1
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 1st September 2008, 13:47
  2. Any option for QPainter::setRasterOp( ) in Qt 4.2.2
    By joseph in forum Qt Programming
    Replies: 2
    Last Post: 30th April 2007, 07:32
  3. setRasterOp Equivalent
    By vermarajeev in forum Qt Programming
    Replies: 22
    Last Post: 31st March 2007, 13:13
  4. how to use loadFromData in painter
    By sar_van81 in forum Qt Programming
    Replies: 18
    Last Post: 31st January 2007, 04:09
  5. Painter not active!
    By Caius Aérobus in forum Qt Programming
    Replies: 7
    Last Post: 30th March 2006, 15:44

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.