couple more fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4898 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-08-08 04:24:36 +00:00
parent 714bde0b9e
commit cce95aea53
4 changed files with 19 additions and 10 deletions

View File

@ -1,3 +1,10 @@
2002-08-08 John Levon <levon@movementarian.org>
* QGraphicsDialog.C: enable rotate
* ui/QGraphicsDialog.ui: trigger changed on
activated() not highlighted()
2002-08-08 John Levon <levon@movementarian.org>
* QGraphics.C:

View File

@ -258,6 +258,8 @@ void QGraphics::apply()
else
igp.rotateOrigin = string();
igp.rotate = igp.rotateAngle != 0.0;
igp.special = dialog_->latexoptions->text();
}

View File

@ -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);
}

View File

@ -2384,31 +2384,31 @@
</connection>
<connection>
<sender>lbXunit</sender>
<signal>highlighted(int)</signal>
<signal>activated(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>lbYunit</sender>
<signal>highlighted(int)</signal>
<signal>activated(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>rtXunit</sender>
<signal>highlighted(int)</signal>
<signal>activated(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>rtYXunit</sender>
<signal>highlighted(int)</signal>
<signal>activated(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>origin</sender>
<signal>highlighted(int)</signal>
<signal>activated(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
@ -2485,14 +2485,14 @@
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>displayscale</sender>
<signal>returnPressed()</signal>
<sender>displayratioCB</sender>
<signal>stateChanged(int)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>
<connection>
<sender>displayratioCB</sender>
<signal>stateChanged(int)</signal>
<sender>displayscale</sender>
<signal>textChanged(const QString&amp;)</signal>
<receiver>QGraphicsDialogBase</receiver>
<slot>change_adaptor()</slot>
</connection>