Alex Merry
f8070443bb
Improve the Plasma::Svg apidocs a little more
2011-05-05 17:41:40 +01:00
Alex Merry
21ed067ba8
Improve the Plasma::Svg apidocs
2011-05-05 01:19:03 +01:00
Marco Martin
38e64220da
size property nitifies the change
...
svn path=/trunk/KDE/kdelibs/; revision=1204363
2010-12-06 21:54:29 +00:00
Marco Martin
ef8359507d
size property is writable as well
...
svn path=/trunk/KDE/kdelibs/; revision=1204353
2010-12-06 21:30:08 +00:00
Aaron J. Seigo
4495dc2eff
handle the caching case in setImagePath properly; this is a significant increase in complexity in this rather fundamental method. in combination with the change in Svg::setImagePath to call FrameSvg::setImagePath directly (due to an API wart i only today noticed), this has the potential to cause new issues, though it is running quite nicely on my system. needs extensive testing, but should also hopefully take care of the remaining crash being seen related to the FrameData cache
...
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1185856
2010-10-14 12:09:23 +00:00
Aaron J. Seigo
214c0348a3
put the delayed write-to-cache in theme rather than svg; this means that there is one collection per theme instead of one per svg, one timer per theme rather that one per svg and one write out to cache for the theme. win!
...
svn path=/trunk/KDE/kdelibs/; revision=975389
2009-05-30 03:08:33 +00:00
Aaron J. Seigo
c0dcfc94eb
simply the code somewhat
...
svn path=/trunk/KDE/kdelibs/; revision=969582
2009-05-18 13:43:49 +00:00
Aaron J. Seigo
c7399bcbc2
allow setting the theme to use with the svg; removes assumptions that the current default theme is the appropriate source for file and cache data
...
svn path=/trunk/KDE/kdelibs/; revision=969461
2009-05-18 12:26:57 +00:00
Aaron J. Seigo
170e38756f
usingDiskCache -> usingRenderingCache; removes the implementation detail that it's caching to a disk from the method names; also revert the eroneous setter i added to Wallpaper, it was already there as isUsingRenderingCache
...
svn path=/trunk/KDE/kdelibs/; revision=967627
2009-05-13 16:13:56 +00:00
Aaron J. Seigo
0ab881867d
allow caching to be turned off for Svg objects which won't benefit from it
...
svn path=/trunk/KDE/kdelibs/; revision=967623
2009-05-13 16:07:58 +00:00
Thomas Schildknecht
66f7abba16
SVN_SILENT apidox fix for QSize size() const;
...
svn path=/trunk/KDE/kdelibs/; revision=897702
2008-12-16 16:44:51 +00:00
Marco Martin
6c7c11e934
exactly the same delayed cache insertion did for framesvg,
...
now the thing is really faster
svn path=/trunk/KDE/kdelibs/; revision=891275
2008-12-01 14:35:02 +00:00
Aaron J. Seigo
1b523b9054
ok, this time JUST the plasma dir ;)
...
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9
bum-de-dum! plasma to kdelibs.
...
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Kevin Ottens
f66b4d819b
API changes as announced:
...
* ConfigXml becomes ConfigLoader
* Containment::(add|remove)ToolBoxTool(QAction *action) becomes
Containment::(add|remove)ToolBoxAction(QAction *action)
* Flash becomes FlashingLabel
* Icon becomes IconWidget
* PanelSvg becomes FrameSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=877504
2008-10-29 17:46:33 +00:00
Davide Bettio
69155230cd
Added a new useful overload.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872636
2008-10-17 17:45:18 +00:00
Allen Winter
e88e2faa63
first batch of small coding style fixes.
...
these were found while testing the Krazy style checker, which I'm adapting
for the kdelibs style.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870051
2008-10-11 16:19:04 +00:00
Aaron J. Seigo
e99497b67f
* Svg::pixmap
...
* ++apidox
* clean up SvgPrivate::findInCache a bit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862695
2008-09-19 16:41:39 +00:00
Aaron J. Seigo
0d9957048c
it's imagePath, not filePath =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861254
2008-09-15 15:32:01 +00:00
Alex Merry
e293d7d785
Specify includes in apidocs, so we get
...
#include <Plasma/Foo>
at the top of the apidocs pages.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Marijn Kruisselbrink
21b148b963
change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
9fda5b685d
apidox fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807777
2008-05-14 17:44:36 +00:00
Marco Martin
d0ba4e77ec
Api change:
...
Plasma::Svg(imagePath, parent) -> Plasma::Svg(parent) and
Plasma::PanelSvg(imagePath, parent) -> Plasma::PanelSvg(parent)
updated as needed every class that was using Svg or PanelSvg
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800143
2008-04-23 13:07:41 +00:00
Marco Martin
419277a044
finished the Plasma::Svg api change
...
ContentType now is simply a bool and related methods now are
containsMultipleImages() and setContainsMultipleImages()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797998
2008-04-17 09:09:48 +00:00
Pino Toscano
b4bdfcd9ec
extra ';'
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797870
2008-04-16 22:01:51 +00:00
Marco Martin
f522c38eeb
file() and setFile() -> imagePath() and setImagePath()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797772
2008-04-16 20:48:53 +00:00
Marco Martin
b08e8ae782
themeChanged() and colorsChanged() now are Q_PRIVATE_SLOTS
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797745
2008-04-16 20:30:18 +00:00
Marco Martin
d07a60c581
Rename SvnPanel into PanelSvg and update accordingly who is using that,
...
as discussed in api reviews
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797663
2008-04-16 17:23:58 +00:00
Marco Martin
4a5df9c733
begin of api changes, as in
...
http://techbase.kde.org/index.php?title=Projects/Plasma/Tokamak1#Plasma::Svg
elementRect() returns a QRectF
elementExisits() became hasElement()
matrixForElement is only private
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797610
2008-04-16 14:31:43 +00:00
Aaron J. Seigo
ac2b7ba7a5
colourization support for svgs. patch by Andrew Lake.
...
CCMAIL:jamboarder@yahoo.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=777967
2008-02-22 01:05:11 +00:00
Shawn Starr
9038914bd6
Allow optional svg image since we can now set the svg file afterwards
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750671
2007-12-19 20:59:39 +00:00
Shawn Starr
5e77ba9e70
Add some convenience methods file(), to get the svg image path and setFile, to set the image path
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750651
2007-12-19 20:29:22 +00:00
Aaron J. Seigo
b7ef853123
stub in elementAtPoint; it doesn't actually do anything right now pending changes to QSvgRenderer, but the code is all there ready to go
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738069
2007-11-17 21:34:28 +00:00
Aaron J. Seigo
db4a7ebe61
copyright cleanups:
...
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +00:00
Leo Franchi
ce090faab8
add matrixForElement(const QString& elementId) const as discussed on panel-devel
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695665
2007-08-02 16:14:35 +00:00
Aaron J. Seigo
e0616c8c5f
elementRect() ... and hopefully i got the math right because i haven't tested it at all. for lfranchi, with love.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693068
2007-07-26 23:07:26 +00:00
Aaron J. Seigo
201afe2033
* debug output when an absolute path is provided and the file doesn't exist
...
* provide an isValid() method
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691142
2007-07-23 00:50:10 +00:00
Aaron J. Seigo
0314b60615
SVN_SILENT: --tabs
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691039
2007-07-22 20:00:13 +00:00
Richard J. Moore
1822d55bbb
Make the paint methods invokable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690995
2007-07-22 17:41:47 +00:00
Richard J. Moore
23c1f996d2
First steps towards scriptability
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690375
2007-07-20 21:00:11 +00:00
Aaron J. Seigo
13edb00b8e
note which is the default in the apidox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689292
2007-07-18 04:58:27 +00:00
Laurent Montel
65be58f69e
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671233
2007-06-04 08:24:29 +00:00
Aaron J. Seigo
bbaebc6b1b
move workspace/plasma/lib to workspace/lib/plasma so that we can do:
...
#include <plasma/foo.h>
in headers in libplasma. this is important so that they can be used post-install by third party plugins, apps, etc.
also, changed Applet::loadDataEngine to just Applet::dataEngine and make it actually return the data engine; move the applets to using it. safer and fewer LoC
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=670850
2007-06-02 17:29:39 +00:00
Aaron J. Seigo
8c8bf30c62
make it really clear what i was thinking, as apparently people can't see inside my head. ;)
...
"what do you mean you can't read my mind?"
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669648
2007-05-29 22:23:37 +00:00
Aaron J. Seigo
c321d2f03e
introduce ContentType; this lets us have svgs which are a single image which may be made up of a number of elements (in which case, the elements need to be scaled from the size on the svg when painted to have the right size) or made up of a number of discreet images each of which is already the right size (think: a deck of cards)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669616
2007-05-29 20:27:51 +00:00
Aaron J. Seigo
3d51733018
* more api documentation
...
* changes to reflect api movement
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668671
2007-05-27 08:01:31 +00:00
Matt Williams
ad5351fa3f
A few apidocs updates
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667159
2007-05-22 01:30:03 +00:00
Aaron J. Seigo
29bc7ed49e
i'll take the red pill.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667153
2007-05-22 00:20:52 +00:00
Matt Williams
dfb58b44c1
EBN Fixes
...
* Include own header file first
* Make d-pointer const
* Use references-to-const
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667001
2007-05-21 14:28:03 +00:00
Matt Williams
cb00c95058
Small changes which were niggling at me :)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666833
2007-05-21 00:30:36 +00:00