Bug 309290 - Add transparency support when setting custom color in KColorCombo
Summary: Add transparency support when setting custom color in KColorCombo
Status: CONFIRMED
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 07:34 UTC by Jarosław Staniek
Modified: 2014-10-26 15:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.