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

Stefan Löffler st.loeffler at gmail.com
Thu May 27 17:03:43 CEST 2010


Hi again,

Am 2010-05-27 13:34, schrieb Paul A Norman:
> When I get to it, how do I invoke the QColorDialog from Script please?
>   

I just experimented a little bit, and I'm afraid it's not as easy as I
thought. The normal UiLoader doesn't provide it.
However, QColorDialog is one of the system-standard dialogs (such as
getInt, getDouble, etc., which we already have). So I think we should
add the following dialogs to the TW context:

* QColorDialog
* QFontDialog (not very useful, but for completeness)
* QFileDialog (either directly (i.e., the script needs to set all
properties), or these static methods: getExistingDirectory,
getOpenFileName(s), getSaveFileName)

HTH
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20100527/04bd309c/attachment-0001.html>


More information about the texworks mailing list