Commit Graph

1133 Commits

Author SHA1 Message Date
Aaron J. Seigo
9603d8cf57 we need to turn the background off here, as well.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741921
2007-11-26 18:32:25 +00:00
Aaron J. Seigo
f339cb9dcb config().deleteGroup() doesn't removethe applet, just the configuration for the applet. we need to remove the applet's main group to properly delete an apple from the config.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741916
2007-11-26 18:26:32 +00:00
Aaron J. Seigo
852d3253cc propery geometries
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741913
2007-11-26 18:23:51 +00:00
Sebastian Trueg
05ae38296c Do not run into an endless loop in case we have no containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741866
2007-11-26 16:25:12 +00:00
Aaron J. Seigo
09f337b3fa fix the test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741740
2007-11-26 09:28:48 +00:00
Script Kiddy
a490dc44ee SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741702
2007-11-26 08:05:24 +00:00
Pino Toscano
e79b663813 include fixup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741468
2007-11-25 18:17:19 +00:00
Tom Albers
bd382fa983 Fix wording so it does not result in false positives.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741335
2007-11-25 13:28:25 +00:00
Aaron J. Seigo
f54dcc2cc1 future proof the ConfigXml API a bit by pretending we actually know what to do with a KConfigGroup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741174
2007-11-25 00:14:27 +00:00
Aaron J. Seigo
9c31a55b06 use the corrrect signature for the virtual method
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741173
2007-11-25 00:13:49 +00:00
Aaron J. Seigo
ed8c50e03f completely change how we save and load containments and panels.
it all happens from one file now using nested groups. this has two major effects:

 - one file to rule them all for any given corona; this makes things even nicer for use in other apps, btw.
 - the ability to easily save, send/share and restore corona configuration layouts; something i've wanted from the start


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741158
2007-11-24 23:38:37 +00:00
Aaron J. Seigo
1e1b63b9fe add the Geometry Changed constraint
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741157
2007-11-24 23:37:18 +00:00
Matias Valdenegro Toro
6c5aea1f60 Add license header to label.cpp
Remove "at your option" from label.h

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740756
2007-11-24 02:45:34 +00:00
Percy Leonhardt
a166f48ccc Support resizing of applet while handle is visible.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740406
2007-11-23 08:01:29 +00:00
Script Kiddy
17ab44405d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740393
2007-11-23 07:39:04 +00:00
Dirk Mueller
0142f8653c fix license headers
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740323
2007-11-23 00:08:03 +00:00
Dirk Mueller
e67ddc6a62 fix licensing header
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740318
2007-11-23 00:03:27 +00:00
Frerich Raabe
64a2b7bd9a - Don't leak memory; the "slot" string is allocated with qstrdup() with uses
new[] internally.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740217
2007-11-22 20:30:24 +00:00
Aaron J. Seigo
0b0a4fc8fa set a window role so we can identify this dialog generically
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740202
2007-11-22 19:46:48 +00:00
Alexander Wiedenbruch
e4765f3dcd Sort the applets alphabetically to make it easier to find the right applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=740196
2007-11-22 19:39:16 +00:00
Ryan P. Bitanga
72a3b2b68b Add a whitelist to loadRunners, change canBeConfigured to isConfigurable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739989
2007-11-22 09:08:58 +00:00
Aaron J. Seigo
2fbb4b5fee SVN_SILENT: note to self.. don't patch on one machine, then commit from another blindly
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739973
2007-11-22 08:00:35 +00:00
Aaron J. Seigo
fc6b8e4a95 be more careful about the things we watch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739951
2007-11-22 07:37:57 +00:00
Seb Ruiz
d6001be92a warning fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739904
2007-11-22 07:19:43 +00:00
Seb Ruiz
d8961b351c use correct precision
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739895
2007-11-22 07:16:34 +00:00
Andre Duffeck
a93b6f8e07 startPos has to return absolute positions
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739868
2007-11-22 06:00:02 +00:00
Aaron J. Seigo
9c52d8f067 actually make plasmoid removal work and harden the applet handle against the applet being removed from under it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739867
2007-11-22 05:11:06 +00:00
Script Kiddy
e9d29e93b5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739529
2007-11-21 07:59:36 +00:00
Script Kiddy
734eb280b3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739007
2007-11-20 07:43:10 +00:00
Aaron J. Seigo
65d405f264 more layouting love;
* widgets should let Widget handle sizing, geometry unless there are very good reasons for it
* don't relayout the parent layout if the parent layout is already relayouting, because that relayout will have called the child's relayout in the first place. get it? relayout!
* i can dance. we can dance. do the relayout dance.
* some style guide fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738957
2007-11-20 01:19:59 +00:00
Aaron J. Seigo
396a48d6ce don't implement your own min/max size like this
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738952
2007-11-20 01:00:06 +00:00
Aaron J. Seigo
14c8999f12 SVN_SILENT style guide fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738950
2007-11-20 00:47:20 +00:00
Aaron J. Seigo
9b29f430db a little bit of spacing in the panel between items makes the baby happy.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738948
2007-11-20 00:44:29 +00:00
Aaron J. Seigo
060144d623 protect against relayout recursion here as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738932
2007-11-20 00:05:21 +00:00
Aaron J. Seigo
e614df56d0 * consolidate geometry() and setGeometry() from the layouts into Layout
* introduce relayout() which does only that
* place guards around relayout() calls in Layout class to prevent recursion

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738923
2007-11-19 23:45:56 +00:00
Alexis Ménard
ff0b3da511 Fix include for layout
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738921
2007-11-19 23:40:03 +00:00
Alexis Ménard
ca5e5448ab Fix another include file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738913
2007-11-19 23:24:12 +00:00
Alexis Ménard
55d04002f7 Fix setSize now protected
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738909
2007-11-19 23:16:22 +00:00
Alexis Ménard
06931dca66 Fix changing include and missing install files
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738908
2007-11-19 23:11:40 +00:00
Aaron J. Seigo
92ba2c1b0b move all the layouts to their own directory; much more logical and makes it easier to not miss layouts that need changes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738898
2007-11-19 22:42:56 +00:00
Aaron J. Seigo
26098964a9 some basic guards; much, much more to follow but first must move files around
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738887
2007-11-19 22:24:18 +00:00
Aaron J. Seigo
9b25961432 code defensively so that items can't be double added to layouts. i love the class design here that makes me duplicate code all over =(((
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738877
2007-11-19 22:04:30 +00:00
Aaron J. Seigo
364b0dca90 minor cleanups and better use of convenience api's
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738770
2007-11-19 16:37:46 +00:00
Aaron J. Seigo
fb73ea9e37 fix button painting position when there is no configure button
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738758
2007-11-19 15:52:17 +00:00
Aaron J. Seigo
6124183a72 move the blur.cpp into the #define as we don't even really use it right now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738753
2007-11-19 15:40:55 +00:00
Dirk Mueller
7348a68f3c these two are no longer implemented
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738682
2007-11-19 13:01:43 +00:00
Aaron J. Seigo
71b89ebb5f don't show categories with no visible items in them
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738621
2007-11-19 09:46:52 +00:00
Aaron J. Seigo
07e9e1d3e3 stub in the code for restoring the transform; however it doesn't work as the FIXME explains. but i'm too tired to do anymore on this tonight
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738595
2007-11-19 09:21:57 +00:00
Aaron J. Seigo
523c2971c6 * save the transform to the config file
* clean up some dead code
* try and get rid of a few of the jaggies that happen when rotating

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738594
2007-11-19 09:21:11 +00:00
Aaron J. Seigo
8158515bfd * actually resize the applet rather than just change its matrix
* correct the positioning of the close button
* correct the minimum required size bit

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738577
2007-11-19 07:58:31 +00:00