RFC: KToolBox
Frans Englich
englich at kde.org
Mon Sep 4 20:01:46 BST 2006
On Monday 04 September 2006 18:24, Simon Hausmann wrote:
> On Monday 4. September 2006 18:06, Matt Broadstone wrote:
> > On 9/4/06, Olaf Jan Schmidt <ojschmidt at kde.org> wrote:
> > > [ Frans Englich ]
> > >
> > > > Isn't it a usability and accessibility concern that font and styles
> > > > are hard coded in a class?
> > >
> > > Yes, hard coding colours, fonts, sizes or styles leads to accessibility
> > > and usability problems. The upcoming HIG will contain clear guidelines
> > > for this.
> > >
> > > All existing instances of such hard coding need to be removed for KDE4.
> > > The idea is to extend the colour schemes and to provide new convenience
> > > widgets for application appearance configuration to help enforce this.
> > >
> > > If you need an additional colour role, then please tell me what exactly
> > > you need and I will add it to my list.
> > >
> > > Olaf
> > >
> > > --
> > > Olaf Jan Schmidt, KDE Accessibility co-maintainer, open standards
> > > accessibility networker, Protestant theology student and webmaster of
> > > http://accessibility.kde.org/ and http://www.amen-online.de/
> >
> > Yeah the hardcoded stuff will not be there in a later version, the
> > idea though is that its built of more widgets that allow styling of
> > the toolbox that was not previously possible. Instead of being made up
> > of just a single tab its created with a header, base, and footer all
> > which theoretically can be styled. The idea initially was to have
> > something like CE_ToolBoxTab CE_ToolBoxTabLabel PE_ToolBoxBase
> > PE_ToolBoxFooter - or whatever, so you can actually have control over
> > the look of the toolbox. Remember, the reason I made this in the first
> > place was because I simply couldn't do this with the current way
> > things work (though I theoretically could have done it if I made a
> > QStyle JUST for the toolbox - but this is not ideal imho, styles
> > should be made to be applied to the whole application).
>
> That is btw exactly the reason why Qt 4.2's QWidget has a styleSheet
> property that transparently enables the style sheet style to permit the use
> of CSS (with images, etc.) to change the look of an entire widget.
Which sounds to me like an excellent reason to put KToolBox on ice until Qt
4.2 is released, such that we avoid any usability and accessibility hazards.
Cheers,
Frans
More information about the kde-core-devel
mailing list