[texworks] HELP: Integrated Tw LaTeX2e Help dialogue

Paul A Norman paul.a.norman at gmail.com
Sun Jul 4 03:59:14 CEST 2010


Dear Jonathan,

>Paul, that's very cool indeed! One thing: if you use Qt's Layout mechanism in the window, it'll >handle cross-platform differences and resizing better. (When I first tried it, many button labels >were clipped.)

Are you wanting me to change the QDialog's .sizePolicy?  to which
setting ..... ?

(I'm flying blind not being able to see what is happening cross-platform.)

Currently the setting is `prefereed' for Horiz and Vertical Policy,
and 0 for Horiz and Vert Stretch

What is the setting neeed please?

>I also think this would be better as a non-modal Window rather than a Dialog, though I haven't >experimented to know whether that's actually possible yet.

For completeness, as I understand from Stefan's posts that you have
already done in this in C++, nonetheless can I set this as either
.windowModality =

 1.  windowModal  or 2. ApplicationModal    or do you not mind which?

Paul

On 1 July 2010 02:54, Jonathan Kew <jfkthame at googlemail.com> wrote:
> On 30 Jun 2010, at 07:34, kap4lin wrote:
>
>> Error:
>>
>> Script "LaTeX2e Help": ReferenceError: Can't fine variable: __FILE__
>>
>> Does this need any other script? Any dependencies? Is this windows only?
>
> The Help script works for me on Mac OS X.
>
> What platform are you using? What version of TW, and if self-compiled, what version of Qt is it built with?
>
> (I suppose we could expose the script object's filename property in order to avoid the need to use this feature.)
>
> Paul, that's very cool indeed! One thing: if you use Qt's Layout mechanism in the window, it'll handle cross-platform differences and resizing better. (When I first tried it, many button labels were clipped.)
>
> I also think this would be better as a non-modal Window rather than a Dialog, though I haven't experimented to know whether that's actually possible yet.
>
> JK
>
>
>


More information about the texworks mailing list