[Qt-interest] Qt-interest Digest, Vol 19, Issue 158

yogesh upreti yogesh.upreti at gmail.com
Wed Jun 23 08:41:37 CEST 2010


Hi Nikos,
This doesn't work. I used textChanged() Signal, and did some more action
including the scrollbar scrolling,
everything else work (so I know signal is emitted) but not this
triggerAction logic.

Do anyone know any other way to scroll down to end of QTextEdit?

 Date: Tue, 22 Jun 2010 08:38:59 +0200
> From: yogesh upreti <yogesh.upreti at gmail.com>
> Subject: Re: [Qt-interest] How to scroll QTextEdit to the end
> To: qt-interest at trolltech.com
> Message-ID:
>        <AANLkTikd3KV8QCDT6E0TXtRCGNfgJlh6eDctphgLN39F at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Ohh.. Thanks
> It was my mistake, the whole time I was checking actionTriggered() (I don't
> know WTH), which was a signal  :D
>
> Thanks again
> Yogesh Upreti
>
>  Date: Tue, 22 Jun 2010 01:23:48 +0300
> > From: Nikos Chantziaras <realnc at arcor.de>
> > Subject: Re: [Qt-interest] How to scroll QTextEdit to the end
> > To: qt-interest at trolltech.com
> > Message-ID: <hvoopa$svb$1 at eple.troll.no>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > It's not a signal.  It's a member function.  You call it with the
> > QAbstractSlider::SliderAction (enum) you want:
> >
> >   hbar->triggerAction(QAbstractSlider::SliderToMaximum);
> >
> > http://doc.trolltech.com/4.6/qabstractslider.html#triggerAction
> > http://doc.trolltech.com/4.6/qabstractslider.html#SliderAction-enum
> >
> >
> > On 06/22/2010 01:05 AM, yogesh upreti wrote:
> > > Hi Nikos,
> > > How do I use triggerAction signal from QAbstractSlider with a TextEdit?
> > >
> > > Regds
> > > Yogesh
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100623/7dddadb1/attachment.html 


More information about the Qt-interest-old mailing list