Pop up palette recent colour
boud at valdyas.org
Thu Jan 28 21:08:58 CET 2010
On Thursday 28 January 2010, Vera Lukman wrote:
> Great. I can use that.
> KisPopupPalette is a class inherited from QWidget, everything there is
> painted using QPainter. I wonder if it is possible to add
> KoTriangleColorSelector in KisPopupPalette. I have thought about putting
> the 2 widgets in a QLayout object, but I don't think it is possible to put
> KoTriangleColorSelector in the center of KisPopupPalette because I don't
> think we can put 2 widgets on top of each other in a QLayout.
> Another thing to consider is, if I want to enable easy access to something
> else using the pop up palette (eg. easy access to current brush settings),
> it will be hard to do if I have the colour selector on the pop up palette.
> Any thoughts?
I would love it if there was a way to cycle between color selection methods in
the popup, like, it starts with recent colors, click, you get move by
hue/saturation etc. from current color, click, it shows complementary colors.
Of course, it's not original... Mypaint has something like that.
Boudewijn Rempt | http://www.valdyas.org
More information about the kimageshop