Hi!
Opened this issue · 3 comments
Hi...I found no way to contact you (no messaging system on GitHub and no email on your profile/in your code).
I've been looking at your colorpicker module and find it really useful. I have included it in a package I've been putting together, 'QtStuff' (cute stuff):
https://github.com/JBARisk/QtStuff
This is a simple package to provide various useful widgets and utilities for working with either PyQt or PySide.
I was wondering if you might be able to provide some examples of using your colorpicker module?
Thanks
James Ramm
Hey,
What type of examples are you interested in?
I wrote it as a compact way to edit and display colours without cluttering the UI. I still have some improvements I would like to make, but the project I had in mind for it got halted so I haven't had any incentive to write those yet. I may get around to it eventually, so keep an eye on the repo!
The best use-case for it is when you have a list of colours you would like to display and allow users to quickly edit, while still maintaining an overview of all colours.
Hi,
I think it is great. An good example would be an executable script that
just shows how you would use it (e.g implement a list of colours? Just
really simple stuff to give users and idea...)
If I could convince you to make the changes in the QtStuff repository, that
would be great.
This is going to be a very useful addition to a program I am developing for
drawing charts, which marries matplotlib and pandas in a PySide GUI. It is
not on GitHub yet (it is for my job at JBA Risk) but when the first release
is ready, development will become open source and move to GitHub
On 16 August 2014 17:16, zeyelth notifications@github.com wrote:
Hey,
What type of examples are you interested in?
I wrote it as a compact way to edit and display colours without cluttering
the UI. I still have some improvements I would like to make, but the
project I had in mind for it got halted so I haven't had any incentive to
write those yet. I may get around to it eventually, so keep an eye on the
repo!The best use-case for it is when you have a list of colours you would like
to display and allow users to quickly edit, while still maintaining an
overview of all colours.—
Reply to this email directly or view it on GitHub
#1 (comment).
I added a small example that creates a QMainWidget with two ColorPicker widgets, connected to the foreground and background colour of the main widget. Not very practical as-is, but should give you an idea of how they can be used.
Some things I would like to improve but haven't gotten around to:
- Make a distinction between updating the colour and having updated the colour. Useful for updating visualizations in real-time, while only updating costly subsystems once you are done
- Make numerical input more integrated and less clunky
- Improve flexibility, such as making the alpha channel optional
I prefer to make the changes to my repository. That way anyone who finds the code useful can watch it and get notified of updates, and I don't have to worry about breaking other people's code if I decide to break API. :)