[texworks] SCRIPT Prototype: A work in progress - LaTeX xcolor colour names dialogue

Paul A Norman paul.a.norman at gmail.com
Thu May 27 13:34:27 CEST 2010

Thanks Stefan,

I was looking at the LaTeX named  xcolor package colours first as many
people rely on them for print flow. (I use them too!)

Next I was going to possibly look at rgb as the naming convention,
helping users to name/define their own colours and store them, and
have them available each time they reuse a certain dialogue or
dialogue tab.

When I get to it, how do I invoke the QColorDialog from Script please?

P.S. Here is a better example of the first colour dialogue.

On 27 May 2010 23:00, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Hi,
> Am 2010-05-27 12:20, schrieb Paul A Norman:
>> ( I promised Jonathan if we had dialogues -- I'd be aiming to do a
>> colour dialogue!)
>> [...]
>> But when the user selects a colour square (clicks in it), presently I
>> appear to have no way to obtain the chosen value when they ok the
>> dialogue -- it is not a property, and although I have obtained a
>> reference to the  the widget in script, I can not presently execute a
>> function call of the widget, to get the tableItem and so the toolTip()
>> value selected.
> Just out of curiosity, have you ever looked into using QColorDialog? It
> doesn't offer color tables (for scripts), AFAIK, but you can get
> arbitrary colors there. I'm not sure if/how scripts can handle QColor
> values, though.
> Cheers,
> Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colourX11_rgb-txt_ver002.zip
Type: application/zip
Size: 6694 bytes
Desc: not available
URL: <http://tug.org/pipermail/texworks/attachments/20100527/02f2d90f/attachment.zip>

More information about the texworks mailing list