Re: [patch] validate QGraphics and QBox

2004-11-27 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > The attached patch adds length validators to the graphics and box dialogs I have heard no objections, so I committed this. Jürgen

Re: [patch] validate QGraphics and QBox

2004-11-25 Thread Angus Leeming
Juergen Spitzmueller wrote: > Erm, actually, this is just what I am doing right now (look at the > patch; I have also added a glue length validator to > lengthvalidator). Cool. (I was simply replying to your question.) -- Angus

Re: [patch] validate QGraphics and QBox

2004-11-25 Thread Juergen Spitzmueller
Angus Leeming wrote: > Incidentally, Juergen, have you seen what the XForms frontend does? > If a user inputs an invalid length, then it is highlighted in red and > the Ok,Accept buttons are disabled. See xforms/checkedwidgets.[Ch]. I > did something similar for the Qt External dialog. See the buil

Re: [patch] validate QGraphics and QBox

2004-11-25 Thread Angus Leeming
Juergen Spitzmueller wrote: > P.S.: Angus, why did you initialize the validator in > QExternal->widthED to double? Shouldn't a user be able to enter > "3.5cm" into the line edit widget even *if* "Scale" is still > selected in the combo? Sheesh! I dunno. I guess. Incidentally, Juergen, have you se