diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 5ac2da2f79..80b58c6614 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,10 @@ +2002-08-08 John Levon + + * QGraphicsDialog.C: enable rotate + + * ui/QGraphicsDialog.ui: trigger changed on + activated() not highlighted() + 2002-08-08 John Levon * QGraphics.C: diff --git a/src/frontends/qt2/QGraphics.C b/src/frontends/qt2/QGraphics.C index d552697f76..4e87685986 100644 --- a/src/frontends/qt2/QGraphics.C +++ b/src/frontends/qt2/QGraphics.C @@ -258,6 +258,8 @@ void QGraphics::apply() else igp.rotateOrigin = string(); + igp.rotate = igp.rotateAngle != 0.0; + igp.special = dialog_->latexoptions->text(); } diff --git a/src/frontends/qt2/QLImage.C b/src/frontends/qt2/QLImage.C index c17d157247..6b8a3a092e 100644 --- a/src/frontends/qt2/QLImage.C +++ b/src/frontends/qt2/QLImage.C @@ -240,7 +240,7 @@ void QLImage::rotate(Params const & params) lyxerr[Debug::GRAPHICS] << "rotating image by " << params.angle << " degrees" << endl; QWMatrix m; - m.rotate(params.angle); + m.rotate(-params.angle); xformed_pixmap_ = xformed_pixmap_.xForm(m); } diff --git a/src/frontends/qt2/ui/QGraphicsDialog.ui b/src/frontends/qt2/ui/QGraphicsDialog.ui index fbdceb852d..af9ded4434 100644 --- a/src/frontends/qt2/ui/QGraphicsDialog.ui +++ b/src/frontends/qt2/ui/QGraphicsDialog.ui @@ -2384,31 +2384,31 @@ lbXunit - highlighted(int) + activated(int) QGraphicsDialogBase change_adaptor() lbYunit - highlighted(int) + activated(int) QGraphicsDialogBase change_adaptor() rtXunit - highlighted(int) + activated(int) QGraphicsDialogBase change_adaptor() rtYXunit - highlighted(int) + activated(int) QGraphicsDialogBase change_adaptor() origin - highlighted(int) + activated(int) QGraphicsDialogBase change_adaptor() @@ -2485,14 +2485,14 @@ change_adaptor() - displayscale - returnPressed() + displayratioCB + stateChanged(int) QGraphicsDialogBase change_adaptor() - displayratioCB - stateChanged(int) + displayscale + textChanged(const QString&) QGraphicsDialogBase change_adaptor()