[telepathy] [Bug 315541] New: Add opacity to account icons in the delegate

Martin Klapetek martin.klapetek at gmail.com
Wed Feb 20 20:29:53 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=315541

            Bug ID: 315541
           Summary: Add opacity to account icons in the delegate
    Classification: Unclassified
           Product: telepathy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: CONFIRMED
          Keywords: junior-jobs
          Severity: normal
          Priority: NOR
         Component: contactlist
          Assignee: kde-telepathy-bugs at kde.org
          Reporter: martin.klapetek at gmail.com

As the title says, add 20% opacity to the account icon displayed in contact
list. The code is in abstract-contact-delegate.cpp in paintHeader function.

This is done with QPainter and composition mode (SourceOver should be your
friend). Read the docs[1] and play around.

[1]  - http://qt-project.org/doc/qt-4.8/qpainter.html#CompositionMode-enum

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list