Commit Graph

54 Commits

Author SHA1 Message Date
Dan Meltzer
f57cc1c623 Lotsa little ebn fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805672
2008-05-09 05:32:15 +00:00
Albert Astals Cid
4068f45cf9 const & in foreach
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801430
2008-04-26 16:19:00 +00:00
Laurent Montel
2c65035981 Disable help button until doc will created
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800976
2008-04-25 11:02:58 +00:00
Malcolm Hunter
8e9dd61541 Typo fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=799557
2008-04-21 21:20:03 +00:00
Dmitry Suzdalev
c2b28413dd /me done another round of simple stuff renaming :)
(corresponding wiki items <s>-ed out)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797824
2008-04-16 21:15:38 +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
Dmitry Suzdalev
a2919ba41f Fix double-clicking behaviour of appletbrowser - don't emit double click event
if clicked on "favicon" or "remove" column

reviewed by aseigo

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=785253
2008-03-13 16:10:11 +00:00
Aaron J. Seigo
ff54447acf make the casts a bit more sensible
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784938
2008-03-12 20:39:23 +00:00
Fredrik Höglund
f17c8c6676 - Use the widget style to draw the item background in the delegate.
- Enable alternating row colors in the view instead of drawing a divider line.

Reviewed by Chani.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=784857
2008-03-12 17:14:15 +00:00
Aaron J. Seigo
5c2a3635f4 use our mimetype
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782796
2008-03-06 01:54:01 +00:00
Sebastian Sauer
92a724abe3 removed all SuperKaramba specific logic since we are using the ScriptEngine for this now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=781482
2008-03-02 23:41:20 +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
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
Aaron J. Seigo
756041badd const ref fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776990
2008-02-19 09:19:02 +00:00
Aaron J. Seigo
b19eb3eaff handful more of krazy fixes and i'm done for the night
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776988
2008-02-19 09:12:34 +00:00
Aaron J. Seigo
f1b334f9a3 explicit
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776979
2008-02-19 08:32:32 +00:00
Rafael Fernández López
2eae59175c Make the applet browser be faster when resizing. Still being slower than normal dialogs, we will have to do more insight into this issue.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776807
2008-02-18 20:55:50 +00:00
Aaron J. Seigo
d604a06e6b this doesn't smooth scroll so much as it scrolls one pixel at a time... smooth scroll would be nice, though. what was the intention here, Rafael?
CCMAIL:ereslibre@kde.org
BUG:157912

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776051
2008-02-17 09:23:19 +00:00
Aaron J. Seigo
eb5e0658df SVN_SILENT: silly "make it seem faster" obfuscatory code like this just sets my teeth on edge =) clarity is next to goddessliness
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=773474
2008-02-11 06:07:14 +00:00
Aaron J. Seigo
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Alex Merry
77ef55b587 Bye, bye, deprecated KLibLoader usage.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758257
2008-01-07 12:50:17 +00:00
Jakob Petsovits
7acf4a2317 Icon renaming (code and icon changes - KDE/):
* bookmark -> bookmarks
* and finally, remove user-2 and konv-message[2] from Oxygen

svn path=/trunk/KDE/kdelibs/; revision=757019
2008-01-03 23:54:18 +00:00
Alexis Ménard
5326f56dbb setFocus on the textinput by default
Close BUG : 154748

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=754471
2007-12-29 21:52:40 +00:00
Jakob Petsovits
9f2e3e276e Icon naming spec compliance (code changes - KDE/):
edit-add -> list-add

You have no idea how hard it was to reduce the number of
"add" icons from two to one. I nearly died in the process :-S
The difficult part, of course, was to find the answer
to the everlasting question "What does each icon mean?"

And these are my findings:

* If you add anything to a list (or something else that is
  some kind of collection of items), you use list-add.
* If you remove something from that list (or collection)
  without destroying the removed object itself (because
  it's only a reference to something outside),
  you use list-remove.
* If you delete something from that list (or collection)
  and the item that you deleted had its home in the list
  and is therefore destroyed on removing,
  then you use edit-delete.

Phew. Who wants to open up a TechBase article on using icons?

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=753984
2007-12-28 21:26:03 +00:00
Adriaan de Groot
03436aad7d The usual includes dance
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746994
2007-12-10 19:50:31 +00:00
Adriaan de Groot
febb919d3e Same workaround for bad include file / dir handling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746980
2007-12-10 19:38:31 +00:00
Chani Armitage
950cc1c149 appletbrowser gets a remove icon and a filter for running applets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=746735
2007-12-10 01:18:57 +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
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
Aaron J. Seigo
3d3beac449 * setting the application in the ctor is really ugly. use an accessor for that.
* upon using the accessor i disocvered they didn't actually do anything except set the member variable; no changes actually took place in the dialogs.

eventually, we should probably consider moving the application name to a central location in libplasma, e.g. a Plasma::setMainComponent(KComponentData&) that initializes itself to the app's mainComponent()... there's too many of these app name things around

also, when the item model updates itself, the view in the dialog doesn't. i've added a hack in AppletBrowser::setApplication to re-set the item model on the view. maybe Ivan you could take a look at that sometime? it's not overly critical as it works for now due to the hack.

CCMAIL:lfranchi@gmail.com
CCMAIL:ivan.cukic+kde@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733614
2007-11-06 21:10:11 +00:00
Leo Franchi
845139ae0a add support for filtering applets based on specified application. useful for non-plasma targets (e.g. amarok). default behavious remains the same.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=733292
2007-11-06 02:45:24 +00:00
Aaron J. Seigo
e2f8093c2e SVN_SILENT: dunno why i committed this in the first place, probably just missed it in the import
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730442
2007-10-28 19:59:40 +00:00
Aaron J. Seigo
733a6071a2 not used anymore
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729788
2007-10-27 03:36:14 +00:00
Rafael Fernández López
e1868db200 smooth scrolling++
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729565
2007-10-26 07:58:12 +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
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
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
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
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ć
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
Ivan Čukić
599a527eb0 Used in the past emblem enabled
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723318
2007-10-09 10:00:54 +00:00
Ivan Čukić
700fe7d498 Added support for remembering favorites in the plasmarc file
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723316
2007-10-09 09:51:55 +00:00
Ivan Čukić
9ef8749a7f Made recommended plugins configurable. The default 'Recommended by KDE' is removed and should be added to the default plasmarc file.
Example plasmarc section:

[Applet Browser]
recommended.kde.icon=help-about-kde
recommended.kde.caption=KDE
recommended.kde.plugins=digital-clock

recommended.debian.icon=debian-logo
recommended.debian.caption=Debian
recommended.debian.plugins=groupphoto

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723162
2007-10-08 21:50:38 +00:00
Pino Toscano
dae62a8fcc extra ';', remove custom implementation of qMin()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718860
2007-09-29 21:45:20 +00:00
Ivan Čukić
8f9c48ce04 Dragging now shows plasmoid icons instead of ItemViewDelegate painted items.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=718817
2007-09-29 19:11:27 +00:00
Aaron J. Seigo
bf8a2905be we really don't need this testing output now, though i'm keeping it there (just commented out) so one can easily test things still. (better would be a test in tests/, but this is ok for the immediate)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717967
2007-09-27 20:02:24 +00:00
Aaron J. Seigo
8db658db8e and now with the old appletbrowser out of the way, move the
AppletBrowserWindow-now-AppletBrowser files to where they once were (oh
what we go through to make sure nobody's builds break and svn doesn't
puke on me)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717963
2007-09-27 19:55:18 +00:00
Aaron J. Seigo
a64cea3758 - remove AppletBrowser-the-wrapper-class
- change AppletBrowserWindow to be AppletBrowser

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717959
2007-09-27 19:48:51 +00:00