[Kst] branches/work/kst/portto4/kst/src/libkstapp
Adam Treat
treat at kde.org
Fri Aug 31 20:53:57 CEST 2007
SVN commit 706998 by treat:
* Default lock aspect for pictures
M +1 -0 pictureitem.cpp
M +1 -0 svgitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/pictureitem.cpp #706997:706998
@@ -20,6 +20,7 @@
PictureItem::PictureItem(View *parent, const QImage &image)
: ViewItem(parent), _image(QPixmap::fromImage(image)) {
+ setLockAspectRatio(true);
}
--- branches/work/kst/portto4/kst/src/libkstapp/svgitem.cpp #706997:706998
@@ -21,6 +21,7 @@
SvgItem::SvgItem(View *parent, const QString &file)
: ViewItem(parent), _svg(new QSvgRenderer(file)) {
//FIXME need to set the element id??
+ setLockAspectRatio(true);
}
More information about the Kst
mailing list