Commit Graph

426 Commits

Author SHA1 Message Date
Simon Edwards
2b932160e6 Added a pluginName() method to DataEngine to match the one in Applet. (Useful for scripting.)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874609
2008-10-21 22:22:57 +00:00
Aaron J. Seigo
6fe3502be7 we have workspace/libs/ for a reason
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874257
2008-10-21 02:31:43 +00:00
Aaron J. Seigo
7abb5164a5 remove gratuitous "ToolTip"s
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874244
2008-10-21 01:33:32 +00:00
Aaron J. Seigo
b5df90348f don't load the wallpaper config until we paint. this means that if we have off-screen containments, even with complex wallpapers, they don't take up unecessary memory or delay start up because they won't render the wallpaper until the first paint event.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=872755
2008-10-18 01:31:52 +00:00
Aaron J. Seigo
2118460d27 applet -> widget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871125
2008-10-13 23:16:22 +00:00
Allen Winter
81d09742bb fix spelling
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870322
2008-10-12 11:12:24 +00:00
Allen Winter
8716f930ec use split('x') instead of split("x")
add single chars instead of single char strings

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870295
2008-10-12 10:57:42 +00:00
Allen Winter
214ac5f91f clean up some kDebugs and kWarnings.
shorten some extra long lines.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870290
2008-10-12 10:20:02 +00:00
Allen Winter
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +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
f7f4a8e821 save/restore the painter before handing it to the wallpaper
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=869679
2008-10-09 18:48:27 +00:00
Marco Martin
57d1f48145 when an applet fails to load only display an icon with a tooltip when
on anel, so it doesn't cause problems to the panel layout

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=869266
2008-10-08 16:44:01 +00:00
Aaron J. Seigo
06e71be8c3 we no longer need to check for spontaneity; move the trick up to Applet as well to avoid repaints where possible
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=868200
2008-10-05 17:48:44 +00:00
Aaron J. Seigo
70f1b85426 blarg. one button is *probably* enough
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867162
2008-10-02 23:10:55 +00:00
Aaron J. Seigo
165f387e45 be paranoid about it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867096
2008-10-02 19:38:41 +00:00
Aaron J. Seigo
a062bbc901 * prevent some possibe crash interactions between extenders and applets
* proper save of geometry, transform and position post startup

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=866823
2008-10-01 23:52:50 +00:00
Aaron J. Seigo
e1a0d5bb9c * save the size/rotation shortly after it's made .. should help preserve those changes in cases of crashes mor consistently
* delete the script before deleting the items it might rely on (e.g. the package!)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864835
2008-09-25 16:26:04 +00:00
Aaron J. Seigo
56a9ad52ce make it harder for people to fall into the temptation of nesting containments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863619
2008-09-22 17:50:23 +00:00
Aaron J. Seigo
c302aa3ff4 * try not to call view() if possible
* code clarifications, simplicity++

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862852
2008-09-20 06:08:28 +00:00
Aaron J. Seigo
ae3986568f make Applet::name Activity aware
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862758
2008-09-19 19:16:53 +00:00
Aaron J. Seigo
8d1e6cdf85 call a private constraints event on the PopupApplet so that subclasses don't have to think about it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862502
2008-09-19 03:26:24 +00:00
Aaron J. Seigo
6e2506d5cc * use d->extender instead of extender() to prevent accidently creating extenders
* make PopupApplet a friend (PopupAppletPrivate already is)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862089
2008-09-18 02:47:25 +00:00
Aaron J. Seigo
c5fe5cb285 automatically create a new extender if we don't have one and an extender is requested
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862085
2008-09-18 02:38:27 +00:00
Aaron J. Seigo
8db733b45a * forget the global shorcut on applet destruction; prevents issues with collisions in the future
* be more agressive with claiming global shortcuts
* add some debug output to track global shorcut registration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862007
2008-09-17 19:16:36 +00:00
Aaron J. Seigo
874870aaee because KGlobalShorcuts is not exactly what i'd call symmetrical, we need to ensure the object name is constant at all costs. that design really needs to be rethough in KDE5 as it lacks.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861708
2008-09-16 22:55:21 +00:00
Rob Scheepmaker
ca2a86dc2e Move the calls to destroy() from save() to Applets dtor. This fixes the crashes with the popup
applet patch on reviewboard (r182).
CCMAIL: notmart@gmail.com


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860301
2008-09-12 15:50:17 +00:00
Petri Damstén
11317e0d7e add configChanged to Applet and AppletScript
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860299
2008-09-12 15:21:58 +00:00
Sebastian Kügler
7335ef2e00 warnings--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860267
2008-09-12 13:19:37 +00:00
Rob Scheepmaker
11a5a957d0 Renamed extender to internal:extender to avoid possible name clashes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860083
2008-09-11 22:51:43 +00:00
Rob Scheepmaker
7d9f3e29c1 The in libplasma embedded ExtenderApplet actually works now!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860069
2008-09-11 21:21:18 +00:00
Rob Scheepmaker
cb4d610219 Move ExtenderApplet to libplasma. This doesn't work just yet, but aseigo will take a look at
it, so it will soon. ;)


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860007
2008-09-11 19:26:05 +00:00
Aaron J. Seigo
c633c8ac57 hook up the containment configuration interface to the generic containment configuration mechanism; now it shows in the toolbox too! whee!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859593
2008-09-10 18:51:30 +00:00
Aaron J. Seigo
81ff908a3e * for ghost painting, used when dragging, we only need to know true or false .. we don't need to check the view
* cache the current view as this gets called on every mouse move event when dragging something by the handle.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858901
2008-09-09 00:23:02 +00:00
Aaron J. Seigo
d3280cee63 even simpler, and preserves the old contentsRect as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=858253
2008-09-07 16:22:34 +00:00
Aaron J. Seigo
fa32b0f2b6 be a little more forgiving in trying to find the Best View
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857615
2008-09-05 20:37:15 +00:00
Aaron J. Seigo
d89ad4cba0 context API adjustments
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=857207
2008-09-05 00:22:42 +00:00
Aaron J. Seigo
35bfe20877 why yes, dani_l, i have looked into this issue. ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856686
2008-09-03 15:06:02 +00:00
Aaron J. Seigo
2963de33e6 just toRect will suffice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856498
2008-09-03 04:25:24 +00:00
Aaron J. Seigo
3c7c59d9f8 don't repaint the entire item *every time* if the exposed area is just a small section. this saves huge numbers of whole screen repaints.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=856476
2008-09-02 23:29:54 +00:00
Rob Scheepmaker
56fc76d150 Detaching ExtenderItems from a Plasma::Dialog works now, but resizing the dialog isn't
always done correctly yet. I'm still looking into that.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852535
2008-08-25 23:16:18 +00:00
Rob Scheepmaker
60a62db177 Make attached ExtenderItems non persistent, since that is more logical default behavior.
Fixed the screwed up positioning of the ExtenderItem toolbox.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852222
2008-08-25 15:17:54 +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
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
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
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
Aaron J. Seigo
03047048bc fixlette
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849502
2008-08-19 17:37:53 +00:00
Marco Martin
14bb079e79 this size policy seems to behave way better
icons aren't scaled down when taskbar fills up
will backport to 4.1

BUG:164857

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848940
2008-08-18 18:49:04 +00:00
Aaron J. Seigo
46ef63168e allow applets to query for their context, update the context via a constraint (we're running out of them!)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848820
2008-08-18 14:04:30 +00:00
Petri Damstén
0183db7d30 Base for Plasma::Wallpaper plugins.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842590
2008-08-05 15:27:48 +00:00
Aaron J. Seigo
684a1b4e4e SVN_SILENT: some ws fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=841831
2008-08-04 08:00:07 +00:00