> This may be better suited to the qt mailbox group, but since I haven't
been able to locate them

[email protected]

On 18 August 2015 at 09:06, robert therriault <[email protected]> wrote:

> This may be better suited to the qt mailbox group, but since I haven't
> been able to locate them and it seems similar to what was described by Bo,
> I will try here for any hints as to what is going on.
>
> The controls are set up so that hovering redraws and by clicking and
> dragging horizontally you can independently increase of decrease the values
> displayed.
>
> The issue is that only the second isidraw control appears until you hover
> over the first one, then both are visible and behave as expected.
>
> Since I am just dipping my toes into the jqt display, I may be missing
> something obvious and any hints are welcomed. This behaviour was present in
> the previous beta as well.
>
> Cheers, bob
>
>     JVERSION
> Engine: j803/2014-10-19-11:11:11
> Library: 8.04.11
> Qt IDE: 1.4.5/5.4.2
> Platform: Darwin 64
> Installer: J804 install
> InstallPath: /users/bobtherriault/j64-804
>
> NB. Interface Demo - based on studio/showcase/isigraph/paint
> NB. Display is two independent isidraw showing integers
> NB. Hover to activate. Click and drag horizontally to change values.
>
> require 'gl2 png'
> coinsert 'jgl2'
>
> NB. =========================================================
> PAINT=: 0 : 0
> pc paint;pn "Interface test";
> bin hs;
> cc g1 isidraw flush;set g1 maxwh 20 30;set g1 visible 1;
> cc g2 isidraw flush;set g2 maxwh 20 30;set g2 visible 1;
> bin sz;
> pas 0 0;pcenter;
> pshow
> )
>
> NB. =========================================================
> paint_run=: 3 : 0
> D=: 0
> NUM2=:<:NUM1=: 6
> wd PAINT
> glfill 255 255 255 255
> glfont 'Courier 30'
> glfontextent 'Courier 30'
> gltextcolor glrgb 0 0 0
> gltext ": NUM1
> glfill 255 255 255 255
> glfont 'Courier 30'
> glfontextent 'Courier 30'
> glrgb 0 0 0
> gltextcolor ''
> gltext ": NUM2
> )
>
> NB. =========================================================
> getpos=: 3 : 0
> 2 {. 0 ". sysdata
> )
>
> NB. =========================================================
> paint_g1_mbldown=: 3 : 0
> D=:1
> HPOS=:{. getpos ''
> paint_g1_mmove ''
> )
>
> NB. =========================================================
> paint_g2_mbldown=:3 : 0
> D=:1
> HPOS=:{. getpos ''
> paint_g2_mmove ''
> )
>
> NB. =========================================================
> paint_g1_mblup=: 3 : 0
> D=:0
> paint_g1_mmove ''
> )
>
> NB. =========================================================
> paint_g2_mblup=:3 : 0
> D=:0
> paint_g2_mmove ''
> )
>
> NB. =========================================================
> paint_g1_mmove=: 3 : 0
> if. 2=((getpos '') -/@:+/@:> 5 15,:5 25) do.
>     glrgba FILL=:200 210 250 255
>     glbrush ''
>     glfill  FILL
>     glrect 0 0 20 30
> else.
>     glrgba FILL=:255 255 255 255
>     glbrush ''
>     glfill  FILL
>     glrect 0 0 20 30
> end.
> if. (D=1) do.
>     glrgba FILL=:100 110 150 255
>     glbrush ''
>     glfill  FILL
>     glrect 0 0 20 30
>  if. HPOS<_2+{.getpos '' do.
>      HPOS=: {.getpos ''
>      NUM1=:>:NUM1
>  end.
>  if. HPOS>2+{.getpos '' do.
>      HPOS=: {.getpos ''
>      NUM1=:<:NUM1
>  end.
> end.
> glfont 'Courier 30'
> glfontextent 'Courier 30'
> glrgb 0 0 0
> gltextcolor ''
> gltext ":NUM1
> glpaint ''
> )
>
> NB. =========================================================
> paint_g2_mmove=: 3 : 0
> if. 2=((getpos '') -/@:+/@:> 5 15,:5 25) do.
>     glrgba FILL=:200 210 250 255
>     glbrush ''
>     glfill  FILL
>     glrect 0 0 20 30
> else.
>     glrgba FILL=:255 255 255 255
>     glbrush ''
>     glfill  FILL
>     glrect 0 0 20 30
> end.
> if. (D=1) do.
>     glrgba FILL=:100 110 150 255
>     glbrush ''
>     glfill  FILL
>     glrect 0 0 20 30
>  if. HPOS<_2+{.getpos '' do.
>      HPOS=: {.getpos ''
>      NUM2=:>:NUM2
>  end.
>  if. HPOS>2+{.getpos '' do.
>      HPOS=: {.getpos ''
>      NUM2=:<:NUM2
>  end.
> end.
> glfont 'Courier 30'
> glfontextent 'Courier 30'
> glrgb 0 0 0
> gltextcolor ''
> gltext ":NUM2
> glpaint ''
> )
>
> NB. =========================================================
> paint_close=: 3 : 0
> wd 'pclose'
> try.
>   ISDEMOSEL=: ISDEMOSELOLD
>   isdemo_run''
> catch. end.
> )
>
> paint_cancel=: paint_exit_button=: paint_close
>
> NB. =========================================================
>
> paint_run''
>
> On Aug 18, 2015, at 3:09 AM, 'Bo Jacoby' via Beta <[email protected]>
> wrote:
>
> > Thanks Bill.
> > I do not know for sure if everything is updated.
> > -- Bo
> >
> >
> >
> >     Den 11:19 tirsdag den 18. august 2015 skrev bill lam <
> [email protected]>:
> >
> >
> >
> > I cannot reproduce the bug on win-xp. Did you get everything updated?
> >
> > On Tue, Aug 18, 2015 at 1:59 PM, 'Bo Jacoby' via Beta
> > <[email protected]> wrote:
> >> When plotting from Jqt the plot window doesn't show before I type
> Alt+Tab.
> >> In j602 is showed right away.
> >> For example:
> >>     odds =. (* ];.0)@(!/&i.&>:)  'dot ; pensize 4' plot 5 odds 50
> >> This is a minor annoyance but no big problem.
> >> -- Bo.
> >>
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to