Commit Graph

1893 Commits

Author SHA1 Message Date
Pino Toscano
3d378e8b11 install the ScriptEngine CamelCase include in a symmetrical place wrt the non-camelcase include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790485
2008-03-26 19:28:31 +00:00
Script Kiddy
9f0d3f871a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790479
2008-03-26 19:25:10 +00:00
Ivan Čukić
b040210c63 Relative (more natural) positions for layout items after resizing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790222
2008-03-26 08:35:08 +00:00
Script Kiddy
2194a47ac6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790020
2008-03-25 18:47:35 +00:00
Andrew Lake
e8772b73d8 Change colorize from 0.9 to 1.0. No reason it should have been 0.9 in the
first place. Plus it fixes slight differences in intesity levels between 
system color-aware plasma themes and the currently selected style.

It was a very minor change so I just went ahead and committed. I don't 
anticipate any objections, but if there are please revert with my apologies. 
CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789757
2008-03-25 05:50:13 +00:00
Chani Armitage
eda9e1125d SVN_SILENT:
comment a magic number

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789719
2008-03-25 00:05:59 +00:00
Aaron J. Seigo
544e10ab13 resetConfigurationObject also deletes the group, so lets do that *after* we've reparented it shall we? =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789299
2008-03-23 21:36:33 +00:00
Ivan Čukić
f70fe59495 Different themes for differently placed panels
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789237
2008-03-23 17:50:49 +00:00
Aaron J. Seigo
b35c64adc6 remove all desktopy stuff from Plasma::Corona. irrelevant to non-desktop apps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789233
2008-03-23 17:39:28 +00:00
Aaron J. Seigo
e088dc1348 * don't emit sourceAdded until the data has been set on a new source
* remove removed items from the rate limit queue as well

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=789225
2008-03-23 17:03:49 +00:00
Marco Martin
92dd45a555 Porting Kickoff item delegate to Plasma::Delegate
this removes a lot of duplication

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788915
2008-03-22 20:26:46 +00:00
Chani Armitage
3a6c262665 fix the panel size loading
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788869
2008-03-22 18:56:59 +00:00
Dmitry Suzdalev
00da2bec77 Emit sourceRemoved after it was actually removed, not before
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788602
2008-03-21 22:35:53 +00:00
Aaron J. Seigo
42c59df99a more apidox detail
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788146
2008-03-20 20:56:49 +00:00
Aaron J. Seigo
5bd198db4a apidox clarifications
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=788145
2008-03-20 20:54:51 +00:00
Laurent Montel
9d5aa89497 Fix typo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787915
2008-03-20 07:47:05 +00:00
Laurent Montel
2af508fefe Remove private variable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787914
2008-03-20 07:44:02 +00:00
Dan Meltzer
4780390ae2 Do not automatically install a scene event filter on items in customcontainments. The custom containment can handle this itself if it feels it appropriate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787834
2008-03-19 23:26:21 +00:00
Marco Martin
13efb56562 fix the empty space calculation in Plasma::Delegate
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=787721
2008-03-19 18:09:15 +00:00
Laurent Montel
93a43df460 Add missing include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786981
2008-03-18 12:00:31 +00:00
Marco Martin
750094f6bf Add a new Plasma class: Plasma::Delegate
it will draw all the listviews used in Plasma that acts like a menu, like Kickoff or Devicenotifier.
at the moment only devicenotifier uses that, (so now it looks like kickoff) a port of the kickoff delegate is planned.
if you want to draw additional data you must
can subclass it
call paint of the father and then use  onr of the function the functions rectAfterTitle, rectAfterSubTitle and emptyRect to get the blank space
paint in the rect obtained with the above functions

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786973
2008-03-18 11:09:39 +00:00
Aaron J. Seigo
3a411a1230 HelperMatch: in expectation of the return of SearchRunner and it's merry band of mischief makers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786836
2008-03-18 01:39:52 +00:00
Aaron J. Seigo
abf654c5c5 have the tooltip inform the widget that it's about to tip so last second updates can be made, particularly nice for expensive tooltips
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786834
2008-03-18 01:39:28 +00:00
Chani Armitage
124f1da013 activity (desktop containment) switching
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786809
2008-03-17 23:49:01 +00:00
Aaron J. Seigo
ac473c1b7e we need to specifically call update in case the geometry doesn't change, and therefore the cached painting isn't invalidated.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786447
2008-03-17 00:26:35 +00:00
Chani Armitage
1f6956398d don't create the toolbox unnecessarily
there's really no point trying to mess with specific tools when the toolbox itself isn't there.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786440
2008-03-16 23:58:12 +00:00
Aaron J. Seigo
863e0f7797 various fixes for xinerama and non-isContainment() containments (e.g. applets which are Containment subclasses)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786175
2008-03-16 07:20:42 +00:00
Aaron J. Seigo
9c638f076d * remove the screen based ctor. now we always require a containment.
* move some code into setContainment that was always needed, not just in setScreen
* fix a boolean logic error

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=786174
2008-03-16 07:19:27 +00:00
Aaron J. Seigo
6b53321428 * new containment layout strategy for non-PanelContainments: lay them out in a lose gridish manner; not strictly a grid, and not strictly a packing-for-efficiency system, though it should be ok in that respect.
* allow containments to define what the layout should be
* a few less assumptions about panels and other containment types in the layout seting in addApplet

these are steps towards:
* more friendly for arbitray containments on the desktop
* multiple containments
* ignoring braindamage that may eminate from the direction of x.org regarding screen geometries

we can now add and remove containments on the fly as well as lay them out nicely. next: UI! and that's one more 4.1 task DONE.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785673
2008-03-14 17:05:37 +00:00
Aaron J. Seigo
dbcdee64f5 don't install these headers twice
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785671
2008-03-14 17:00:23 +00:00
Aaron J. Seigo
25476574a3 only remove it implicitly from our layout if the item is actually being removed from us (not just being stuffed into a child); in the case of a child becoming a grandchild, it will need to be explicitly added to a new layout or removed from an existing one.
prevents applethandle from causing applets to be removed from the FreeLayout in the DefaultDesktopp containment, as seen by Ivan

CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785670
2008-03-14 16:59:10 +00:00
Pino Toscano
c9dd0f1dd6 use the KDE/KFoo form for KDE CamelCase includes in public headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785412
2008-03-13 23:35:06 +00:00
Aaron J. Seigo
fcbc0fc0b7 --deadCode;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785276
2008-03-13 17:15:14 +00:00
Dmitry Suzdalev
a2919ba41f Fix double-clicking behaviour of appletbrowser - don't emit double click event
if clicked on "favicon" or "remove" column

reviewed by aseigo

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785253
2008-03-13 16:10:11 +00:00
Aaron J. Seigo
eb0bf064ab instead of announcing new screens and not announcing new containments, announce new containments as well as screen affinity changes and let the host app worry about what to do from there
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784941
2008-03-12 20:41:03 +00:00
Aaron J. Seigo
6dc52aaa65 a bit more containment safety, so a view can have no containment and still function
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784939
2008-03-12 20:40:02 +00:00
Aaron J. Seigo
ff54447acf make the casts a bit more sensible
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784938
2008-03-12 20:39:23 +00:00
Fredrik Höglund
f17c8c6676 - Use the widget style to draw the item background in the delegate.
- Enable alternating row colors in the view instead of drawing a divider line.

Reviewed by Chani.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784857
2008-03-12 17:14:15 +00:00
Aaron J. Seigo
e702ebca9a new panel containment positioning strategy: stacking horiz and non-horiz panels together vertically and horizontally, respectively
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784842
2008-03-12 15:23:33 +00:00
Aaron J. Seigo
f118a132f1 this param is used
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784841
2008-03-12 15:22:08 +00:00
Andrew Lake
4626ee4e45 Allow tiled svg center element.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783642
2008-03-09 00:15:32 +00:00
Script Kiddy
674d90f382 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783465
2008-03-08 03:19:54 +00:00
Stephan Binner
30595bb415 seperate applet and panel options in context menu
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783210
2008-03-07 12:43:17 +00:00
Aaron J. Seigo
5ea3cb88e1 give us a bit more of a border so faster mouse movements work too, without ruining the whole effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783029
2008-03-06 20:24:59 +00:00
Aaron J. Seigo
ef5ce1b506 slightly less BOLD
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783028
2008-03-06 20:23:37 +00:00
Aaron J. Seigo
ff5d238e73 tile a background
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=783023
2008-03-06 19:50:25 +00:00
Aaron J. Seigo
a234d1b6c3 move the call to init() out of ctor and call it immediately after construction; that way the vtable can be set up and we'll get the virtual called in the subclass
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782820
2008-03-06 05:18:36 +00:00
Aaron J. Seigo
5c2a3635f4 use our mimetype
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782796
2008-03-06 01:54:01 +00:00
Sebastian Sauer
33b65cd58e pass the init() call on to the applet which in turn is able to redirect it to an optional ScriptEngine
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782791
2008-03-06 00:40:09 +00:00
Sebastian Sauer
41af9cf69b testcase-- SVN_SILENT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782733
2008-03-05 21:20:56 +00:00