mbasaglia / Qt-Color-Widgets

Color wheel widget and dialog for Qt
147 stars 54 forks source link

Advanced color selector #29

Open caryoscelus opened 7 years ago

caryoscelus commented 7 years ago

So as mentioned earlier, i'm developing an advanced color selector widget (which could be used as dock in graphical applications, so more compact than color dialog), which would be basically a configurable composite widget containing various existing widgets (wheel, 2d slider, perhaps multiple 1d sliders, etc).

Planned features so far:

Since i've started implementing this, i've run into some issues for which i'm going to open separate threads (so that we can keep this one just for feature and maybe implementation discussion).

Here's my development branch: https://github.com/caryoscelus/Qt-Color-Widgets/tree/advanced_color_selector

mbasaglia commented 7 years ago

Just an idea, but "color history" could use the palette widget. "foreground/background color switching" could be done as an extension of the split color preview (it would just need a slot to switch the main and comparison color).

Also, dunno if it's useful but I've written this compound color editor some time ago as part of another project: https://github.com/mbasaglia/PixelCayman/blob/master/src/ui/widgets/color_editor.hpp

caryoscelus commented 7 years ago

"color history" could use the palette widget.

Yeah, i thought about that too (though i haven't looked at palette widget yet).

"foreground/background color switching" could be done as an extension of the split color preview

Would probably work for beginning, but later it might be better to create a more visually rich one (such as the typical overlapping squares/circles).

nicholascarroll commented 7 years ago

The Natron project (https://github.com/MrKepzie/Natron) needs one of these.

mbasaglia commented 7 years ago

@nicholascarroll which one?

nicholascarroll commented 7 years ago

I think it should be a simple colour wheel because when adjusting the colour the user look at the image not so much at the colour wheel. Here is the issue for it https://github.com/MrKepzie/Natron/issues/1592. I sort of put my hand up to code it but my C++ skills are practically nonexistent.