Commit Graph

10248 Commits

Author SHA1 Message Date
Marco Martin
b828bcb578 remove acceptDrops/setAcceptDrops() 2012-11-09 16:12:05 +01:00
Marco Martin
68de44f1dd remove containment's geometry function
also remove from the config restore
2012-11-09 16:12:05 +01:00
Aaron Seigo
a265ad7dbb remove paste
this will need to be provided via a drop action from the graphical system
containment implementation
2012-11-09 15:59:52 +01:00
Aaron Seigo
567d72edc1 another todo 2012-11-09 15:59:52 +01:00
Aaron Seigo
63f7fe555a slightly cleaner 2012-11-09 15:59:02 +01:00
Marco Martin
1021ecf18f get rid of appletAt()
still two uses commented out in conteinmentactions
2012-11-09 15:46:12 +01:00
Marco Martin
798fc9271b remove AppletPrivate::selectItemToDestroy() 2012-11-09 15:20:42 +01:00
Marco Martin
3d3a99aa0d remove Applet::screenRect()
was used only in a couple of scriptengines (webkit engine and accessible
applet)
2012-11-09 15:09:35 +01:00
Marco Martin
d2f9694281 add TODO documentation
there are still 4 places of commented away code in Applet, AppletPrivate
and ContainmentPrivate that should be ported away from QGV
2012-11-09 14:36:43 +01:00
Marco Martin
39f4c562db don't link to qtscript and webkit 2012-11-09 14:29:59 +01:00
Aaron Seigo
560e9fd23d a note for future research on packages 2012-11-09 14:07:34 +01:00
Aaron Seigo
8b72b0b3ef provide a containment package specialization
this will allow containments to have a different qml file
2012-11-09 14:07:34 +01:00
Aaron Seigo
75e9a7dcd5 remove dup'd friend declaration 2012-11-09 14:07:34 +01:00
Aaron Seigo
ab243a9279 DONE! burn m.f. burn! 2012-11-09 14:07:33 +01:00
Aaron Seigo
c1bbb000ba keep our todo's straight here 2012-11-09 14:07:33 +01:00
Marco Martin
81d2a33a0f remove classes that weren't built anymore
PopupApplet
Dialog
ToolTip
ToolTipManager
ToolTipContent
2012-11-09 14:00:01 +01:00
Aleix Pol
bb2688392a Reduce many connect() warnings when loading Declarative plasmoids.
Right now, every QML plasmoid can provide a number of properties
(6, actually) to specify some size hints (maximum, minimum and
preferred).
If you don't provide those properties you get many warnings because
of the missing changed connections. This patch removes such warnings
by making sure the property is present before connecting and querying
the property at all.

REVIEW: 107261
2012-11-09 13:42:01 +01:00
Marco Martin
4e08835046 build fix 2012-11-09 00:20:31 +01:00
Marco Martin
8e89ac742c Merge branch 'mart/qgvremoval2' into frameworks 2012-11-09 00:05:05 +01:00
Marco Martin
cc21968980 abstractanimation is gone 2012-11-08 18:35:33 +01:00
Marco Martin
b270378122 add missing corona_p 2012-11-08 18:35:22 +01:00
Marco Martin
7d7698360c port from qgraphics events 2012-11-08 18:35:12 +01:00
Marco Martin
50cf107730 remove qgraphics include 2012-11-08 18:35:03 +01:00
Marco Martin
1784a08a85 port containmentactions away from graphicsmouseevents 2012-11-08 18:34:41 +01:00
Marco Martin
866f097df6 remove some qgraphics includes 2012-11-08 18:34:29 +01:00
Marco Martin
5323882c89 migrate some other events from qgraphicsevents 2012-11-08 18:34:17 +01:00
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