Commit Graph

16 Commits

Author SHA1 Message Date
Artur Duque de Souza
dbc0337ba2 Include last method (addCornerAnchors()) to js bindings
THe last commit left out this very important function that is a convenience 
function.


svn path=/trunk/KDE/kdebase/runtime/; revision=1046056
2009-11-07 11:46:58 +00:00
Artur Duque de Souza
abcc5a4ea2 Add missing QGraphicsAnchorLayout methods do JS bindings
The methods anchor() (that returns an anchor between two items) and
addAnchors() (convenience method) were missing on the binding.

The binding for this layout is probably 100% now :)

svn path=/trunk/KDE/kdebase/runtime/; revision=1045801
2009-11-06 20:06:53 +00:00
Artur Duque de Souza
a869f09e00 Return the correct object when creating anchors
addAnchor returns the anchor so the developer can set the spacing
and also size policies on the anchor (the last one is not possible
in js yet I think).


svn path=/trunk/KDE/kdebase/runtime/; revision=1045430
2009-11-06 03:51:53 +00:00
André Wöbbeking
26bf81a282 -pedantic
svn path=/trunk/KDE/kdebase/runtime/; revision=1044511
2009-11-03 22:32:46 +00:00
Artur Duque de Souza
ad5e59fdeb Support for Anchor Layout (Qt 4.6)
Now we have support for anchor layout on javascript
plasmoids. This is at 90%. It's not working properly yet
as we need either a patch in Qt (being discussed) or another
not so beautiful approach. After this it will work 98%, and
I'll just need to do the QGraphicsAnchor bindings to support
spacing and size policies of anchors.


svn path=/trunk/KDE/kdebase/runtime/; revision=1044107
2009-11-03 03:06:04 +00:00
Aaron J. Seigo
c37cfda132 try a bit harder to find a decent parent
svn path=/trunk/KDE/kdebase/runtime/; revision=1038831
2009-10-22 02:17:34 +00:00
Aaron J. Seigo
2385ce930d document this quirk
svn path=/trunk/KDE/kdebase/runtime/; revision=1038370
2009-10-21 07:51:26 +00:00
Aaron J. Seigo
752f9f61a0 return a QRectF; the F matters
svn path=/trunk/KDE/kdebase/runtime/; revision=1038279
2009-10-20 23:31:03 +00:00
Aaron J. Seigo
07f1255677 qpixmap
svn path=/trunk/KDE/kdebase/runtime/; revision=1038273
2009-10-20 23:15:33 +00:00
Aaron J. Seigo
71789306b7 ok, this time _really_ move it over. svn is sometimes a little too forgiving / sloppy :(
svn path=/trunk/KDE/kdebase/runtime/; revision=967245
2009-05-13 00:55:25 +00:00
Aaron J. Seigo
94cdfc4149 move javascript engine and plasmapkg to runtime; libplasma uses plasmapkg via knewstuff and 3rd party apps with to use both that and the javascript engine. no new dependencies on runtime are incurred with this change
svn path=/trunk/KDE/kdebase/runtime/; revision=966840
2009-05-11 23:40:57 +00:00
Aaron J. Seigo
15cdbe4607 implement the rest of the linear layout api
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=961204
2009-04-29 16:55:21 +00:00
Aaron J. Seigo
63b3110f66 bind kurl for use with, e.g. WebView
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=960158
2009-04-28 02:12:33 +00:00
Aaron J. Seigo
21725fcbff i18n these now
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=907238
2009-01-07 17:51:37 +00:00
Aaron J. Seigo
57f3358108 simple binding of QGraphicsLinearLayout; will do Grid later
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=905862
2009-01-05 09:58:26 +00:00
Aaron J. Seigo
e0e01efa94 qtscript->javascript
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=905822
2009-01-05 08:08:38 +00:00