Helge Hafting wrote: > Andre Poenitz wrote: >> >> On Wed, Feb 05, 2003 at 01:29:26PM +0100, Helge Hafting wrote: >> > I tried to print from page 5 to page 10. When I type "10" into the >> > to-field, the "5" gets reset to "1" in the from-field. >> >> Do I smell a 'clever' feature? > > Clever and wrong :-( > > It is _impossible_ to enter a invalid interval > such as pages from 23 to 13. Seems clever until: > 1) It says from 10 to 20, and I want to change that to > from 40 to 50. But I can't type "40" instead of "10" > in "from:" because the "20" in "to:" is holding me back. > The interval can't be invalid temporarily! > > 2) Worse, what I hit: > Type "5" into "from:" ("to:" is still empty) > Now type "10" into "to:" Note that between the "1" and the "0" > making up "10", the "to:" field has a "1" only. > And because "from:5 to:1" is illegal, the "from:" field is > reset to "1" to make it valid although I haven't finished > typing in the "to" field.
Suggest to your nice friendly Qt developpers that they do as the xforms frontend does in this regard. If they want to be clever, they could create a CheckedWidget class that interogates the contents and automatically displays them as red if they are invalid. Certainly, it shouldn't prohibit you from inputting them ;-) Angus