Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced color selector #29

Open
2 of 5 tasks
caryoscelus opened this issue Aug 3, 2017 · 5 comments
Open
2 of 5 tasks

Advanced color selector #29

caryoscelus opened this issue Aug 3, 2017 · 5 comments

Comments

@caryoscelus
Copy link
Contributor

caryoscelus commented Aug 3, 2017

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:

  • switching between few primary color selector forms (triangle & square wheel and 2d+hue sliders for now)
  • harmony color selection (kinda done, but no UI to actually make them active for now)
  • configurable sliders
  • color history
  • foreground/background color switching

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
Copy link
Owner

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
Copy link
Contributor Author

"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
Copy link

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

@mbasaglia
Copy link
Owner

@nicholascarroll which one?

@nicholascarroll
Copy link

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 MrKepzie/Natron#1592.
I sort of put my hand up to code it but my C++ skills are practically nonexistent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants