Commit Graph

15 Commits

Author SHA1 Message Date
Sebastian Kügler
47ee5be976 Make SvgItem work, now successfully shows an Svg 2013-02-02 04:42:28 +01:00
Sebastian Kügler
05e5701e9b port svgitem to Qt5 2013-02-01 17:24:07 +01:00
Marco Martin
3d21d43182 set default meaningful implicitWidth/height
svgItem has naturalSize as implicit size
framesvgitem has the sum of their borders
2012-11-27 13:33:50 +01:00
Marco Martin
ed1e691b2d avoid repaints when the same id is set again
CCBUG:301903
2012-06-20 14:06:23 +02:00
Luís Gabriel Lima
999dd60721 Adding notify signals to SvgItem
These signals are being added in order to keep track of property
changes in the QML side.

Signed-off-by: Luís Gabriel Lima <lampih@gmail.com>
2012-05-28 08:51:32 -03:00
Stephen Kelly
73dc4f9a0c Simplify QtGui module includes. 2012-04-10 00:22:13 +02:00
Marco Martin
7a325f4658 i_p suffix only for stuff not exported from qml
general rule:
if the header if from a class that will be made available as qml type, foo.h, otherwise foo_p.h
2011-11-01 19:27:55 +01:00
Marco Martin
c4fb39de30 guard pointers, crash-- 2011-06-24 17:58:21 +02:00
Marco Martin
e76914ed89 update is not a slot, make one 2011-03-18 13:32:49 +01:00
Marco Martin
20e4b7ca35 smooth property (default off)
svn path=/trunk/KDE/kdebase/runtime/; revision=1204366
2010-12-06 22:19:33 +00:00
Marco Martin
4ff23c21ea put naturalSize property back in: turns out was necessary to make things clean
svn path=/trunk/KDE/kdebase/runtime/; revision=1204364
2010-12-06 21:54:58 +00:00
Marco Martin
8a92c6b5f3 gah, probably not useful, revert previous commit
svn path=/trunk/KDE/kdebase/runtime/; revision=1204317
2010-12-06 18:42:31 +00:00
Marco Martin
6b80b7a199 a new property: naturalWidth/height
is needed when painting compositions of various elements

svn path=/trunk/KDE/kdebase/runtime/; revision=1204315
2010-12-06 18:37:31 +00:00
Marco Martin
54daa3153d * share Svg in SvgItem
* the usecase is pretty different compared to FrameSvg, that will retain the old api

svn path=/trunk/KDE/kdebase/runtime/; revision=1193392
2010-11-05 20:22:47 +00:00
Marco Martin
2a256d1e74 move the core, graphicslayouts and graphicswidgets imports in runtime
svn path=/trunk/KDE/kdebase/runtime/; revision=1185277
2010-10-12 19:51:57 +00:00