[PyQt] About Focus Rect on widgets

Gustavo A. Díaz gustavo.diaz at gmail.com
Tue Apr 8 14:55:43 BST 2008

Mmm.. good point.. but, that code does not disable only the border rect? or
it disable the focus state/function entirely? (which i think, for what i see
in the code is this last one..)
And I do care, indeed i do have a tab order in my app... just i wanted to
eliminate that border (is NOT a biiiig problem anyway, just a very minor
detail and wanted to know if it possible).

Thanks Giovanni.


2008/4/8, Giovanni Bajo <rasky at develer.com>:
> On 4/8/2008 2:22 PM, Gustavo A. Díaz wrote:
>  I wanted to know if this is possible with PyQt:
> >
> > http://trolltech.com/developer/knowledgebase/faq.2007-04-25.1877035273/?searchterm=focus%20rect
> > And if, someone could translate it? i dont know nothing about c++.. just
> > very little...
> > Anyway, i think PyQt4 doesn't wrap QPlastiqueStyleclass,  I am right?
> >
> If you do that, how can the user tell where the focus is, when they use
> the keyboard and press TAB among controls?
> If you don't care about keyboard users (but you should), can't you just
> tell the buttons not to ever get keyboard focus?
> --
> Giovanni Bajo
> Develer S.r.l.
> http://www.develer.com

Gustavo A. Díaz
GDNet Projects
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080408/c9949a79/attachment.html

More information about the PyQt mailing list