[Kde-accessibility] Re: [Kwin] Option for large window borders

Lubos Lunak l.lunak at suse.cz
Fri Sep 19 19:10:29 CEST 2003


On Thursday 18 of September 2003 12:05, Gunnar Schmi Dt wrote:
[snip]
>
> >  Moreover, if you change the style, you'll often have to adjust this
> > setting anyway, and if you don't, styles may get sizes they don't
> > support.
> >
> >  I think we can just have some kind of StyleSupportsBorderSizesAtAll, and
> > maybe StyleHasGoodSupportForBorders (4-7). Styles that don't support full
> > range of sizes should simply group them as they see fit(e.g.
> > Tiny+Normal->Normal, Large->Large, others->VeryLarge). The KCM module
> > would say that the style doesn't support all the sizes.
>
> I do not fully understand what you mean in that paragraph. If I understand
> it correctly you want to add two virtual methods. The first one
> (StyleSupportsBorderSizesAtAll) returns true if the style supports the
> border size setting, the other one (StyleHasGoodSupportForBorders) returns
> true if the style supports huge borders? In that case the name for the
> second method is somewhat misleading.

 I'm a member of the CantComeUpWithAGoodName club. I didn't intend to use 
exactly these names.

>
> Maybe we could instead add a virtual method supportedBorderSizes(), that
> returns a set of all supported border styles? In that case the GUI should
> not contain a slider for the border sizes but a combo box instead.

 This looks like a good idea. And it will also allow checking the decoration 
gets only sizes it supports. Hmm. I'll try to implement this.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/



More information about the kde-accessibility mailing list