Mail Archives: geda-user/2014/01/24/14:16:40
On Fri, 2014-01-24 at 14:28 +0100, Kai-Martin Knaak wrote:
> Matt Rhys-Roberts wrote:
>
> >> Type "N" with the mouse pointer hovering on it.
> >
> > Thanks, I would never have guessed!
>
> Yes, this is one of the UI warts where pcb deviates from common practice.
> I wouldn't advocate a removal of the n-on-mouse-over functionality. But it
> would be nice to also allow an edit of selected text.
>
Do we like such kind of popup editing dialogs at all?
My current idea was:
-Have a text entry field in the upper main window border
-when user makes LMB double click over a label, that entry field becomes
active, so text input goes into that field, while each character is
mirrored directly in the label text. So all editing work is done by that
entry field, but the user have not to watch that field, he can simple
type characters, which appear directly in the label. Return key
deactivate the text entry widget and activates the drawing area again.
(I am not really happy with LMB double click, maybe we should allow a
key press 't' or 'e' for starting editing, or maybe MMB press.)
Should be easy. One problem are the attributes ,for "footprint=DIP8"
with only "DIP8" visible as a label. Should we have name and attribute
for editing? I have to do some thinking...
Additional I intend to have an attributes area at a fixed location --
that area displays all information about a text label when user clicks
with LMB on that label text, i.e show font type and size, color...
And user can use that area for editing also.
Some days ago I played with pango markup
https://developer.gnome.org/pango/stable/PangoMarkupFormat.html
it is easy, simple insert <i> ... </i> to make a text segment italic.
Unfortunately overline is not supported by pango text markup, so we have
to draw a line.
And I have introduced arbitrary rotated text (15 degree steps currently)
rotating when mouse wheel is turned. Not too useful for schematics, but
fun. (When mouse pointer is over an empty area, wheel is used for
zooming in/out).
The final question is: How can that all work when user has no mouse,
i.e. on Tablets. I really have no idea.
Best regards,
Stefan Salewski
- Raw text -