Commit Graph

7273 Commits

Author SHA1 Message Date
Aaron J. Seigo
975553bb1e debug for apaku =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729430
2007-10-25 23:19:49 +00:00
Aaron J. Seigo
576798dd52 set panels properly in setScreen. this will need to be augmented with screen edge stuff eventually as well, but for now this might work better on multiple screens.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729421
2007-10-25 23:09:02 +00:00
Aaron J. Seigo
136363aefe * don't cache the painting; prevents blowing the pixmap cache and killing performance on large screens. we don't move this around anyways, and we only paint the exposed rect when using a bitmap wallpaper
* default to a bitmap wallpaper as we handle those a lot better (e.g. only painting the exposed rect)

the paper painting code really does need to move to DesktopContainment at some point =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729228
2007-10-25 11:20:23 +00:00
Aaron J. Seigo
b93fb635a2 comment out lots of debug that i don't need right now (and hopefully anymore =) so other output is easier to find
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729227
2007-10-25 11:18:04 +00:00
Alexis Ménard
ff958d897a change number of frame for sliding animation, just to test. I should add
a slown effect

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729219
2007-10-25 10:15:06 +00:00
Aaron J. Seigo
49874ae140 temporary fix for the beta: don't make items unmovable when added to a layout as that is screwing with MouseReleaseEvents. this means panels items are, once again, freely draggable (which is wrong) but on the upside you can open the menu again
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729202
2007-10-25 09:12:15 +00:00
Aaron J. Seigo
08d99afd90 use the NoDisplay property to hide things, as per tradition
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729064
2007-10-25 01:42:32 +00:00
Aaron J. Seigo
b448d9bb90 when an item is added to the layout, give it a chance to react. in the case of Widget, we're going to set the movable state of the QGraphicsItem. the result: items move, or don't, based on whether or not they are in a layout. finally, you can't just move shit around in the panel.
it's pretty hackish since we have to special case FreeLayout but hey, since when were layouts in plasma ever sane?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728764
2007-10-24 06:54:26 +00:00
Aaron J. Seigo
97ddf36df4 * emit pressed(true) when pressed
* excuse the debuggin, but i need to figure out why events are getting eaten (again) by the icon class

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728763
2007-10-24 06:52:45 +00:00
Aaron J. Seigo
db095df33e animate items being removed. whee. the only problem would be if the item is being removed but plasma is quit before the anim finishes... or if some top-level applet calls disappear on itself (though why they'd do that i don't?)
let's see if that ever really matters. if it does, then we can simply keep a list of applets being removed around. but let's play fast 'n loose for now.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728722
2007-10-24 02:10:10 +00:00
Aaron J. Seigo
603130699a since signals/slots are pretty literal in their signatures, use the fully qualified name of the enum .. namespaces and all. makes this more easily usable from the outside
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728721
2007-10-24 02:08:09 +00:00
Aaron J. Seigo
96712a50a8 --warnings; --deprecations;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728720
2007-10-24 02:04:02 +00:00
Aaron J. Seigo
30afcb5ef9 * don't create multiple rows in the case of an sk applet; this does mean that you can't mix'n'match plasmoids and sk themes in the same .desktop file, but i can't see that as a bad thing tbh
* don't show items that are in the group "Hidden"

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728714
2007-10-24 01:04:36 +00:00
Aaron J. Seigo
c810963a94 minor housecleaning bits: double click in applet dialog works now; put back lines for what the center background painting *shoudl* be were it not for QSvgRenderer being buggy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728613
2007-10-23 20:14:29 +00:00
Aaron J. Seigo
1db6f236e7 provide a bit of a margin between containments; this ensures that we don't get painting "bleed" between panels and the desktop as well which should help kwin go a little less crazy trying to keep up with re-compositing the whole desktop every time =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728530
2007-10-23 15:56:40 +00:00
Stephan Binner
245e63418e revert "cleanup" breakage of r696698
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=728171
2007-10-22 16:16:30 +00:00
Aaron J. Seigo
9fa9cb07eb now that we return keys, we need to get the paths explicitly.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727893
2007-10-22 01:36:08 +00:00
Aaron J. Seigo
b1104ebe9d unit test for PackageStructure (and, as a side effect, much of the Plasmoid package definition as well)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727890
2007-10-22 01:30:29 +00:00
Aaron J. Seigo
cd89ecef2d SVN_SILENT: whoops, other half of the previous commit about returning keys not paths
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727889
2007-10-22 01:29:27 +00:00
Aaron J. Seigo
1176180a40 * return keys instead of paths; that's what the path(const char* key) method is for
* files and requiredFiles were reversed (unit testing is indeed good)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727888
2007-10-22 01:28:48 +00:00
Aaron J. Seigo
5752d62b18 * explicity-ify the ctors
* fix a typo (mainconfigui -> mainconfiggui)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727886
2007-10-22 01:27:45 +00:00
Frerich Raabe
a08108b482 - Initialize this variable (it's used conditionally in resizeEvent)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727696
2007-10-21 13:51:49 +00:00
Aaron J. Seigo
4f23175112 * remove a now-unused variable
* add the kickoff menu

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727585
2007-10-21 05:17:31 +00:00
Frerich Raabe
6180c8c433 - Fixed a typo
- showConfigurationInterface needs to be (as the API documentation points
  out correctly) a slot, otherwise it won't work. So put it into the slots
  section.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727149
2007-10-19 21:43:27 +00:00
Script Kiddy
cdc7209ec8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726885
2007-10-19 06:33:28 +00:00
Andrea Diamantini
002e90a572 fix a little problem with addLocalDirectory() call in
createPackage() function.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726808
2007-10-19 01:03:21 +00:00
Chani Armitage
1d9e0c424f make the contextmenu show up in the right place for panel apps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726620
2007-10-18 09:52:59 +00:00
Mike Evans
d0844394f8 Fix clipping of Toolbox Buttons
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726388
2007-10-17 17:35:48 +00:00
Hoàng Đức Hiếu
b14fb9605e Add font property to Plasma::Label; this also helps getting more accurate sizeHint than using Arial 12pt when the default font is Arial 10pt
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726342
2007-10-17 15:11:29 +00:00
Andre Duffeck
ed1430faa4 be less noisy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726279
2007-10-17 12:40:06 +00:00
Script Kiddy
76bf325f33 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=726175
2007-10-17 05:59:01 +00:00
Hoàng Đức Hiếu
b038a10d13 sizeHint: take alignment and Qt::TextWordWrap flags into account, as done in paintWidget
the QRectF is a reasonably large rect so that it doesn't interfere with result size

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725859
2007-10-16 11:54:37 +00:00
Script Kiddy
830b4b5e84 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725777
2007-10-16 06:15:12 +00:00
Stephan Binner
bb0a94e9eb i18n style guide fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725487
2007-10-15 14:38:36 +00:00
Andre Duffeck
53e8f95ea6 Fix duration and fadeIn/fadeOut animations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725400
2007-10-15 09:41:39 +00:00
Stephan Binner
397b49d1ab fix capitalization
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725397
2007-10-15 09:32:57 +00:00
Andre Duffeck
9126f8263f less debug output
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725391
2007-10-15 08:58:08 +00:00
Andre Duffeck
54211a2f54 Fix size when put in layouts.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725390
2007-10-15 08:54:06 +00:00
Aaron J. Seigo
ea36afad03 * appletbrowser is part of libplasma now, not a separate entity
* get all the sources when generating the pot file

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725169
2007-10-14 20:09:06 +00:00
Aaron J. Seigo
677ed4a35a be more explicit about the signature .. i don't think it matters to
QObject::connect which normalizes away the const's and &s, but should
help the copy 'n pasters a bit more =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725150
2007-10-14 18:34:56 +00:00
Ivan Čukić
93187d0a90 Argument verification
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725047
2007-10-14 10:57:14 +00:00
İsmail Dönmez
3ffa8ee720 SVN_SILENT --pedantic
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724810
2007-10-13 14:33:14 +00:00
Ivan Čukić
04f5730e1e NodeLayout:
* initial implementation of sizeHint()
* support for automatic sizing (on one or two dimensions)
* simplified node definition

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724794
2007-10-13 13:29:21 +00:00
Aaron J. Seigo
108c3e323f ++quiet;
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724654
2007-10-12 22:45:41 +00:00
Aaron J. Seigo
6b3764fa5f make this a bit more clear in the documentation as it even caught me =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724612
2007-10-12 20:27:51 +00:00
Aaron J. Seigo
18a42ef3b5 - replace nasty literal with a nice static const int
- make custon anims work properly

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724611
2007-10-12 20:26:07 +00:00
Alexander Wiedenbruch
ea4a368a42 The integration of SuperKaramba into Plasma is now done
by the SuperKaramba Plasma Applet alone that comes with SuperKaramba itself.

- Remove all previous functions to load SuperKaramba themes
- Add special code into applet browser to handle the theme loading

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724563
2007-10-12 17:30:30 +00:00
Ivan Čukić
f22a71a22d Changing the licensing to GNU Library/Lesser GPL
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724418
2007-10-12 08:45:12 +00:00
Ivan Čukić
b378ed6c64 Changing the licensing to GNU Library/Lesser GPL
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724416
2007-10-12 08:44:02 +00:00
Ivan Čukić
f4936ae814 License text change...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724403
2007-10-12 08:16:40 +00:00