delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/01/24/14:16:40

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <1390590724.2088.27.camel@AMD64X2.fritz.box>
Subject: Re: [geda-user] editing silkscreen text?
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
Date: Fri, 24 Jan 2014 20:12:04 +0100
In-Reply-To: <lbtppj$1ca$2@ger.gmane.org>
References: <52E2382E DOT 9010101 AT envinsci DOT co DOT uk>
<20140124100741 DOT GA4592 AT visitor2 DOT iram DOT es> <52E23CA4 DOT 7040304 AT envinsci DOT co DOT uk>
<lbtppj$1ca$2 AT ger DOT gmane DOT org>
X-Mailer: Evolution 3.8.5
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019