Re: "Float Settings" dialog. comments and a bug

2003-04-04 Thread Christian Ridderström
On Thu, 3 Apr 2003, John Levon wrote: > On Thu, Apr 03, 2003 at 02:04:51PM +0200, Christian Ridderstr?m wrote: > > > This might be the correct behaviour, but it's a bit unintuitive - maybe > > It is correct, and it is a bit unintuitive. > > > it would be better if you got an error message or a

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread John Levon
On Thu, Apr 03, 2003 at 07:54:15PM +0300, Dekel Tsur wrote: > > > 3. Now repopen the "Float settings" and note that the "Bottom of page" > > >settings is not selected anymore! > > > > Some latex guy tell me what should be happening here ? I assume 'b' is > > ok for a wide float ? > > In sta

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread John Levon
On Thu, Apr 03, 2003 at 06:41:51PM +, Angus Leeming wrote: > So you loop over all widgets after a signal is received? Then indeed it is Erm, no, why would I do that ? I check what needs to be checked, directly inside TheDialog::isValid() regards john

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread Angus Leeming
John Levon wrote: > On Thu, Apr 03, 2003 at 06:21:27PM +, Angus Leeming wrote: > >> Well then, derive a class from checked_widget that does _not_ change the >> colour but does ensure that the Ok,Apply buttons retain a "memory" of >> this invalid entry. > > Well, the qt2/ way is just to add a

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread John Levon
On Thu, Apr 03, 2003 at 06:21:27PM +, Angus Leeming wrote: > Well then, derive a class from checked_widget that does _not_ change the > colour but does ensure that the Ok,Apply buttons retain a "memory" of this > invalid entry. Well, the qt2/ way is just to add an isValid() to FloatPlacemen

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread Angus Leeming
John Levon wrote: > On Thu, Apr 03, 2003 at 06:13:05PM +, Angus Leeming wrote: > >> Make use of my checked_widget class. For example, try and enter an >> invalid LyXGlueLength in the paragraph dialog, xforms frontend. You'll >> get visual feedback that the thing is invalid and the Ok,Apply bu

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread John Levon
On Thu, Apr 03, 2003 at 06:13:05PM +, Angus Leeming wrote: > Make use of my checked_widget class. For example, try and enter an invalid > LyXGlueLength in the paragraph dialog, xforms frontend. You'll get visual > feedback that the thing is invalid and the Ok,Apply buttons will be > disable

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread Angus Leeming
John Levon wrote: > Instead, we could disable ok/apply if a non-valid set of optioons is > chosen ... I'm dubious about that. Make use of my checked_widget class. For example, try and enter an invalid LyXGlueLength in the paragraph dialog, xforms frontend. You'll get visual feedback that the th

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread John Levon
On Thu, Apr 03, 2003 at 07:54:15PM +0300, Dekel Tsur wrote: > > > 3. Now repopen the "Float settings" and note that the "Bottom of page" > > >settings is not selected anymore! > > > > Some latex guy tell me what should be happening here ? I assume 'b' is > > ok for a wide float ? > > In sta

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread Dekel Tsur
On Thu, Apr 03, 2003 at 05:45:38PM +0100, John Levon wrote: > > > > 3. Now repopen the "Float settings" and note that the "Bottom of page" > >settings is not selected anymore! > > Some latex guy tell me what should be happening here ? I assume 'b' is > ok for a wide float ? In standard late

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread John Levon
On Thu, Apr 03, 2003 at 02:04:51PM +0200, Christian Ridderstr?m wrote: > This might be the correct behaviour, but it's a bit unintuitive - maybe It is correct, and it is a bit unintuitive. > it would be better if you got an error message or a warning, instead of > LyX just automatically re-sel

Re: "Float Settings" dialog. comments and a bug

2003-04-03 Thread Jean-Marc Lasgouttes
> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes: Christian> I'm also curious... does the order of the "Advanced Christian> placement options" matter. And if they do, how is that Christian> controlled from this dialog? The order does not matter. JMarc

"Float Settings" dialog. comments and a bug

2003-04-03 Thread Christian Ridderström
Hi This is for Lyx 1.3.1 Qt and the "Float settings". If you de-select "Use default placement", click "Ok" and then reopen the dialog, the "Use default placement" has been selected again. This might be the correct behaviour, but it's a bit unintuitive - maybe it would be better if you got an e