[Qt] TQtLineEdit patch

Mattias Gaertner nc-gaertnma at netcologne.de
Sun May 27 18:57:50 CEST 2007


On Sun, 27 May 2007 18:03:51 +0200
zeljko <zeljko at holobit.net> wrote:

> On Sunday 27 May 2007 16:40, Mattias Gaertner wrote:
> > On Sun, 27 May 2007 11:07:26 +0200
> >
> > zeljko <zeljko at holobit.net> wrote:
> > > On Sunday 27 May 2007 09:53, Felipe Monteiro de Carvalho wrote:
> > > > Thanks, applied
> > >
> > > Also, does anyone knows about scrollbars in LCL (I've implemented
> > > Qt's scrollbars long time ago), but it seem that LCL is painting
> > > scrollbars, not using widgetset's scrollbar eg. TStringGrid,
> > > scrollbar is invisible ... So my question is what to do ?
> > > Is it possible to heck into LCL and use native scrollbars , or I
> > > need to implement more specific winapi routines to get scrollbars
> > > properly painted and visible ?
> > >   zeljko
> >
> > The LCL uses the native scrollbars.
> > Maybe something is painting over the native scrollbars (clientrect
> > is reported wrong by the interface), or the qt scrollbars are not
> > made visible?
> 
> hm.. TQtWSScrollBar.CreateHandle() isn't called when creating
> TStringGrid, separated TQtWSScrollBar can be created and visible.
> Any ?

The interface should create the scrollbars on SetScrollInfo calls.
The gtk intf for example uses a widget with scrollbars for all
TCustomControls. They are hidden as default and made visible on
SetScrollInfo.


Mattias



More information about the Qt mailing list