Re: [PATCH] various TOC-related fixes

2005-05-12 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> OK, here is the updated version. I'd be glad if people who Jean-Marc> know about QDocument and QDocumentDialog (I did not) could Jean-Marc> take a look and check that I have put things at the right Jean-Marc> place. I

Re: [PATCH] various TOC-related fixes

2005-05-12 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > OK, here is the updated version. I'd be glad if people who know about > QDocument and QDocumentDialog (I did not) could take a look and check > that I have put things at the right place. It does not look wrong. > I also changed > QDocumentDialog::classChanged to up

Re: [PATCH] various TOC-related fixes

2005-05-11 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> The is still a problem that I am not sure how to solve: Jean-Marc> when I set the min/max value of the depthSL slider, the Jean-Marc> value of the slider will be changed if it is outside of the Jean-Marc> new range. T

Re: [PATCH] various TOC-related fixes

2005-05-11 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: >>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Angus> Is this what you're looking for? >> Angus> http://doc.trolltech.com/3.3/qobject.html#blockSignals >> Angus> void QObject::blockSignal

Re: [PATCH] various TOC-related fixes

2005-05-10 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> >> writes: > > Angus> Is this what you're looking for? > > Angus> http://doc.trolltech.com/3.3/qobject.html#blockSignals > > Angus> void QObject::blockSignals ( bool block ); Blocks signals if > Angus> block is

Re: [PATCH] various TOC-related fixes

2005-05-10 Thread John Levon
On Tue, May 10, 2005 at 05:05:39PM +0200, Jean-Marc Lasgouttes wrote: > I am not sure whether I want to block _all_ signals. I am not even > sure of what signals are fired, actually. I guess I'll stick to a bool > guard. Just setUpdatesEnabled(false) ? john

Re: [PATCH] various TOC-related fixes

2005-05-10 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Is this what you're looking for? Angus> http://doc.trolltech.com/3.3/qobject.html#blockSignals Angus> void QObject::blockSignals ( bool block ); Blocks signals if Angus> block is TRUE, or unblocks signals if block is FALSE. I am

Re: [PATCH] various TOC-related fixes

2005-05-10 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > The is still a problem that I am not sure how to solve: when I set the > min/max value of the depthSL slider, the value of the slider will be > changed if it is outside of the new range. This in turn will invoke > updateNumbering through the valueChanged signal, and th