Commit Graph

1570 Commits

Author SHA1 Message Date
Aaron J. Seigo
3c4a946af7 and don't access the view unless we actually have one
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781390
2008-03-02 19:32:37 +00:00
Aaron J. Seigo
7de5776f8e support non-Plasma::View's as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781389
2008-03-02 19:27:08 +00:00
Sebastian Sauer
405c35b314 * activate (enter/dblclick) an item in the "Install New Widget From File" list goes next
* focus the list, makes keyboard-navigation easier
* bigger default size of the window, needed anyway for the filewidget


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781310
2008-03-02 15:37:50 +00:00
Marco Martin
2d34c6777c Initialize d->numDisplayLines
(and i wondered why sizeFromIconSize() seemed to have a non deterministic behaviour :P)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781244
2008-03-02 12:30:29 +00:00
Pino Toscano
fd0adac258 slots -> Q_SLOTS
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781228
2008-03-02 11:05:54 +00:00
Chusslove Illich
9534c253e8 Complete name/pluginName change.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781223
2008-03-02 10:44:12 +00:00
Aaron J. Seigo
0a302e2944 if the init of the applet is not delayed (so it's not startup or some other mass creation) then we schedule a config saving
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781207
2008-03-02 09:04:04 +00:00
Aaron J. Seigo
483276b488 schedule a config saving when an applet is removed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781204
2008-03-02 08:43:07 +00:00
Pino Toscano
896bae2516 - public Qt includes as QModule/QFoo
- public KDE CamcelCase includes as KDE/KFoo

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781163
2008-03-02 02:18:10 +00:00
Script Kiddy
3e26f05764 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781129
2008-03-01 23:22:21 +00:00
Aaron J. Seigo
8c1990f49b put the applet notification of immutability in the containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780750
2008-02-29 22:17:55 +00:00
Sebastian Sauer
241f31a32a let the applets know about the updated ImmutableConstraint too.
ok?!
CC_MAIL:aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780735
2008-02-29 21:50:16 +00:00
Script Kiddy
79fc6bfd6f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780675
2008-02-29 19:02:02 +00:00
Dan Meltzer
7f624f85d9 Revert one large git mess
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780657
2008-02-29 17:50:57 +00:00
Dan Meltzer
64f0ce7739 Fix some problems aseigo pointed out in the code.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780655
2008-02-29 17:43:35 +00:00
Dan Meltzer
a081559257 Commit initial progress of work to port to qt4.4
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780654
2008-02-29 17:43:31 +00:00
Aaron J. Seigo
a3ed531670 * use PackageMetadata when installing a package
* provide a Package::registerPackage convenience method
* make the contentsPrefix optional / changeable; required for packages we don't control the structure of
* PackageMetadata -> file fixes
* provide a way to set the implementation languae in PackageMetadata (e.g. "dashboard" or "webkit")

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780464
2008-02-29 08:14:32 +00:00
Aaron J. Seigo
cbffa9ae29 allow mime types, which override simple globbing
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780463
2008-02-29 08:12:20 +00:00
Aaron J. Seigo
427c61de9b * check the write attribute in the service for the Package type
* set the path of the loaded PackageStructure
* more verbose failure messages

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780461
2008-02-29 08:11:45 +00:00
Aaron J. Seigo
331d163253 add the ability to install packages from files. needs a UI review by another pair of usability sensitive hands. there are still issues, such as lack of double click interactions and feeble feedback on error and success. but it works, now we can pollish.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780460
2008-02-29 08:10:14 +00:00
Adriaan de Groot
b3eae6af7b The @p structure parameter isn't treated as const by the implementation, which calls setPath() on it; don't pretend that it is in the headers.
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780230
2008-02-28 13:07:59 +00:00
Aaron J. Seigo
1a84d94eeb package structure appropriateness for dynamic packages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780124
2008-02-28 03:53:26 +00:00
Script Kiddy
2e9488e2af SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=780018
2008-02-27 20:45:01 +00:00
Aaron J. Seigo
577ea0bbe6 * let PackageStructures define their own install routine
* split install in Package into both installing the Package and registering it, allowing PackageStructures to implement their own installation routine without having to reimplement registration

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779805
2008-02-27 00:51:04 +00:00
Sebastian Kügler
ae0510db05 Icons now fade in the background animation. They also learnt to react on color theme
changes. Some codingstyle changes as the icing on the cake.

The fade-in effect can be switched off with Rafaels new feature, btw.

RB:195

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779804
2008-02-27 00:50:07 +00:00
Aaron J. Seigo
758f9ecb0b * don't crash when we don't have a containment
* don't duplicate the buttons in the appletbrowser: if you want buttons, you want the dialog
* start of get widgets options

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779727
2008-02-26 21:22:13 +00:00
Aaron J. Seigo
df25f5422e little test app so i can play with the applet browser a bit easier
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779725
2008-02-26 21:21:09 +00:00
Aaron J. Seigo
aad4f7e305 build and pass
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779707
2008-02-26 20:48:02 +00:00
Vincenzo Di Massa
a2a6ed7f04 Delete the property on the parent widget :-)
My first bugfix, yay!

BUG: 157816

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779541
2008-02-26 13:00:49 +00:00
Laurent Montel
513701457b It was removed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779454
2008-02-26 07:52:21 +00:00
Aaron J. Seigo
450d289094 color scheme signalling, patch by Andrew Lake
CCMAIL:jamboarder@yahoo.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779435
2008-02-26 05:08:08 +00:00
Aaron J. Seigo
8379d47abb add useful includes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779433
2008-02-26 05:07:15 +00:00
Aaron J. Seigo
bed3c1d927 * share the package structures by using a single shared ptr
* use the script's contentSizeHint if we are a script

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779417
2008-02-26 04:08:51 +00:00
Aaron J. Seigo
12cea8acf1 add a contentSizeHint so that this can be easily forwarded in those cases where it needs to be something special (mac dashboard widgets being such an example)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779416
2008-02-26 04:08:01 +00:00
Aaron J. Seigo
9c94c63dfe make PackageStructure a loadable plugin, so that there are now three methods to get a PackageStructure:
0. builtin
1. c++ plugin
2. config file

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779415
2008-02-26 04:07:07 +00:00
Aaron J. Seigo
9b0fcfe714 add a service type for PackageStructure
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779414
2008-02-26 04:04:57 +00:00
Aaron J. Seigo
7cf7109266 load* -> load .. simpler, less verbose API
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779407
2008-02-26 01:58:55 +00:00
Aaron J. Seigo
fd705735ca register the package format key
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779406
2008-02-26 01:58:12 +00:00
Aaron J. Seigo
b4722d7052 some debug to help figure out the xinerama problems; will disable once it's all good.
Will: can you svn up and send the output this generates for you? thanks
CCBUG:158406

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779405
2008-02-26 01:55:50 +00:00
Aaron J. Seigo
2f78de3142 * make it possible for applets to define what package structure they use
* update to api tweakages

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779404
2008-02-26 01:48:52 +00:00
Aaron J. Seigo
b8662cb026 adjust the naming of these internal classes for some consistency
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779403
2008-02-26 01:47:26 +00:00
Aaron J. Seigo
ac195d0137 * make read non-static so you have to create a PackageStructure first; better symetry with write and prevents some unecessary object copies between methods (e.g. load -> read)
* provide a load method

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779402
2008-02-26 01:46:17 +00:00
Rafael Fernández López
954352ae1b Animations enable/disable system wide. TODO: Do a proper GUI for the style KCM and the animations feature.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779390
2008-02-26 00:53:54 +00:00
Aaron J. Seigo
9c6dd4846b assert on having a view before calling this ...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779305
2008-02-25 20:50:26 +00:00
Aaron J. Seigo
507a6f02a0 rearrange the initialization code of the engines a bit, moving more out of the manager class, and calling init immediately. applets shouldn't be connecting to them in their ctor, so this should have minimal (or even zero) effect on start up while ensuring that init gets called first no matter what
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779042
2008-02-25 11:24:37 +00:00
Zack Rusin
bc5accafd2 Fix a crash on loading of not existing engines.
r=aseigo (r/207/)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778956
2008-02-25 01:19:07 +00:00
Petri Damstén
0fb0b0f613 remove const to match AbstractRunner
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778873
2008-02-24 19:57:50 +00:00
Aaron J. Seigo
bfbea8235d this isn't an AbstractRunner subclass
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778836
2008-02-24 18:23:21 +00:00
Riccardo Iaconelli
8680797130 Make the desktop toolbox ignore zoom-ins and zoom-outs,
and therefore always remain visible and clickable.
Fix celeste's "bug". :-)

Shall it always remain on the top-right corner? I'll let
the panel-devel folks decide.

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>

CCMAIL: panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778736
2008-02-24 13:35:30 +00:00
Aaron J. Seigo
4b193edf0e don't make a submenu if there are no items in the top menu
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=778473
2008-02-23 18:02:42 +00:00