Diffusion Krita 6d336838602b

Add very simple 'colorselection' dialog with a widget containing spinboxes.

Authored by woltherav on Jul 28 2016, 4:04 PM.

Description

Add very simple 'colorselection' dialog with a widget containing spinboxes.

Right now the spinbox widget is able to adapt itself to all colorspaces, and having it
as a separate widget makes it into a nice building block for other uses too.

I can't actually connect this to anything, because all our color buttons seem to be K and Ko,
so that will be the big task tomorrow...

Ref: T2337, T2438
Auditors: rempt

Details

Auditors
rempt
Committed
woltheravJul 28 2016, 4:04 PM
Parents
R37:7ce94758d0e4: Merge branch 'master' into krita-testing-wolthera
Branches
Unknown
Tags
Unknown
rempt added a subscriber: rempt.EditedJul 29 2016, 8:44 AM

I would move KoDualColorButton to libs/ui, it's only used there. That makes it possible for KoDualColorButton to access the new colors selector dialog. The same goes for kcolorbutton: that needs to be forked and places in libs/ui, as far as I can see everything that uses kcolorbutton links to kritaui, so that should be fine.

kcolorbutton doesn't seem to use anything but pure Qt stuff, so that's not hard to fork and adapt.