Commit Graph

6811 Commits

Author SHA1 Message Date
Aaron J. Seigo
0ea2371835 * work around a bug in Qt where the receiver count isn't updated until *after* another connect is made (disconnects don't count); this will work even after fixed upstream (and yes, it was reported)
* be a bit smarter with connect/disconnects
* return a pointer to the Relay directly in the private interface rather than a generic qobject

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791628
2008-03-30 01:58:10 +00:00
Aaron J. Seigo
f9d6be9626 use isEmpty() instead
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791612
2008-03-30 00:57:36 +00:00
Aaron J. Seigo
18fdd9515c more accurate whatsthis for the new ui
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791611
2008-03-30 00:56:34 +00:00
Aaron J. Seigo
4da6dba89b add a stub for PackageStructure::uninstallPackage
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791610
2008-03-30 00:56:09 +00:00
Aaron J. Seigo
ca142dbc32 * also install native applets ;)
* don't leak the installer

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791609
2008-03-30 00:55:21 +00:00
Chani Armitage
a5ec59b775 -setDefaultText no longer clobbers regular text
-fewer string comparisons

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791584
2008-03-29 22:22:44 +00:00
Stephan Binner
7ee81565fb unbreak build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791357
2008-03-29 08:37:44 +00:00
Richard J. Moore
b5425f16b3 - Fix missing Q_OBJECT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791316
2008-03-28 23:48:31 +00:00
Chani Armitage
fb7a84644d compare default text correctly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791246
2008-03-28 21:11:57 +00:00
Chani Armitage
7983ed5bb9 comments++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791229
2008-03-28 19:43:17 +00:00
Aaron J. Seigo
213fa7106d copy and paste error; thanks to Kent Hansen for spotting it
CCMAIL:khansen@trolltech.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791158
2008-03-28 15:15:44 +00:00
Andre Duffeck
47f56bd824 Use KColorScheme::InactiveText role for the sub-titles
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791134
2008-03-28 13:40:41 +00:00
Andre Duffeck
10dd3c7dac apidox fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791060
2008-03-28 07:46:49 +00:00
Andre Duffeck
57479a0a11 apidox fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791058
2008-03-28 07:42:25 +00:00
Andre Duffeck
5bfb429f5e some apidox fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791056
2008-03-28 07:36:36 +00:00
Script Kiddy
b528466da1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790904
2008-03-27 20:13:14 +00:00
Adriaan de Groot
b70a5c53bb floor() is c99, need math.h for it as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790776
2008-03-27 12:53:48 +00:00
Pino Toscano
1a45caaf7e fix the location of the non-camelcase include
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=790486
2008-03-26 19:29:36 +00:00
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