Commit Graph

52 Commits

Author SHA1 Message Date
Alex Merry
240e0b4309 QIcons are implictly shared. There's no need to pass pointers to them around and leak memory everywhere.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=851452
2008-08-23 17:22:26 +00:00
Aaron J. Seigo
98e46ae18a watch for containment destruction; for people who like torturing plasma in weird nd wonderful ways
BUG:166824

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=833976
2008-07-17 18:36:55 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Aaron J. Seigo
caa6823d98 always use double click, regardless of single/double click activation in this list (necessary due to update in kstyle in kdelibs)
BUG:165135

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=825686
2008-06-29 00:06:04 +00:00
Aaron J. Seigo
587e0f8418 initialize the running applets
BUG:164397

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=823260
2008-06-22 22:06:43 +00:00
Aaron J. Seigo
97be4fc11b listen to Containment::appletRemoved for the applet count
BUG:164335

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821592
2008-06-17 21:55:35 +00:00
Aaron J. Seigo
d5b4ede232 connect to the plasmoid feed
BUG:160494

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821062
2008-06-16 09:04:14 +00:00
Marco Martin
c420730dd5 when a new containment is set the running applets list needs to be
rebuilt.
this makes such list to actually work again

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812600
2008-05-25 20:03:28 +00:00
Aaron J. Seigo
f4d9309b86 api cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802539
2008-04-29 20:01:23 +00:00
Aaron J. Seigo
04ad90006a don't try and position new applets within layouts ourselves, that's too Containment implementation specific. instead send the pos of the applet with the appletAdded signal and let containment subclasses figure it out themselves.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800835
2008-04-24 23:07:21 +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
Alexis Ménard
d5753f1fba welcome back to the background that will be a little modified soon with window frame (that
will include the applet handle No More Seperate Item ;) ) + delete in layouts in 
containments when removing applets

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=797066
2008-04-14 20:37:54 +00:00
Aaron J. Seigo
18fdd9515c more accurate whatsthis for the new ui
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791611
2008-03-30 00:56:34 +00:00
Stephan Binner
7c3cf27433 i18n interface style guide fixes
.oO( Why don't people notice those bugs when blogging? )

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=782147
2008-03-04 12:03:34 +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
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
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
756041badd const ref fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=776990
2008-02-19 09:19:02 +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
1e11418a8d code improvements, ala chani
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774434
2008-02-13 09:33:29 +00:00
Aaron J. Seigo
713ef55b25 don't hold onto applet pointers in a meaningful way, it's just too dangerous
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774358
2008-02-13 04:03:17 +00:00
Aaron J. Seigo
1b96f05721 allow reseting the containment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=774348
2008-02-13 02:30:07 +00:00
Aaron J. Seigo
76747db2d9 --compiler.warningsCount();
--compiler.warningsCount();

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765001
2008-01-22 23:31:57 +00:00
Anne-Marie Mahfouf
39b5eb33ce bug fixe - no need to backport
BUG=155784

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761618
2008-01-15 09:09:00 +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
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
Jakob Petsovits
79ada16ef3 Icon naming spec compliance (code changes - KDE/):
* zoom-best-fit -> zoom-fit-best
* plasmagik -> tools-wizard
* and some other fixes, many of them in KMobileTools

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=756800
2008-01-03 19:55:37 +00:00
Jakob Petsovits
52881a5ac1 Icon renaming (code changes - KDE/):
history -> view-history
and other stuff I came across.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=752809
2007-12-25 20:17:06 +00:00
Aaron J. Seigo
25d2977510 don't bother with a corona only option
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=750746
2007-12-19 23:58:13 +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
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
Andre Duffeck
3ff97459e4 Split the AppletBrowser into AppletBrowser and AppletBrowserWidget
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=737519
2007-11-16 12:23:42 +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
Riccardo Iaconelli
b64dc645a9 I didn't figure out how to easily focus the lineedit, so just adding a TODO for now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732036
2007-11-02 15:31:34 +00:00
Riccardo Iaconelli
e6c37b408e Use 'plasma' as icon.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732035
2007-11-02 15:31:31 +00:00
Aaron J. Seigo
14ce8b1669 we are now refering to them as Widgets
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731239
2007-10-31 01:35:53 +00:00
Laurent Montel
36877e4e94 Fix mem leak
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729963
2007-10-27 14:27:25 +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
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
Stephan Binner
397b49d1ab fix capitalization
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=725397
2007-10-15 09:32:57 +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ć
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
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
Ivan Čukić
b2419420e5 GUI is created when needed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717953
2007-09-27 19:38:13 +00:00
Aaron J. Seigo
c58c19816f - remove some rather superfluous dptr methods
- whitespace fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717943
2007-09-27 19:04:24 +00:00