Aaron J. Seigo
8d5d8daeb3
give the configxml object our config object; probably works better that way ;)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694408
2007-07-30 16:19:07 +00:00
Aaron J. Seigo
b1fafa0edc
add a ctor that takes a KSharedConfig::Ptr
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694406
2007-07-30 16:18:27 +00:00
Aaron J. Seigo
f7abb4b135
* call prepareGeometryChange when the darw default background setting changes
...
* add in a completely untested-but-should-work ;) implementation of config ui loading; requires a package with config/ui/main.ui and config/xml/main.xml in it. should shave 7LOC off of the clock's Script.js, which is ~10% of the code line count!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694399
2007-07-30 16:00:29 +00:00
Aaron J. Seigo
b877dc8ee0
add main config xml and ui entries to the applet package structure
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694395
2007-07-30 15:56:04 +00:00
Script Kiddy
d511b20751
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=694108
2007-07-30 04:47:23 +00:00
Aaron J. Seigo
b9b651bf7e
if you're going to fix duplicates, take out the one that is out of alphabetical order. preventing dupes when hand editting is why i put things in alpha order in the first place.
...
also, remove a duplicate in the installed headers.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693937
2007-07-29 15:20:02 +00:00
Laurent Montel
0e16a6b846
Add missing include file
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693883
2007-07-29 11:35:29 +00:00
Laurent Montel
30afe352d1
Fix duplicate
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693867
2007-07-29 10:28:56 +00:00
Script Kiddy
e921256074
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693808
2007-07-29 05:20:59 +00:00
Aaron J. Seigo
b09384dcc5
remove more of the misguided lock applet commit
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693805
2007-07-29 05:06:04 +00:00
Thomas Georgiou
42199d52da
Finish reverting to the right revision.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693803
2007-07-29 04:36:38 +00:00
Thomas Georgiou
adddd535ff
Finish reverting.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693802
2007-07-29 04:33:48 +00:00
Thomas Georgiou
3b051def64
Revert commit.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693801
2007-07-29 04:33:21 +00:00
Thomas Georgiou
ee0793ef7d
Convert painters to stack from pointers.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693788
2007-07-29 01:41:13 +00:00
Thomas Georgiou
d58bbd2d29
Add dynamic shadows to standard background.
...
Color the shadows instead of a roundrect when zoomed out.
Actually paint the applet when zoomed out.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693787
2007-07-29 01:24:58 +00:00
Aaron J. Seigo
947ed386ab
* remove the lock/move stuff as it ignores kiosk and is already covered nicely by isImmutable and setImmutable
...
* on the base implementation of contentSize, check to see if we have a layout and if so use that to determine the size we ought to be
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693769
2007-07-28 23:41:40 +00:00
Aaron J. Seigo
08fca6641e
const fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693768
2007-07-28 23:40:21 +00:00
Aaron Eisenberg
36649f248d
Use the Oxygen color palette for coloring applets in group mode (based on their category).
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693736
2007-07-28 21:07:18 +00:00
Aaron J. Seigo
cedc2934c4
make it clear what services Applet provides in the apidox
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693718
2007-07-28 19:59:22 +00:00
Matt Broadstone
400e9788a5
Added documentation for Plasm::Icon, also added accessors for infoText-> allow for meta text to be associated with the icon
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693711
2007-07-28 19:27:56 +00:00
Matt Broadstone
9bc4377eff
For posterity's sake
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693708
2007-07-28 19:27:09 +00:00
Alexis Ménard
c5b02c7a1b
Fix missing compilation and install of widget label
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693642
2007-07-28 15:22:44 +00:00
Aaron J. Seigo
bf6fba2b27
* implement checkState and fix const'ness of the method signature
...
* implement updated
* add setChecked(bool)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693544
2007-07-28 10:06:03 +00:00
Aaron J. Seigo
cfe59991ba
const the private pointer; fixme an odd bit of code
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693533
2007-07-28 09:22:20 +00:00
Aaron J. Seigo
6d0616c2ff
* add label
...
* don't add rectangle, but comment it out so people know it wasn't simply "missed"
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693532
2007-07-28 09:21:47 +00:00
Aaron J. Seigo
24f6601a48
* set the state on mouse down for the whole icon
...
* don't go all clicky on the icon when a hover button claims the click
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693519
2007-07-28 08:22:44 +00:00
Script Kiddy
258a1684a6
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693473
2007-07-28 05:36:34 +00:00
Aaron J. Seigo
a60237fad3
make it a bit more obvious was is expected of you when you commit to libplasma
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693392
2007-07-27 21:09:11 +00:00
Aaron J. Seigo
a7fb94fb42
separate out the concept of kioskImmutability so we can take separate internal actions based on that as needed
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693391
2007-07-27 21:05:45 +00:00
Aaron J. Seigo
62052a153c
SVN_SILENT rm dead code
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693384
2007-07-27 20:40:27 +00:00
Aaron J. Seigo
a8b7589479
someone got confused as to the difference between "the layout that manages my children" and "the layout that manages me". this fixes that and stops crashes in applets that use vbox/hbox
...
* don't crash when parent=0 is passed in
* don't divid by 0 when we have no children
* have the (fugly) setManagingLayout and unsetManagingLayout and managingLayout methods
* do some memory management so layouts that are thrown around don't get lost in the heap
some unit tests would be nice. hell, a design document on the layout stuff would be nice. i know we're only keeping this around for 4.0, but ... yeah. ugh.
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693361
2007-07-27 20:00:07 +00:00
Aaron J. Seigo
293c4b5693
as useful as this is for people who screw up writing their applet, it makes it impossible to follow the debug log when it gets hit (and it is valid to hit it)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693360
2007-07-27 19:56:50 +00:00
Aaron J. Seigo
6f850a1f66
* hide() items on completed dissapear
...
* emit signals on anim completion
* note that the slide anim needs to be rewritten
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693277
2007-07-27 16:34:01 +00:00
Laurent Montel
e94eba8882
Some applet mustn't be move (for example desktop applets)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693187
2007-07-27 11:42:43 +00:00
Matias Valdenegro Toro
2120758983
Devirtualize minimumSize() and maximumSize() and add values to d-pointer.
...
Added setters.
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693115
2007-07-27 06:35:39 +00:00
Aaron J. Seigo
e0616c8c5f
elementRect() ... and hopefully i got the math right because i haven't tested it at all. for lfranchi, with love.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693068
2007-07-26 23:07:26 +00:00
Aaron Eisenberg
8d4d0e0631
Applets in group mode change color based on category (Currently only date and time category)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693065
2007-07-26 22:58:30 +00:00
Laurent Montel
1553ae4492
Allow to lock applet position
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693020
2007-07-26 20:22:04 +00:00
Aaron J. Seigo
60f199c791
today's random code quality fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693007
2007-07-26 19:56:16 +00:00
Aaron J. Seigo
21d39d530a
less contractions for the ebn
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692948
2007-07-26 16:47:39 +00:00
Aaron J. Seigo
bde805dbcf
make them not executable
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692946
2007-07-26 16:45:05 +00:00
Aaron J. Seigo
c4570130f5
tabsbegone
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692758
2007-07-26 07:25:30 +00:00
Matias Valdenegro Toro
ff936c2a57
Added Alignment and Pen options and getters/setters.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692757
2007-07-26 07:25:21 +00:00
Aaron J. Seigo
28b20a150a
* add hbox to build
...
* make hbox share the boxlayout superclass with vbox
* profit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692756
2007-07-26 07:23:30 +00:00
Matias Valdenegro Toro
bdb1418dbb
Use width-for-height Layout Management.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692753
2007-07-26 07:12:05 +00:00
Matias Valdenegro Toro
4f778d6e2d
Add Horizontal Layout class.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692743
2007-07-26 06:58:33 +00:00
Andre Duffeck
569e685e66
fix mysterious black boxes on the sides.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692738
2007-07-26 06:44:27 +00:00
Script Kiddy
bd9a6be3de
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692712
2007-07-26 05:53:35 +00:00
Aaron J. Seigo
b3f60fa248
this one took me a while to figure out =/
...
we need a separate private contentSize() for Applet because we need to be able to override what the subclass might be trying to accomplish. since the method is virtual, i had to put it in the dptr and call Applet::contentSize from there on successfully passing various tests such as "is this a script?" and "has this applet been marked as failed?". stupid polymorphism.
end result is that now an applet can, as expected, call setFailedToLaunch(true) and the applet gets the right size, no matter when or where it was called from.
huzzah.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692630
2007-07-26 02:36:53 +00:00
Aaron J. Seigo
0f8b73a399
be careful not call setFailed when we already have
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692626
2007-07-26 02:31:36 +00:00