Commit Graph

1007 Commits

Author SHA1 Message Date
Aaron Seigo
71d807c353 Merge remote branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kfile/kfilemetadatareaderprocess.cpp
	plasma/CMakeLists.txt
	plasma/packagestructure.cpp
	plasma/private/packages.cpp
	threadweaver/Mainpage.dox
2011-12-04 14:25:38 +01:00
Aaron Seigo
27531a3173 the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.

this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.

BUG:261967
2011-12-04 14:00:32 +01:00
Jaime Torres
2c5ec1a56a change return by break and then add a common return
removing dead code (part of review 103323)
2011-12-04 12:27:01 +01:00
Jaime Torres
be08974bfe remove dead code
remove dead code (see review 103323)
2011-12-04 12:25:46 +01:00
Aaron Seigo
97e4bd53d3 don't delete the kns3 dialog on application shutdown
BUG:288153
2011-12-03 21:22:45 +01:00
Aaron Seigo
1b9bf08082 fix spinboxes
BUG:285224
2011-12-02 21:53:07 +01:00
Aaron Seigo
ea8d0dcce2 get rid of the text halos
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.

one more "take one thing off" while i'm futzing around in tooltips
2011-12-02 21:48:34 +01:00
Aaron Seigo
464bab7a68 handle titles a little nicer: centered, no wrap for short titles 2011-12-02 21:48:34 +01:00
Aaron Seigo
d1cdb6c7d2 hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding 2011-12-02 21:48:34 +01:00
Aaron Seigo
f0498a9973 fix spinboxes
BUG:285224
2011-12-02 10:45:47 +01:00
Aaron Seigo
822243288d get rid of the text halos
they are (relatively) expensive and should be unnecessary now:
we have blur, it works well, and when we don't blur we use different backgrounds.

one more "take one thing off" while i'm futzing around in tooltips
2011-11-30 15:44:29 +01:00
Aaron Seigo
7e4883f3bb handle titles a little nicer: centered, no wrap for short titles 2011-11-30 15:39:29 +01:00
Aaron Seigo
3bf1d0d63d hide the label completely when no image is set. makes sure there isn't layout().spacing() extra padding 2011-11-30 15:19:29 +01:00
Aaron Seigo
b31a05c41e get rid of the source limiting; wasn't used, only overhead 2011-11-30 12:58:20 +01:00
Aaron Seigo
fee7b32974 allow ui/main.qml to be the default for plasmoids, and code/main.js for plasmoids, dataengines, runners 2011-11-30 12:58:20 +01:00
Aaron Seigo
685ae3b6c5 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	plasma/popupapplet.cpp
2011-11-22 13:58:50 +01:00
Aaron Seigo
9775682bef use a QWeakPointer with the graphics widget handed in as we don't own it 2011-11-22 13:29:02 +01:00
Aaron Seigo
3c55a5489a Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	plasma/runnermanager.cpp
2011-11-22 12:56:16 +01:00
Aaron Seigo
f6f8d8b2ee when setAllowedRunners is called, call loadRunners, which now also allows for being called while a search is in progress
loadRunners intelligently only unloads those runners with are no longer to be loaded, so this is a performance win.
it now also checks to see if there are pending jobs for the runners to be deleted (if any) and if so it creates a delayed
deleter for them -> no crashes
2011-11-22 12:17:06 +01:00
Ben Cooksley
7f0e9fb3b2 Don't crash on exit.
BUG:284989
REVIEW:103202
2011-11-22 21:18:04 +13:00
Aaron Seigo
90b02f3973 massive step towards QGraphicsView being separated from libplasma
* remove extenders (never panned out, used by exactly two components that we can find .. anywhere)
* move animations to libplasmagqv
* schedule js anims to be put into the js scriptengine
* move all QGraphicsProxyWidgets, except for IconWidget which is still used by PopupApplet, into libplasmaqgv
* create a subclass-able private class for Applet

TODO: move out icon widget, address FIXMES in graphicswidgetappletprivate.cpp and decide how to register the "right" private class for instantiation in Applet ctors
2011-11-17 14:43:37 +01:00
David Faure
bdf1f5c2dc Merge remote-tracking branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	tier1/libkcoreaddons/src/io/kdirwatch.cpp
2011-11-16 14:44:08 +01:00
Marco Martin
a70c17bc59 fix drawing of focusindicator of spinbox and combobox
use the proper prefix for drawing the combobox focusindicator
2011-11-08 12:57:46 +01:00
Aaron Seigo
2c7751ccef Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	kio/kio/kfileitem.cpp
	plasma/datacontainer.cpp
	plasma/datacontainer.h
	plasma/private/wallpaper_p.h
	plasma/private/wallpaperrenderthread.cpp
2011-10-30 10:44:59 +01:00
Aaron Seigo
176d4b896b delay usage checks so quite disconnect/reconnects don't result in unecessary loss of data
(only to reload it again immediately thereafter...)
2011-10-30 10:35:29 +01:00
Aaron Seigo
97743420a0 add a wallpaper render that takes a pre-loaded QImage. FAR FAR faster than re-loading from disk if already in memory.
new API (new overload, really), but required to fix iperformance issues elsewhere, so considered a bug fix
2011-10-30 10:24:57 +01:00
Aaron Seigo
23784d26bb less profanity 2011-10-30 01:58:11 +02:00
David Faure
108536cb93 Port from KTemporaryFile to QTemporaryFile, and deprecate KTemporaryFile.
My merge request (qtbase/57) for the missing feature in QTemporaryFile
(naming the temp file after the application, to be able to sort out which
app is leaking temp files), has been merged, so we don't need KTemporaryFile
anymore.
2011-10-04 16:52:38 +02:00
Marco Martin
044915b6cb RSIP_OnMouseClick as Oxygen style does 2011-10-04 16:47:04 +02:00
Marco Martin
ef069ab402 RSIP_OnMouseClick as Oxygen style does 2011-10-03 17:26:12 +02:00
David Faure
685bebaed9 Merge remote branch 'origin/KDE/4.7' into origin-frameworks
Conflicts:
	kdecore/tests/kservicetest.cpp
	plasma/framesvg.cpp
2011-09-28 17:44:59 +02:00
Marco Martin
888a5753de export data property to make it work in QML 2011-09-24 15:54:44 +02:00
Aaron Seigo
f8d94a98b8 use a hash instead of a map: the sorting was irrelevant and the API that uses this was ported to hashes as well 2011-09-19 11:27:54 +02:00
David Faure
24bd3d69eb Merge remote branch 'origin/KDE/4.7' into origin-frameworks 2011-09-02 10:08:03 +02:00
Aaron Seigo
423ce0c356 don't emit addSource for a source being added in a sourceRequest event until the event is over 2011-09-01 19:07:22 +02:00
Marco Martin
37ac5105ab fix resolution of paths w/ only a packageRoot+name 2011-08-31 12:53:09 +02:00
Stephen Kelly
e23c2dfbd6 Merge remote-tracking branch 'origin/KDE/4.7' into frameworks
Conflicts:
	CMakeLists.txt
	cmake/modules/FindNepomuk.cmake
	kdecore/tests/kstandarddirstest.cpp
	kdeui/util/kkeyserver.h
	kio/kio/accessmanagerreply_p.h
	kio/kio/hostinfo.cpp
	plasma/containment.cpp
	plasma/data/services/plasma.protocol
	plasma/popupapplet.cpp
	plasma/tooltipcontent.h
	plasma/widgets/videowidget.h
2011-08-25 19:43:08 +02:00
Aaron Seigo
79ad385f41 give applets with no qwidget or graphicswidget a chance to do something 2011-08-25 17:35:07 +02:00
Aaron Seigo
ca320eb0d4 clarity in variable naming 2011-08-17 13:12:45 +02:00
Marco Martin
33e9192346 Merge branch 'libplasma2' into frameworks
Conflicts:
	plasma/CMakeLists.txt
	plasma/popupapplet.cpp
2011-08-12 11:45:49 +02:00
Aaron Seigo
f285745318 make extender applets freel resize 2011-08-11 00:15:05 +02:00
Montel Laurent
9e314fde8d Pedantic 2011-08-07 00:50:21 +02:00
Aaron Seigo
ef6b65c2b1 simplify 2011-08-07 00:50:20 +02:00
Aaron Seigo
45e428dec5 --deprecatedUsage; 2011-08-07 00:50:20 +02:00
Dawit Alemayehu
10dcf8ffc0 Fixed -Wunused-parameter compiler warning.
REVIEW: 101881
2011-08-07 00:50:19 +02:00
Aaron Seigo
5484609cd3 consolidate creation code; use the layout; don't hide dialog if already hidden
fixes a few annoyances in the system tray
2011-08-03 16:45:29 +02:00
Aaron Seigo
f5b91c58de consolidate creation code; use the layout; don't hide dialog if already hidden
fixes a few annoyances in the system tray
2011-08-03 16:45:28 +02:00
Kevin Kofler
3435f9f1e6 Add an API (currently private) for installing missing Plasma engines.
Use it when a requested data or script engine is not found.

REVIEW: 102175
2011-08-03 10:21:39 +02:00
Aaron Seigo
7c8cf530e1 Merge remote-tracking branch 'origin/master' into libplasma2
Conflicts:
	plasma/theme.cpp
2011-07-30 20:20:10 +02:00
Aaron Seigo
50cfd997e9 make extender applets freel resize 2011-07-30 18:27:32 +02:00