Commit Graph

327 Commits

Author SHA1 Message Date
Aaron J. Seigo
cb2e8721a5 * Plasma::Svg::resize() to use the default size of the SVG
* make the clock use that size

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666807
2007-05-20 22:56:38 +00:00
Aaron J. Seigo
f88f9ed076 add a missing bit of obvious api.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666798
2007-05-20 22:39:38 +00:00
Aaron J. Seigo
48db336a07 allow to pass in an alternative matrix to SVG::paint in case you don't want the painter's matrix to be used in rendering the svg; this happens when the Scene has matrix and then the painter is transformed further to adjust that specific painting event. for things like the clock, it also allows us to properly use the pixmapcache.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666794
2007-05-20 22:30:41 +00:00
Aaron J. Seigo
8e7ccadd75 pino showed me the wonders of set_target_properties. rock on!
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666770
2007-05-20 21:05:27 +00:00
Riccardo Iaconelli
4de7a36e29 The clock now shows (and moves) SVG hands. I had to do an hack on Plasma::Svg to make it work, it was doing strange things with the plasmoid painter, and especially its coordinate system, check the differences in lib/svg.cpp to see what changed.
Still have a couple of problems with hands other than second, and for the black thingy in the middle.
Too tired right now, will check (and hopefully fix) them again tomorrow.
Let's party though! The first (mostly) working plasmoid goes public! Yay!

CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666767
2007-05-20 21:01:30 +00:00
Aaron J. Seigo
08707215dd apparently we can't have a binary and a library with the same name. so now it's libplasmoid and the binary is plasma.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666763
2007-05-20 20:54:48 +00:00
Aaron J. Seigo
b8cc485705 * split DataSource into its own files
* move DataSource::Data to DataEngine::Data; this means consumers of DataEngine have no need to know about DataSource as a class

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666756
2007-05-20 20:36:59 +00:00
Aaron J. Seigo
520553079a PLASMA_EXPORT
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666752
2007-05-20 20:13:46 +00:00
Matt Williams
81b392e9ec Add some skeleton apidox in order to get the EBN building the classes that do have documentation.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666703
2007-05-20 16:25:07 +00:00
Matt Williams
37bee9466b Add Mainpage.dox for Plasma
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666667
2007-05-20 14:35:08 +00:00
Rafael Fernández López
03f0b9d130 The comment block should be just before the class definition, not the
namespace. Remove unneeded checks.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666633
2007-05-20 13:29:06 +00:00
Script Kiddy
623639b8c9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666507
2007-05-20 05:13:09 +00:00
Rafael Fernández López
0fff43201f Adjust condition. We only want items that has no parent at this point
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666480
2007-05-20 00:58:40 +00:00
Rafael Fernández López
8676ce117d Call to DataVisualization() constructor, fixme note. I strongly hate to
break my promises. This is REALLY the last commit

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666427
2007-05-19 21:12:40 +00:00
Rafael Fernández López
f5d9bd2055 OK, last commit about this. I promise :)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666426
2007-05-19 21:03:21 +00:00
Rafael Fernández López
749b581946 No more forgotten things. Style fixing
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666425
2007-05-19 21:00:16 +00:00
Rafael Fernández López
ef5b5fca3b Small problem I forgot to fix when refactoring
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666423
2007-05-19 20:54:26 +00:00
Rafael Fernández López
3294b91379 New widget: radio button
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666420
2007-05-19 20:49:16 +00:00
Aaron J. Seigo
4c4b013b89 * implement the engine, source and visualization classes
* queue updates so that multiple calls to setData don't result in a storm of updated signals
* some API cleanups, e.g. connect -> connectSource
* provide and install a ServiceType .desktop; this adds the X-EngineName QString symbol. maybe that's too generic.

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666241
2007-05-19 08:38:46 +00:00
Aaron J. Seigo
3ccbf71b2d add dataEngine() and make loadDataEngine() return the engine rather than a boolean as that saves the innevitable re-lookup when we already have the pointer right at hand.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666240
2007-05-19 08:35:35 +00:00
Aaron J. Seigo
b8253cda5b get rid of matrix removal for now so that things actually draw properly in graphicsitems
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666238
2007-05-19 08:32:22 +00:00
Aaron J. Seigo
a9ebfb6a14 * allow painting of given elements
* find the size of an element (given the current size of the Plasma::Svg)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666140
2007-05-18 22:05:00 +00:00
Script Kiddy
104ceff330 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=665169
2007-05-16 04:59:20 +00:00
Thorsten Roeder
c235d2980a some krazy fixes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=664331
2007-05-13 17:47:20 +00:00
Laurent Montel
2dfd1290be More coherent: install all include name defined by class name
to INSTALL_INCLUDE_DIR/KDE/

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=664144
2007-05-13 08:31:09 +00:00
Pino Toscano
7bed85b467 these forward declarations are needed as well
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=657021
2007-04-22 23:04:47 +00:00
Pino Toscano
d8c17250ce header cleanup
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=656747
2007-04-22 09:35:04 +00:00
Script Kiddy
2c52eef76b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=654445
2007-04-16 05:08:30 +00:00
Siraj Razick
9192c9c7bc SVN_SILENT:make datavisualization install
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=653740
2007-04-14 04:02:09 +00:00
Script Kiddy
a59b219f50 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=651001
2007-04-06 05:03:06 +00:00
Pino Toscano
c3d0436084 less qt3_support
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=650622
2007-04-04 23:26:24 +00:00
Pino Toscano
3b0846e6f6 move the QT3_SUPPORT definition only where it's needed
svn path=/trunk/KDE/kdebase/runtime/kcontrol/crypto/; revision=650430
2007-04-04 14:47:36 +00:00
Script Kiddy
ad0c50ff6c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=650277
2007-04-04 05:01:42 +00:00
David Faure
8326e8488d kdelibs_export.h -> kdemacros.h
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=649005
2007-04-01 21:07:41 +00:00
Aaron J. Seigo
27f5c75d76 * Runner -> AbstractRunner, to denote that it is an ABC
* fancy includes so third party stuff can do #include <Plasma/Svg> instead of #include "plasma/svg.h", etc

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644677
2007-03-20 17:37:44 +00:00
Dirk Mueller
72fa8d7b1b pedantic--
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644597
2007-03-20 14:21:56 +00:00
Aaron J. Seigo
f66f973917 install the svg.h header so people can use it
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644234
2007-03-19 15:54:54 +00:00
Aaron J. Seigo
d7caba7c6f this works, and i know it works, so the debug can go away for now so i can see other potentially important things in the output =)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=643671
2007-03-18 06:57:48 +00:00
Siraj Razick
0445867daa fixed memleak in setText
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642203
2007-03-13 16:30:48 +00:00
Siraj Razick
6b2b055830 fix setText memleak
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642193
2007-03-13 16:16:26 +00:00
Laurent Montel
2936a021cc Const
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642049
2007-03-13 07:46:12 +00:00
Matt Broadstone
a918f6180f compile++
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642024
2007-03-13 03:25:19 +00:00
Matt Broadstone
72dbcaf4f0 Clean up the push button class
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642016
2007-03-13 03:00:09 +00:00
Siraj Razick
19f05aab0c button release event for PushButon
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642014
2007-03-13 02:51:40 +00:00
Siraj Razick
e41598b02a redraw the whole rectangle
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=642010
2007-03-13 01:53:38 +00:00
Siraj Razick
1e359b07c9 a possible fix for the memleak
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641985
2007-03-13 00:32:17 +00:00
Siraj Razick
ed8d4db4aa Plasma Applet layout support for PushButton
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641857
2007-03-12 19:16:17 +00:00
Siraj Razick
08366a02c8 Make plasma checkbox compile
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641742
2007-03-12 13:52:12 +00:00
Siraj Razick
5c9778a4ff Emulated checkbox widget
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641741
2007-03-12 13:50:30 +00:00
Script Kiddy
717a8c539c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641648
2007-03-12 07:18:43 +00:00