On Sun, Apr 01, 2007 at 05:07:07PM +0200, Uwe Stöhr wrote:
> >> While you are at it, could you also change the control names:
> >> Height -> heightLE
> >> widht -> widthLE
> >> aspectratio -> aspectratioCB
> >
> > Maybe we should device a general naming scheme.
> >
> > As Designer automatically created names look like 'pushButton',
> > 'pushButton_2' etc. it is usually the least hassle to keep that
> > as prefix.
> >
> > So this would be
> >
> >        virtual void on_pushButtonGet_clicked();
> 
> But this would affect all our ui-files. I think for LyX 1.5 this is too 
> much work and we should postpone it to LyX 1.6.

Fair enough.

> Attached is the patch where I renamed Height -> heightED etc. in 
> consistency to
> http://www.lyx.org/trac/browser/lyx-devel/trunk/src/frontends/qt4/README
> 
> There are muc more UI-fields to rename but I don't want to do this in thins 
> patch to keep the overview.
> 
> Btw. I just saw that Richard updated our element naming scheme to clearify 
> this:
> http://www.lyx.org/trac/changeset/17644

I wasn't aware of an existing naming scheme.

Well, even if the scheme mentioned there does not really match my
personal preferences it is better than no scheme at all.

Andre'

Reply via email to