gEDA-dev: gschem component selector modification

Carlos Nieves Ónega cnieves.mail at gmail.com
Sun Apr 8 09:29:10 EDT 2007


El sáb, 07-04-2007 a las 22:00 -0400, Ales Hvezda escribió:
[snip]
> I don't understand why you are saying that the apply button has no effect.
[snip]

Because I never wanted to place the same component again... :)

> > When the user placed a component, the focus was changed to the gschem
> > window. He could hit the ESC key to finish placing, but the component
> > selector was still in the front. I also changed this so when the user
> > hits the ESC key, the component selector is closed.
> 
> What if the user wants to just stop placing components (by hitting the ESC
> key), but wants to keep the component selection window open (so that the
> place in the selection tree isn't lost)?  

Funny. That was I thought at first, but I simplified it later. ok, let's
go back to my previous version. Consider the attached patch:

A new "hide" button is added to the component selector. If the button is
clicked, the component selector is hidden. 
If there is a component selected, but no object in the
complex_place_list, it automatically does the same as if the user clicks
on the "apply" button and then on the "hide" button (it assumes the user
wants to place the current component).
If no component is selected, the component selector is hidden anyway
(not sure about this: maybe do nothing in this case?).

Now, the user can place as many components as he wants. When finished,
he just hit the ESC key, and the component selector is presented again
(the place in the selection tree is not lost) and the focus is changed
to it.

The user can choose if continue placing another component or canceling
(by pressing the ESC key or clicking on the "Close" button).

When hitting the ESC key in the component selector, the
complex_place_list is deleted and the default state (SELECT) is
selected. This is not the current behaviour, which just leave the
complex_place_list as it was, allowing the user to place more
comoponents, and therefore the user needs to hit ESC again to go back to
the default state.

Regards,

Carlos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_hide_button_to_compselector.diff
Type: text/x-patch
Size: 5065 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20070408/9560e01b/add_hide_button_to_compselector.bin


More information about the geda-dev mailing list