Commit Graph

28 Commits

Author SHA1 Message Date
Aaron J. Seigo
bdfdfae083 plasmoid.hasExtension(string) -> allows plasmoids to check which extensions actually made it into the run time
svn path=/trunk/KDE/kdebase/runtime/; revision=1048914
2009-11-14 07:33:42 +00:00
Aaron J. Seigo
8ec33f16dd * move around some rather old code; debug() belongs to the plasmoid object, findResource is right out
* add a getter for the loaded extensions

svn path=/trunk/KDE/kdebase/runtime/; revision=1048913
2009-11-14 07:32:00 +00:00
Aaron J. Seigo
09f29dc6b4 allow including other files in contents/code/ into the Plasmoid. huzzah.
svn path=/trunk/KDE/kdebase/runtime/; revision=1048899
2009-11-14 05:19:19 +00:00
Aaron J. Seigo
04301b12cd Qt::ScrollBarPolicy
svn path=/trunk/KDE/kdebase/runtime/; revision=1048889
2009-11-14 04:22:31 +00:00
Aaron J. Seigo
782ecaac2b version number
svn path=/trunk/KDE/kdebase/runtime/; revision=1048837
2009-11-14 00:24:14 +00:00
Aaron J. Seigo
cb34ebdf8f add immutabile property
svn path=/trunk/KDE/kdebase/runtime/; revision=1048765
2009-11-13 22:27:30 +00:00
Aaron J. Seigo
61a1288379 update can take a rect
svn path=/trunk/KDE/kdebase/runtime/; revision=1048754
2009-11-13 22:10:32 +00:00
Aaron J. Seigo
34a21dc5ef add layout property
svn path=/trunk/KDE/kdebase/runtime/; revision=1048748
2009-11-13 22:04:16 +00:00
Aaron J. Seigo
52e72fe5d2 * background hints
* constify some methods that were missing it

svn path=/trunk/KDE/kdebase/runtime/; revision=1048735
2009-11-13 21:44:51 +00:00
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
ed65303a82 Add support for QSizePolicy to the plasma JS bindings
This way we can properly setup size policies for anchors,
improving the use cases of the QGraphicsAnchorLayout.


svn path=/trunk/KDE/kdebase/runtime/; revision=1045779
2009-11-06 18:59:41 +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
bc26a048ec add rect() which returns the contents rect
svn path=/trunk/KDE/kdebase/runtime/; revision=1038277
2009-10-20 23:30:36 +00:00
Laurent Montel
bf6469b023 Fix forward declaration
svn path=/trunk/KDE/kdebase/runtime/; revision=1004945
2009-07-31 07:08:24 +00:00
Aaron J. Seigo
d7c89e409e initial draft of a ECMAScript driven DataEngine.
TODO:
* testing
* binding Plasma::Service

svn path=/trunk/KDE/kdebase/runtime/; revision=991101
2009-07-04 04:30:57 +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
816cddf4cd simple access to file paths in the package
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=960161
2009-04-28 02:14:26 +00:00
Petri Damstén
0e5af26cb0 * Support KUrl, QUrl and QColor in script value conversion
* Use variantToScriptValue in readConfig

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=948060
2009-04-02 06:15:22 +00:00
Chani Armitage
c8dc2925f0 don't need that config function any more
remove an old FIXME too

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=908506
2009-01-09 20:47:29 +00:00
Aaron J. Seigo
3394124002 allow setting of config values
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906374
2009-01-06 03:04:31 +00:00
Aaron J. Seigo
4d8ac571a9 allow for non-main.xml configs as well
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906351
2009-01-06 00:11:31 +00:00
Aaron J. Seigo
9cf1237aee allow access to configuration
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906336
2009-01-05 23:27:55 +00:00
Marco Martin
8ddb49f755 mapping of Qt::Orientation to be used in linear layouts
update slider position in dataUpdate

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906312
2009-01-05 22:30:30 +00:00
Aaron J. Seigo
931d9a2869 we don't need the layout stuff; we require the layouts to have a parent, so one just does nw Layout(plasmoid)
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906210
2009-01-05 19:20:18 +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