Rob Scheepmaker
27cdeadb03
Some changes to PopupApplet to make it a useful base class for extender using applets,
...
and some changes to libplasmaclock to make it's dialog get the correct size.
Works quite well, but for some reason dragging extender items from the dialog doesn't
work correctly right now, I'm working on that.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852189
2008-08-25 13:55:26 +00:00
Aaron J. Seigo
9244760edb
make this connectable outside of libplasma
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852177
2008-08-25 13:16:31 +00:00
Petri Damstén
6c2ca9a337
Don't move applets from old containment to the new one, since restore recreates them.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852160
2008-08-25 12:44:03 +00:00
Dirk Mueller
05a1658faa
better return something
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852090
2008-08-25 10:27:53 +00:00
Marco Martin
3f3b9eddcc
documentation and qproperties
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851721
2008-08-24 12:24:36 +00:00
Marco Martin
a4704a44fc
#ifndef PLASMA_SCROLLBAR_H
...
wooops :)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851706
2008-08-24 11:55:39 +00:00
Petri Damstén
25435b35fb
- use setContainment before restore so screen gets set correctly
...
- copy configuration from the old containment to a new one
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851622
2008-08-24 07:43:04 +00:00
Andreas Hartmetz
c15e001ff9
goldLinkAmd64++
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851546
2008-08-23 23:27:03 +00:00
Alex Merry
7d47005103
Hopefully fix bug 165051. It seems to be quite elusive, so I can't check whether it will for certain.
...
Clears the focus on the Corona before ~QGraphicsView runs. See comment for more info.
BUG: 165051
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851511
2008-08-23 21:59:27 +00:00
Marco Martin
1a321f0df1
contentsRect() function, consistent with QGraphicsWidget::contentsRect()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851491
2008-08-23 20:36:09 +00:00
Alex Merry
053ba4f683
Use parenting.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851464
2008-08-23 17:47:50 +00:00
Alex Merry
61c4bc59b5
SVN_SILENT: looks neater
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851463
2008-08-23 17:44:14 +00:00
Alex Merry
9293cbaba6
memory leak--
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851461
2008-08-23 17:42:36 +00:00
Alex Merry
ffd9d8f796
SVN_SILENT:
...
Looks a little cleaner like this.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851458
2008-08-23 17:35:23 +00:00
Alex Merry
240e0b4309
QIcons are implictly shared. There's no need to pass pointers to them around and leak memory everywhere.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851452
2008-08-23 17:22:26 +00:00
Alex Merry
6f4ccf03c9
Use parenting where appropriate.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851451
2008-08-23 17:21:55 +00:00
Alex Merry
4e1a2de897
Fix memory leak.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851434
2008-08-23 16:37:04 +00:00
Alex Merry
1aec75e5e6
SVN_SILENT:
...
whitespace fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851432
2008-08-23 16:27:52 +00:00
Alex Merry
15b36b0bfe
SVN_SILENT:
...
Source files shouldn't be executable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851428
2008-08-23 16:23:09 +00:00
Alex Merry
bfe6bd2906
Stack allocation is better than heap.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851427
2008-08-23 16:21:49 +00:00
Alex Merry
1edb8aab86
Clean up tooltips a little, and fix some memory leaks.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851425
2008-08-23 16:17:04 +00:00
Alex Merry
c6531619cf
Unnecessary test
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851370
2008-08-23 15:37:47 +00:00
Alex Merry
4a3e5e97fa
Whitespace and docs cleanup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851367
2008-08-23 15:35:10 +00:00
Marco Martin
0d8fbe145b
ask for a repaint of the area that is scrolled
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851011
2008-08-22 18:38:50 +00:00
Aaron J. Seigo
8d6f5e7196
get rid of some api bloat; this can be gotten from the wallpaper plugin itself, after all
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850854
2008-08-22 12:14:10 +00:00
Marijn Kruisselbrink
56c9ecf5e1
only add opengl include dirs when opengl is actually found
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850794
2008-08-22 10:34:37 +00:00
Marco Martin
150bf97172
mouseover and mousepressed effects by choosing different svg elements
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850598
2008-08-21 20:15:32 +00:00
Alexis Ménard
c768094fd1
Fix a focus crash, i wasn't able to reproduce it in a simple test case for Qt guys.
...
I will remove it if the bug is in Qt and add a patch un qt-copy if needed
Backport in 4.1
CCMAIL:lapeyre.martial@gmail.com
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850353
2008-08-21 10:22:32 +00:00
Aaron J. Seigo
ae115c4cbb
when we get a non-file dropped, check to see if any applets support any of the mimetypes in the drop. if so, create a tempfile with the data in it and start the applet with that data. it's pretty ... interesting to drop web content from a webbrowser onto the desktop and get a miniwebrowser showing the results.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850349
2008-08-21 10:07:07 +00:00
Aaron J. Seigo
145069e66f
if we aren't a containment, don't do anything; and don't bother calling Applet::init as nothing interesting happens there for us.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850293
2008-08-21 07:49:46 +00:00
Laurent Montel
0027f8b90d
Pedantic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850254
2008-08-21 06:24:40 +00:00
Aaron J. Seigo
9a94a36afd
introduce a detroy(bool confirm) for containments so that we can confirm on zoom out, but not on containment swapping; was not a pleasant surprise to have a containment instantly evaporated without this =/
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850224
2008-08-21 02:57:42 +00:00
Aaron J. Seigo
2c341a5521
the wallpaper can't be mutually exclusive to the containment's painting, otherwise containments like the folderview don't paint their interface
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850223
2008-08-21 02:56:41 +00:00
Marco Martin
ce21b61ab0
whoops, PLASMA_EXPORT
...
and remove some settings that belongs more to the applet that uses it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850051
2008-08-20 18:14:20 +00:00
Marco Martin
7fb9508d80
a tree view widget for now there is only this one that should be enough
...
also for simple lists to not overpopulate the widget list
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=850021
2008-08-20 16:54:35 +00:00
Aaron J. Seigo
ddf2c2cf5d
we actually need to set the d->mode member here; background selector works again
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849986
2008-08-20 15:21:53 +00:00
Aaron J. Seigo
6101f26c52
update to context->activity changes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849913
2008-08-20 13:13:31 +00:00
Aaron J. Seigo
3f7d35a61b
fix up swapContainment a bit; it doesn't need to take the old containment, as we already know what that is, document with some comments, and make better use of save/restore and addApplet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849912
2008-08-20 13:13:03 +00:00
Aaron J. Seigo
3687d22770
return to the term Activity as it will be one aspect of Context and that seems to confuse everyone who isn't me ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849911
2008-08-20 13:12:13 +00:00
Aaron J. Seigo
ab52f8c294
make save take a KConfigGroup by ref, like all the other save methods in the library
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849909
2008-08-20 13:11:01 +00:00
Aaron J. Seigo
71796f6bf3
save the wallpaper info when save() is called
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849901
2008-08-20 12:45:19 +00:00
Aaron J. Seigo
fae3b85557
* make init just take the KConfigGroup, make it protected
...
* introduce restore, which takes both the KConfigGroup and the mode to use and calls init; this is public and retains the save/restore symmetry seen elsewhere in the library
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849899
2008-08-20 12:44:39 +00:00
Ambroz Bizjak
b7e61e34c4
Fix a rare bug when a new applet handle is created before the previous one is
...
destroyed, causing the applet not to follow the handle when moved or fail to appear.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849828
2008-08-20 09:14:27 +00:00
Petri Damstén
bacc1d65d4
Add swapContainment function
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849802
2008-08-20 08:07:09 +00:00
Petri Damstén
0a2eb79e61
Wallpaper API changes:
...
- modes -> renderingModes
- remove modeName & modeIcon
- add config group to init for reading config
- add save for config saving
Update containment for api changes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849801
2008-08-20 08:06:34 +00:00
Pino Toscano
3f368be2c1
initialize in the correct order
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849708
2008-08-19 23:10:50 +00:00
Alex Merry
c8823d1900
Don't call constraintsUpdated() before init(), even if an event loop is created in an applet constructor.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849656
2008-08-19 21:36:52 +00:00
Alex Merry
8427acfc83
Better initialisation/destruction.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849654
2008-08-19 21:34:23 +00:00
Marco Martin
df487ae43c
should behave a bit better when the pages are empty
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849643
2008-08-19 21:09:06 +00:00
Marco Martin
abdb0debb5
needsconfigoverlay is way nicer painted to contentsrect when the
...
standardbackground is on
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849618
2008-08-19 20:00:40 +00:00