gEDA-dev: New autonumber text dialog

Werner Hoch werner.ho at gmx.de
Sun Nov 26 09:56:29 EST 2006


Hi Tomaz,

On Monday 13 November 2006 21:52, Tomaz Solc wrote:
> > Tomaz, can you send me the glade file, or add it to the tracker?
> > I'd like to play with the sort order and take a look which are the
> > best default values for the dialog.
>
> I've uploaded the glade file to the tracker.

I've put the file into cvs and changed it, so that the sort order is a 
dropdown. Unfortunatly glade only provides a dropdown with text, not a 
generalized dropdown widget. (glade-2 version 2.12.1)

I've created a model with the icons and the sortorder labels and put it 
into the dropdown.

The dialog looks like this at the moment:
http://www.h-renrew.de/download/autonumber.png

> I've made some modifications to the code after it was generated by
> Glade. Today I tried to put them back into the glade file so I think
> it should now be in sync with the C code in x_autonumber.c I uploaded
> last time but it's possible I missed something.

Only a single variable name was missing.

> > I'd prefer:
> >   Searchtext:  "refdes=*"

Leaving it blank is possible too. 

> >   Autonumber text in: selection
> >   Skip numbers found in: Current page
> > If the sort order would be a dropdown box I'd like to see:
> >   diagonal  (default)
> >   top down
> >   bottom up
> >   left to right
> >   right to left
> >   fileorder
> > Options
> >   Starting number: 1
> >   Remove numbers: unchecked
> >   Automatic slotting: unchecked
>
> I would vote for "selection" and "selection" in the scope settings.

I have no strong opinion here, selection and selection is ok to me.

> I mostly use autonumber dialog for numbering nets in a bus. I usually
> use "refdes=*" numbering only once per schematics while the net
> numbering is much more common. On the other hand the dialog now
> remembers its state so I guess the default is pretty irrelevant in my
> case.

You're right it's just a single mouse click for the user to change it.

> > I'm wondering if "Remove numbers" should remove the slot number if
> > automatic slotting is activated?
>
> I haven't used automatic slotting yet, but I guess it would make
> sense this way.

Not changed yet, but I will.

Regards
Werner


More information about the geda-dev mailing list