]> git.lyx.org Git - lyx.git/commitdiff
* src/frontends/qt4/QGraphicsDialog.C:
authorJürgen Spitzmüller <spitz@lyx.org>
Sat, 13 Jan 2007 10:33:04 +0000 (10:33 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sat, 13 Jan 2007 10:33:04 +0000 (10:33 +0000)
- allow double values in the bounding box widgets (bug 3055, 3056).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16664 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/QGraphicsDialog.C

index 43b4bc59414f73dbec45f721c499e32eb041902e..c9cf61ab5d5fedbcbba2897d3eb62edbafd59631 100644 (file)
@@ -110,10 +110,10 @@ QGraphicsDialog::QGraphicsDialog(QGraphics * form)
 
        angle->setValidator(new QDoubleValidator(-360, 360, 2, angle));
 
-       lbX->setValidator(new QIntValidator(lbX));
-       lbY->setValidator(new QIntValidator(lbY));
-       rtX->setValidator(new QIntValidator(rtX));
-       rtY->setValidator(new QIntValidator(rtY));
+       lbX->setValidator(new QDoubleValidator(lbX));
+       lbY->setValidator(new QDoubleValidator(lbY));
+       rtX->setValidator(new QDoubleValidator(rtX));
+       rtY->setValidator(new QDoubleValidator(rtY));
 
        displayscale->setValidator(new QIntValidator(displayscale));
        Height->setValidator(unsignedLengthValidator(Height));