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
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
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
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
The attached patch adds length validators to the graphics and box dialogs. The
graphics dialog was the only one who didn't use widgetsToLength (so it was
not possible to enter lengths directly, like in the other dialogs). I have
intergrated this (with a new helper function that can handle QCombo