Bug 309290

Summary: Add transparency support when setting custom color in KColorCombo
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: JarosÅ‚aw Staniek <staniek>
Component: generalAssignee: Christoph Feck <cfeck>
Status: CONFIRMED ---    
Severity: wishlist CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description Jarosław Staniek 2012-10-31 07:34:59 UTC
Unlike KColorDialog, KColorCombo does not setting enable transparency even if user wants it.


Reproducible: Always

Steps to Reproduce:
I propose to add KColorCombo::setAlphaChannelEnabled(bool) modeled after KColorDialog::setAlphaChannelEnabled(bool). 



alphaChannelEnabled [bool] property is also welcome.

Looking at the code of KColorCombo I see there's KColorDialog::getColor() used which does not support transparency data. I propose to add KColorDialog::getColorWithAlphaChannel() by the way and use it in KColorCombo.