Thx !

This is brilliant!!!!

By taking your example and mixing it with my layout and moving it about it
worked fine

I see this has a great potential.

I guess I can begin to move my J6 applications over.

It would be nice to have something simple like this to create JHS forms.

2013/3/16 Ric Sherlock <[email protected]>

> Björn,
> For me one of the biggest improvements of the new wd layout mechanism
> is that it removes the pixel positioning and moves to a more modern
> layout paradigm that requires the user to do less work while still
> giving good control over the layout.
>
> The basic approach is that you define "boxes" that distribute objects
> within them either vertically ( bin v ) or horizontally ( bin h ). So
> to put together vertical list of edit boxes you simply start a
> vertical box, plonk the edit boxes in in the order you wish them to
> appear and then close the box ( bin z ). If you decide later that you
> want them to be arranged horizontally instead, you can just replace
> the "v" with an "h" - Done!
>
> Because the layout boxes can be nested you can specify quite complex
> layouts reasonably easily. To horizontally arrange 2 vertically
> arranged lists of controls would be:
> bin h;
> bin v;
> cc obj1;
> cc obj2;
> bin z;
> bin v;
> cc obj3;
> cc ojb4;
> bin z;
> bin z;
>
> The syntax can be abbreviated as follows:
> bin hv;
> cc obj1;
> cc obj2;
> bin zv;
> cc obj3;
> cc obj4;
> bin zz;
>
> If you don't want your objects to be automatically redistributed
> across the available space as you resize your form, you can use the
> dummy object ( bin s ) to provide blank "filler" space.
>
> I had a go at redefining a couple of my GUI apps and the cool thing I
> found was that you could display the the GUI by loading the script,
> leaving the GUI open I could make some changes to the source and
> display a new GUI side by side to see how they both look and work.
>
>
> On Sun, Mar 17, 2013 at 8:22 AM, Björn Helgason <[email protected]> wrote:
> > I already knew this page
> > I mostly miss the xywh
> > What to convert them into
> > The Form Editor in J6 was good to create the forms as a start but the
> > editing of the xywh manually afterwards was like magic
> > I do not miss the Form Editor as much as the ability to use xywh
> > It looks like what we got already in JQT is well on its way of being
> usable
> >
> > 2013/3/16 Tom Arneson <[email protected]>
> >
> >> Bjorn,
> >>
> >> Bill Lam sent me this link:
> >>
> http://www.jsoftware.com/jwiki/Guides/Window%20Driver/Command%20Reference
> >>
> >> It helps some, but I still don't completely understand  the bin
> parameters
> >>
> >> -----Original Message-----
> >> From: [email protected] [mailto:
> >> [email protected]] On Behalf Of Björn Helgason
> >> Sent: Saturday, March 16, 2013 12:03
> >> To: Beta forum
> >> Subject: Re: [Jbeta] wd interface for Qt
> >>
> >> I dusted off J6 and tested in JQT
> >>
> >> One thing I not is some of the utils I had been using are either not
> there
> >> or in some other place.
> >>
> >> Ok I finally got one simple app opening up.
> >>
> >> The form opened up but the fields are in the wrong places.
> >>
> >> After guessing what to type in by having the J6 form open next to it the
> >> app did some calculations and wanted to send them to the form The popup
> >> complained about the set command and made no real sense After some more
> >> guesswork and testing I found out I needed to put the word text in
> there.
> >>
> >> wd'set result *',>INDEX{BMITEXT
> >> change to
> >> wd'set result text *',>INDEX{BMITEXT
> >>
> >> How do I get the fields to be placed correctly on the form?
> >>
> >> xywh 43 19 29 11;cc res static;cn "You are ";
> >>
> >> xywh 73 19 60 11;cc result static;cn "result";
> >>
> >>
> >>
> >> 2013/3/16 Björn Helgason <[email protected]>
> >>
> >> > actually not done much in qt at all
> >> >
> >> > may start soon
> >> > On Mar 16, 2013 8:34 AM, "Ric Sherlock" <[email protected]> wrote:
> >> >
> >> >> Have you looked at the scripts in ~addons/ide/qt/demo?
> >> >> On Mar 16, 2013 8:35 PM, "Björn Helgason" <[email protected]> wrote:
> >> >>
> >> >> > A few complete small example scripts would be good to get a start.
> >> >> >
> >> >> > 2013/3/16 bill lam <[email protected]>
> >> >> >
> >> >> > > A draft of J8 wd documentation at
> >> >> > >
> >> >> > >
> >> >> >
> >> >>
> http://www.jsoftware.com/jwiki/Guides/Window%20Driver/Command%20Refer
> >> >> ence
> >> >> > >
> >> >> > > --
> >> >> > > regards,
> >> >> > > ====================================================
> >> >> > > GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver
> subkeys.pgp.net
> >> >> > > --recv-keys 4434BAB3
> >> >> > > -----------------------------------------------------------------
> >> >> > > ----- For information about J forums see
> >> >> http://www.jsoftware.com/forums.htm
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Björn Helgason, Verkfræðingur
> >> >> > Fornustekkum II
> >> >> > 781 Hornafirði,
> >> >> > t-póst: [email protected]
> >> >> > gsm: +3546985532
> >> >> > twitter: @flugfiskur
> >> >> > http://groups.google.com/group/J-Programming
> >> >> >
> >> >> >
> >> >> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari
> >> >> einfaldleikans
> >> >> >
> >> >> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >> >> >           /|_      .-----------------------------------.
> >> >> >          ,'  .\  /  | Með léttri lund verður        |
> >> >> >      ,--'    _,'   | Dagurinn í dag                     |
> >> >> >     /       /       | Enn betri en gærdagurinn  |
> >> >> >    (   -.  |        `-----------------------------------'
> >> >> >    |     ) |         (\_ _/)
> >> >> >   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
> >> >> >    `. )----'        (")_(") ☃☠
> >> >> > -------------------------------------------------------------------
> >> >> > --- For information about J forums see
> >> >> > http://www.jsoftware.com/forums.htm
> >> >> ---------------------------------------------------------------------
> >> >> - For information about J forums see
> >> >> http://www.jsoftware.com/forums.htm
> >> >
> >> >
> >>
> >>
> >> --
> >> Björn Helgason, Verkfræðingur
> >> Fornustekkum II
> >> 781 Hornafirði,
> >> t-póst: [email protected]
> >> gsm: +3546985532
> >> twitter: @flugfiskur
> >> http://groups.google.com/group/J-Programming
> >>
> >>
> >> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari
> einfaldleikans
> >>
> >> góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >>           /|_      .-----------------------------------.
> >>          ,'  .\  /  | Með léttri lund verður        |
> >>      ,--'    _,'   | Dagurinn í dag                     |
> >>     /       /       | Enn betri en gærdagurinn  |
> >>    (   -.  |        `-----------------------------------'
> >>    |     ) |         (\_ _/)
> >>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
> >>    `. )----'        (")_(") ☃☠
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >
> >
> >
> > --
> > Björn Helgason, Verkfræðingur
> > Fornustekkum II
> > 781 Hornafirði,
> > t-póst: [email protected]
> > gsm: +3546985532
> > twitter: @flugfiskur
> > http://groups.google.com/group/J-Programming
> >
> >
> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> >
> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >           /|_      .-----------------------------------.
> >          ,'  .\  /  | Með léttri lund verður        |
> >      ,--'    _,'   | Dagurinn í dag                     |
> >     /       /       | Enn betri en gærdagurinn  |
> >    (   -.  |        `-----------------------------------'
> >    |     ) |         (\_ _/)
> >   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
> >    `. )----'        (")_(") ☃☠
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to