Aaron J. Seigo
6193f93785
proof of concept for composited effects by toying with the backing store
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672646
2007-06-07 19:07:45 +00:00
Aaron J. Seigo
a80c5349e4
* let's not bother with the blur here quite yet; let's do it Right(tm) later in an image effects lib, and when we can actually operate on the backing store
...
* if there is not -pressed element, still paint something proper
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672363
2007-06-06 20:48:06 +00:00
Riccardo Iaconelli
a043e502f3
* Saner resizing of the icon when pressed
...
* Nicer SVG, also fixed the corners, now are pixel perfect
* Prepared the code for the upcoming blur of the wallpaper....
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672328
2007-06-06 19:45:00 +00:00
Aaron J. Seigo
a2b7f5fc43
shrink and center on click; not that it matters since this will move into Phase for great beauty and flexibility ... but this should llook a little nicer in the screencasts...
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672120
2007-06-06 05:19:44 +00:00
Aaron J. Seigo
83eed9ccd4
* build
...
* use KUrl::List
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672119
2007-06-06 05:12:51 +00:00
Siraj Razick
013fae0a0d
slight shrik effect on the pixmap
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671927
2007-06-05 20:44:28 +00:00
Aaron J. Seigo
11651586c0
center the icons properly and cut down on the amount of duplicated information we keep in here
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671917
2007-06-05 19:48:14 +00:00
Siraj Razick
9d778637b5
ifndef typo fixed now the item can be used
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671898
2007-06-05 18:39:59 +00:00
Aaron J. Seigo
c2f7734144
icon; doesn't actually work the way i expect it to. need to talk to bibr about some things.
...
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671576
2007-06-05 02:54:48 +00:00
Inge Wallin
60032d6779
Some krazy fixes while waiting for a compile:
...
22: Check for spelling errors.
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=671493
2007-06-04 21:40:44 +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
Matt Williams
f93b9f7396
EBN Krazy header fixes
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669864
2007-05-30 16:47:36 +00:00
Aaron J. Seigo
77307ba1dd
icon buttons generally work now. huzzah. you can theme them with iconbutton.svg with the following elements, all of which are optional:
...
- background
- background-hover
- background-pressed
- foreground
- foregound-hover
- foreground-pressed
what each does is left as an exercise for the reader ;)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669620
2007-05-29 20:37:21 +00:00
Aaron J. Seigo
429d8fd708
apparently i missed this entire directory when introducing PLASMA_EXPORT. but i got 'em this time! ;)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669395
2007-05-29 08:02:01 +00:00
Aaron J. Seigo
3f2e92b6ae
add the start of an icon button. the stupid number of svg's needs to be wrapped into two with svg elements for them, geometry isn't managed right (e.g. we ignore text width) etc.. but the basics exist. should be usable by hacking's end tomorrow, and then we can play with using them to pop menus and expanders. i'll get to Phase yet ;)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669394
2007-05-29 07:59:50 +00:00
Aaron J. Seigo
0df727c4d0
this seems to make it works a wee bit better ;) still not perfect
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669392
2007-05-29 07:58:05 +00:00
Aaron J. Seigo
c7b7b5b8ca
proper export
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=669388
2007-05-29 07:54:41 +00:00
Aaron J. Seigo
6393ddd3ad
make lineedit a LayoutItem. seems to basically work, though i don't think it is quite perfect yet =)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668932
2007-05-28 05:52:56 +00:00
Aaron J. Seigo
3c690fea84
* add API docu to the methods i added
...
* add a resetLayout() so layouts can release LayoutItems on deletion, avoiding dangling pointers and possible crashes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668931
2007-05-28 05:52:05 +00:00
Aaron J. Seigo
c300ff48bc
keep track of what layout we belong to so that we can remove ourselves from the layout when we exit; prevents crashes when items are added then deleted later. since we aren't guaranteed a QObject, we can't do the obvious thing (e.g. listen for the destroyed() signal)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668928
2007-05-28 05:46:24 +00:00
Aaron J. Seigo
8288d58356
DataVisualization remained anemic: it was only offering a single SLOT, and it was pure virtual at that. to keep the inheritance tree sane, it has been removed.
...
Widget remains problematic as it uses QGraphicsItem API, but it needs to be subclassed by items that are already QGraphicsItems. ugh.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668083
2007-05-25 02:27:33 +00:00
Matias Valdenegro Toro
449a7e6d13
Add some basic apidox
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668074
2007-05-25 01:27:27 +00:00
Matt Williams
5d1eb7f460
Add missing d-pointers
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=668014
2007-05-24 19:36:05 +00:00
Matias Valdenegro Toro
c24e5b36d4
Krazy fix
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667704
2007-05-23 17:18:43 +00:00
Aaron J. Seigo
121699f37d
re-add the missing qobject stuff so that the slot works again
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667526
2007-05-23 03:08:47 +00:00
Pino Toscano
f5230fcd1e
extra ';'
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667451
2007-05-22 21:05:42 +00:00
Laurent Montel
09a03bdc95
Return something
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667445
2007-05-22 20:49:43 +00:00
David Faure
22998455f1
fix compiling
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667422
2007-05-22 19:23:22 +00:00
Matias Valdenegro Toro
4bde70b077
Make it compile
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667380
2007-05-22 16:59:33 +00:00
Matias Valdenegro Toro
edaecc53af
First commit of my work, added classes :
...
- LayoutItem
- Layout
- VBoxLayout
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667376
2007-05-22 16:48:34 +00:00
Aaron J. Seigo
879e215a43
* make DataSource emit the name of the source along with the data; this makes it possible widgets connected to multiple DataSources to have a chance of doing the right thing
...
* make DataEngine take a QObject in the connect, making DataVisualization somewhere superfluous. unless it ends up doing something useful soon, DataVisualization as a class will be going away.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667167
2007-05-22 02:49:54 +00:00
Matt Williams
18a8791a43
More Mainpage.dox changes
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667061
2007-05-21 18:48:13 +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
Aaron J. Seigo
a4505ca37f
* data->updated
...
* implement updated for lineedits; need to decide what to do for the rest
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666854
2007-05-21 04:29:00 +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
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
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
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
Pino Toscano
d8c17250ce
header cleanup
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=656747
2007-04-22 09:35:04 +00:00
Dirk Mueller
72fa8d7b1b
pedantic--
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644597
2007-03-20 14:21:56 +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
5c9778a4ff
Emulated checkbox widget
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=641741
2007-03-12 13:50:30 +00:00
Siraj Razick
bfe37da902
icon support
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639602
2007-03-05 12:54:54 +00:00
Siraj Razick
dcdcafe4df
SVN_SILENT:fixed some signal-slot issuses
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639521
2007-03-05 09:00:26 +00:00
Siraj Razick
bb0992ed29
A simple PushButton that Mimics QPushButton inside plasma
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639393
2007-03-05 04:13:22 +00:00
Siraj Razick
ade3ff6b01
delet the simple button, a better PushButton is up next
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639392
2007-03-05 04:11:10 +00:00
Kevin Ottens
27eddeb626
++compile
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639370
2007-03-05 00:30:33 +00:00
Alexander Wiedenbruch
c360489500
New LineEdit based on QGraphicsTextItem
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639321
2007-03-04 20:35:37 +00:00
Siraj Razick
fa94c62ea3
A Simple SVG button
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639265
2007-03-04 19:45:17 +00:00
Alexander Wiedenbruch
fa16f5700c
Clean up Widget as discussed
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638826
2007-03-03 13:13:39 +00:00
Alexander Wiedenbruch
1cdd84cc85
Remove LineEdit due to licensing issues
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638673
2007-03-02 21:23:14 +00:00
Alexander Wiedenbruch
239e2afb87
Bring DataVisualization and widget together
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638571
2007-03-02 14:34:41 +00:00
Alexander Wiedenbruch
b321a91d3d
Don't misuse the boundingRect for positioning the item
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638558
2007-03-02 13:33:12 +00:00
Aaron J. Seigo
2bfbce6618
use the plasma namespace consistently
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638473
2007-03-02 05:27:33 +00:00
Alexander Wiedenbruch
585852a0de
Move the InputBox from SuperKaramba to Plasma.
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638393
2007-03-01 19:58:19 +00:00