Thank you Joe, there are a couple projects I want to try out soon that
could benefit from this, and your write-up is very helpful.

On Tue, Oct 27, 2015 at 10:50 AM, Joe Bogner <[email protected]> wrote:

> Thanks bill. Good tip on verbose and colwidth. The qt layout engine
> does a reasonable job. I'm pretty happy with it now that I understand
> it. I don't have a great deal of need to create forms in J but it's
> good to know nevertheless
>
> On Tue, Oct 27, 2015 at 10:40 AM, bill lam <[email protected]> wrote:
> > Very nice!
> >
> > I usually use bin g, in your example, you can set stretch of column 0
> and 2
> > to 0 , and set 1 to column 1,  instead of explicit column width.  But the
> > output might not be what you want.
> >
> > For debugging bin layout, you can set verbose to 2, this will print
> nested
> > bin commands with indentations.
> > On Oct 27, 2015 9:56 PM, "Joe Bogner" <[email protected]> wrote:
> >
> >> I also found it somewhat difficult to understand at first. I put a few
> >> hours into reading the documentation and playing and wrote a brief
> >> essay on it: http://code.jsoftware.com/wiki/User:Joe_Bogner/QtLayout .
> >> Does this help answer some of your questions?
> >>
> >>
> >>
> >> On Tue, Oct 27, 2015 at 5:10 AM, Björn Helgason <[email protected]>
> wrote:
> >> > When I put several objects on a form I have difficulty placing them
> >> whetre
> >> > I want.
> >> > When I have it close to what I want and want to put in more fields
> >> > everything can easily float into something that becomes a complete
> mess.
> >> > I am sure it possibly stays fixed once like it should be.
> >> > Getting the look I want has not been easy.
> >> > Sizes of fields difficult to change.
> >> > Simple things are possibly simple but combining stuff like plots,
> several
> >> > static output and inputs as well as buttons are not at all easy.
> >> > On 26 Oct 2015 23:01, "bill lam" <[email protected]> wrote:
> >> >
> >> >> On the contrary,  qt  keeps fields in their right places regardless
> of
> >> >> screen size and screen orientation.
> >> >>
> >> >> I think that vb6 style form editor using absolute pixel positions had
> >> been
> >> >> deprecated in most  modern gui system, not limiting to qt.
> >> >>
> >> >> Hypothetically, one can still control the exact position of placement
> >> >> within a window, eg using css in webpages, but it is incompatible
> with
> >> >> automatic layout of most gui systems. IMO it is better to use old gui
> >> >> system such j6 or vb6 rather than emulating using newer gui systems
> if
> >> >> absolute pixel xy position is what you wanted.
> >> >> On Oct 27, 2015 5:02 AM, "Björn Helgason" <[email protected]> wrote:
> >> >>
> >> >> > looks ok.
> >> >> >
> >> >> > better still have the different fields not just left positioned.
> >> >> > the real problem in qt that they float around.
> >> >> >
> >> >> > I created something like this often in j6.
> >> >> > There are two example in wiki (or used to be) for this in j6.
> >> >> >
> >> >> > Should be (probably is) possible in jhs.
> >> >> > I have not done the plot parts there.
> >> >> >
> >> >> > In qt it is difficult to get the fields to stay in the right place.
> >> >> > On 26 Oct 2015 20:38, "Joe Bogner" <[email protected]> wrote:
> >> >> >
> >> >> > > Björn,
> >> >> > >
> >> >> > > Your requested interface is unclear to me
> >> >> > >
> >> >> > > You wrote:
> >> >> > >
> >> >> > > Two buttons each executing one of two lines of input.
> >> >> > > Output in one of two multi line fields.
> >> >> > > Other two buttons taking input and displaying plot in one of two
> >> >> fields.
> >> >> > >
> >> >> > > I'm interpreting this as:
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > Cmd 1: _____________ [Button 1]
> >> >> > > Cmd 2 : _____________ [Button 2]
> >> >> > >
> >> >> > > Output 1:
> >> >> > > __________
> >> >> > > __________
> >> >> > >
> >> >> > > Output 2:
> >> >> > > __________
> >> >> > > __________
> >> >> > >
> >> >> > >
> >> >> > > Plot Cmd 1: ___________ [Plot Button 1]
> >> >> > > Plot Cmd 2: ___________ [Plot Button 2]
> >> >> > >
> >> >> > > +-------------------------------+
> >> >> > > |                                |
> >> >> > > |           PLOT 1          |
> >> >> > > |                                |
> >> >> > > +-------------------------------+
> >> >> > >
> >> >> > > +-------------------------------+
> >> >> > > |                                |
> >> >> > > |           PLOT 2          |
> >> >> > > |                                |
> >> >> > > +-------------------------------+
> >> >> > >
> >> >> > >
> >> >> > > Is this what you had in mind? If not, can you specify more
> clearly
> >> or
> >> >> > > ideally even create it in j6 since you say it is easy.
> >> >> > >
> >> >> > > I would be willing to try and create examples for jhs and jqt
> >> >> > >
> >> >> > > On Mon, Oct 26, 2015 at 3:50 PM, Björn Helgason <
> [email protected]>
> >> >> > wrote:
> >> >> > > > The gui part of an applications is very important.
> >> >> > > > I liked the form editor in J6 and miss it.
> >> >> > > > I looked forward to the new features that came with new guis
> and
> >> >> > > > possibilities.
> >> >> > > > The JHS is magnificient but the gui is not that easy to use.
> >> >> > > > The demos are interesting but not great.
> >> >> > > > The plot demo is totally useless and worse than none.
> >> >> > > > The others are too simple and too complex at the same time.
> >> >> > > > I am sure it is possible to do a demo like the one I want.
> >> >> > > > Nobody is doing one.
> >> >> > > > A lab describing it too is needed.
> >> >> > > > Nobody is doing one.
> >> >> > > > Because of this lack of demos and labs not many people do use
> it.
> >> >> > > > I have been meaning to for some time but never given it enough
> >> time.
> >> >> > > > For most people it is too difficult but for people like Eric it
> >> would
> >> >> > be
> >> >> > > > easy but he does not do one either as far as I know.
> >> >> > > > Combining the demos more or less into one.
> >> >> > > > I managed it partly and am sure it is possible.
> >> >> > > > Having problems with two plots together with the rest is what I
> >> need
> >> >> > time
> >> >> > > > for.
> >> >> > > > A workig plot demo preferably two plot demo with help texts.
> >> >> > > > Combinig them all in one with two working plots is what I want.
> >> >> > > > Explaing how it works is what I really want and I am sure I am
> not
> >> >> > alone.
> >> >> > > > A lab explaining it is what is missing.
> >> >> > > > I guess something like the form editor from J6 is too much to
> wish
> >> >> for.
> >> >> > > >
> >> >> > > > I am pretty sure noone could do one in qt nor android.
> >> >> > > >
> >> >> > > > I actually did try that but became convinced it is not
> possible.
> >> >> > > > Came close to do it partially but no cigar.
> >> >> > > > The demos are not easy to read and do not come close in beeing
> >> >> helpful.
> >> >> > > > Actually more confusing than helpful.
> >> >> > > > I am very disappointed in qt and do not see it becoming
> anything
> >> >> > useful.
> >> >> > > > I am sure it is good for someone and something.
> >> >> > > > I am just not happy with it.
> >> >> > > > On 24 Oct 2015 18:23, "Björn Helgason" <[email protected]>
> wrote:
> >> >> > > >
> >> >> > > >> It would be good to have a simple demo easy to create and use.
> >> >> > > >>
> >> >> > > >> One for android and another for jhs.
> >> >> > > >>
> >> >> > > >> The application should look the same in both.
> >> >> > > >>
> >> >> > > >> Two buttons each executing one of two lines of input.
> >> >> > > >>
> >> >> > > >> Output in one of two multi line fields.
> >> >> > > >>
> >> >> > > >> Other two buttons taking input and displaying plot in one of
> two
> >> >> > fields.
> >> >> > > >>
> >> >> > > >> Very simple instructions on how to create these demos.
> >> >> > > >>
> >> >> > > >> No fancy hidden cute execution.
> >> >> > > >>
> >> >> > > >> Step by step description what each line is doing and why.
> >> >> > > >>
> >> >> > > >> The placement of each field, plots and buttons should be easy
> to
> >> >> place
> >> >> > > >> anywhere on the screen.
> >> >> > > >>
> >> >> > > >> This may not sound difficult for experienced user but for new
> >> user
> >> >> > this
> >> >> > > is
> >> >> > > >> really difficult or impossible but should not be.
> >> >> > > >>
> >> >> > > >> Some existings demos do parts of this but are mostly too
> >> difficult
> >> >> to
> >> >> > > >> understand.
> >> >> > > >>
> >> >> > > >> In J6 this used to be easy to do in J8 it is not.
> >> >> > > >>
> >> >> > > >
> >> >>
> ----------------------------------------------------------------------
> >> >> > > > 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
> >> ----------------------------------------------------------------------
> >> 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