Commit Graph

10272 Commits

Author SHA1 Message Date
Marco Martin
fde2925c34 replace some qgraphics events with normal ones 2012-11-08 18:34:08 +01:00
Marco Martin
e463c4af4f QGraphicsSceneDropEvent -> QDropEvent 2012-11-08 18:33:56 +01:00
Marco Martin
f58711521e remove last dependencies of abstracttoolbox 2012-11-08 18:33:45 +01:00
Marco Martin
743c0f44a8 remove unused file 2012-11-08 18:33:32 +01:00
Marco Martin
6619e6d55f remove the toolbox 2012-11-08 18:33:19 +01:00
Marco Martin
85af2e142f remove delegate files 2012-11-08 18:33:08 +01:00
Marco Martin
6c42c663bc remove all widget files 2012-11-08 18:32:43 +01:00
Marco Martin
885be389ff completely remove animators and animations files 2012-11-08 18:29:39 +01:00
Marco Martin
1d520ac557 kill applet handles and some animations stuff 2012-11-08 18:28:37 +01:00
Marco Martin
390ec09558 get rid of mapfromview/maptoview 2012-11-08 18:24:25 +01:00
Marco Martin
3a8db22059 get rid of the background, we need only hints 2012-11-08 18:24:14 +01:00
Marco Martin
ae4d0787d3 get rid of private styleoption 2012-11-08 18:24:05 +01:00
Marco Martin
93bb58a9f3 get rid of handles 2012-11-08 18:23:55 +01:00
Marco Martin
1cf7a6214c don't build the qgv library anymore 2012-11-08 18:23:47 +01:00
Marco Martin
16ee068aba coronabase becomes corona
correctly build all files currently included in libplasma (some will
have to be enabled again)
2012-11-08 18:23:36 +01:00
Marco Martin
64fde089f2 correctly build applet and containment 2012-11-08 18:23:28 +01:00
Marco Martin
cc21f6fcfe applet doesn't inherit from QGraphicsWidget 2012-11-08 18:23:00 +01:00
Aaron Seigo
4f3a52cec2 support setting a custom name from applets (e.g. a timezone for a clock ;) 2012-11-08 11:21:08 +01:00
Aaron Seigo
e174c6d998 update apidox to reflect it can be a relative root 2012-11-08 11:21:07 +01:00
Aaron Seigo
de086065a1 add a test for multiple files with the same key 2012-11-08 11:21:07 +01:00
Sebastian Kügler
ec6200fd0e Second part of declarative toolbox bindings
This one adds the ToolBoxProxy class, belongs to
3f5d7444f8a3373befdceffca79744c82899d4e1

REVIEW:107232
2012-11-07 20:52:14 +01:00
Sebastian Kügler
d9612651cb ToolBox bindings for declarative containments
This adds the necessary bits, actions handling, showing / hiding of
toolbox and a hooks for config interface and add widgets.

The interesting bits:

Toolbox separate on the scene

For declarative containments, we add a declarativewidget on top of the
view which loads the "org.kde.toolbox" package. The toolbox can differ
per platform, layout of toolbox and containment can not "leak" into each
other.

ToolBox import

The most important and interesting bit is the list of actions the
ToolBox exposes, it's collected from corona, containment. The latter is
actually problematic, since we don't get access to the actions
internally provided by Containment
(ContainmentPrivate::addDefaultActions).
Containment::setToolBox(AbstractToolBox) being protected, we cannot
register our declarative ToolBoxProxy implementation to the containment,
so we have to wire up settings and addwidgets separately. Sorting of the
actions is "random", and expected to be done by the QML toolbox
implementation, based on objectName strings.

REVIEW:107232
2012-11-07 17:21:26 +01:00
Aaron Seigo
cdfd8688f4 styl ocd 2012-11-07 12:45:57 +01:00
Aaron Seigo
554f0b9909 ensure margins update in all cases
setElementPrefix does not trigger repaintNeeded() from the svg object;
repaintNeeded() is for internal changes. if you change the svg from your
own application code, the app code needs to react to those changes in its
own time and way.

so margins was never seeing that it was getting changed when setElementPrefix
was called -> pixel imperfections in layouts.
2012-11-07 12:43:11 +01:00
Aaron Seigo
1023ceda85 fixes and some internal docu 2012-11-07 01:10:05 +01:00
Marco Martin
e42ce8f782 export margins 2012-11-07 01:08:58 +01:00
Marco Martin
575b817c97 consider the case wen right or bottom margins are disabled 2012-11-06 13:52:36 +01:00
Marco Martin
e74f60745a revert 1d167ffa8fe1e79aec2f7b94b78e6910fb7a42bf 2012-11-06 00:32:22 +01:00
David Faure
2857183e22 Merge remote-tracking branch 'origin/KDE/4.10' 2012-11-02 14:26:38 +01:00
Marco Martin
390c97cfcb font based margin 2012-11-02 14:26:03 +01:00
Aaron Seigo
e30067518f required to lower memory consumption for PA4 2012-11-02 13:46:55 +01:00
Aaron Seigo
09cf013164 prepend platformcontents to prefixes 2012-10-31 16:02:23 +01:00
Aaron Seigo
259c155c9b prepend "platformcontents" as per the plan 2012-10-31 15:59:01 +01:00
Aaron Seigo
5f22041391 fix build of libplasma merged from 4.10 branch into frameworks 2012-10-31 12:19:38 +01:00
Aaron Seigo
9b7b6054ee ensure prefixes end with '/' 2012-10-31 12:17:19 +01:00
Aaron Seigo
a934d8f867 link kdeclarative 2012-10-31 12:17:19 +01:00
Christoph Feck
03a88c40c0 SVN_SILENT removed 2012-10-31 12:17:19 +01:00
Aaron Seigo
f024af5de1 use KDeclarative to determine the platform paths 2012-10-31 12:16:21 +01:00
Aaron Seigo
104634b9cd minor improvements 2012-10-31 12:15:43 +01:00
Aaron Seigo
4288bb9744 ensure that prefixes all have a trailing slash
why? because the rest of the code assumes that (for performance reasons)
2012-10-31 12:15:42 +01:00
Aaron Seigo
70e4734eda use KDeclarative to determine the platform paths 2012-10-30 21:32:01 +01:00
Aaron Seigo
80ca71fd98 minor improvements 2012-10-30 21:32:01 +01:00
Aaron Seigo
6cbf841376 ensure that prefixes all have a trailing slash
why? because the rest of the code assumes that (for performance reasons)
2012-10-30 21:32:00 +01:00
Aaron Seigo
06f5f555a9 get the components target from libkdeclarative 2012-10-30 21:31:31 +01:00
David Faure
3e623699ce Merge remote-tracking branch 'origin/KDE/4.10' into frameworks
Conflicts:
	kdecore/services/kmimeglobsfileparser.cpp [whole file is gone]
	kdecore/sycoca/kprotocolinfo.cpp [rewritten in kio; hand-merged]
	kdeui/widgets/kmainwindow.cpp [geometry handling, code is gone]
	kfile/kfileplacesitem.cpp
	kio/kio/kfileitem.cpp [tons of kurl/qmimetype differences for the big if(!d) patch]
	kio/tests/kfileitemtest.cpp [kurl]
	plasma/private/applethandle.cpp [namespace]
	plasma/runnermanager.cpp
	staging/kservice/src/services/kservicetypetrader.h [i18n]
2012-10-30 19:53:28 +01:00
Aaron Seigo
050222e9ed get rid of dead code 2012-10-30 18:33:48 +01:00
David Faure
d38be6f572 Merge remote-tracking branch 'origin/KDE/4.10' 2012-10-30 17:00:29 +01:00
Sebastian Kügler
a45a18e810 Fix reference error in Highlight
ListView is just the namespace, we have to check for ListView.view's
existance
2012-10-27 02:01:34 +02:00
Marco Martin
f35539da1f remove debug output 2012-10-26 19:46:56 +02:00
Marco Martin
2b702fa6ef make sure scrollbars are visible 2012-10-26 19:46:36 +02:00