Commit Graph

245 Commits

Author SHA1 Message Date
Aaron J. Seigo
c0061c9666 add QColor and FileDialogProxy to the build
svn path=/trunk/KDE/kdebase/runtime/; revision=1048910
2009-11-14 07:27:49 +00:00
Aaron J. Seigo
19e1114ed5 QColor
svn path=/trunk/KDE/kdebase/runtime/; revision=1048909
2009-11-14 07:19:37 +00:00
Aaron J. Seigo
b89a2bea57 first run at a file dialog wrapper
svn path=/trunk/KDE/kdebase/runtime/; revision=1048908
2009-11-14 07:19:25 +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
847fb93cc4 scrollwidget
svn path=/trunk/KDE/kdebase/runtime/; revision=1048890
2009-11-14 04:23:58 +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
3e0ed44d89 separators and item backgrounds
svn path=/trunk/KDE/kdebase/runtime/; revision=1048884
2009-11-14 04:15:58 +00:00
Aaron J. Seigo
c3fbefdb38 stop using kdebug for prit
svn path=/trunk/KDE/kdebase/runtime/; revision=1048846
2009-11-14 01:09:44 +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
8acb059ded some more constraints
svn path=/trunk/KDE/kdebase/runtime/; revision=1048762
2009-11-13 22:21:56 +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
Aaron J. Seigo
27f4697300 and optional ones now too
svn path=/trunk/KDE/kdebase/runtime/; revision=1047346
2009-11-11 02:12:40 +00:00
Aaron J. Seigo
9d91ea5a8c * use failed to launch of fatal errors
* error nicely in in it( )so there is more visible feedback with meaning to the user
* sketch in the beginnings of extension loading

svn path=/trunk/KDE/kdebase/runtime/; revision=1047344
2009-11-11 02:09:25 +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
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
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
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
Script Kiddy
9d6f1e8a8f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1043345
2009-11-01 10:58:35 +00:00
Aaron J. Seigo
03a314883f support pause
svn path=/trunk/KDE/kdebase/runtime/; revision=1038846
2009-10-22 03:59:07 +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
d3abf0b709 qscriptvalue_cast doesn't work quite as expected
svn path=/trunk/KDE/kdebase/runtime/; revision=1038830
2009-10-22 01:55:53 +00:00
Aaron J. Seigo
f5cb7c67a7 AnimationGroup support and QGraphicsWidget* registration; one can now do things like:
l = new Label;
l.text = 'check this out'
fadeAnim = animation("fade")
fadeAnim.widgetToAnimate = l
rotateAnim = animation("rotate")
animGroup = new AnimationGroup
animGroup.parallel = true
animGroup.add(fadeAnim)
animGroup.add(rotateAnim)
animGroup.start()

and watch the label flip fade out while the whole plasmoid rotates. sweet.

svn path=/trunk/KDE/kdebase/runtime/; revision=1038372
2009-10-21 07:53:49 +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
19fcbf7a74 hello, animations.
svn path=/trunk/KDE/kdebase/runtime/; revision=1038309
2009-10-21 02:26:44 +00:00
Aaron J. Seigo
b4a4c88985 fix svg-in-package
svn path=/trunk/KDE/kdebase/runtime/; revision=1038286
2009-10-21 00:01:26 +00:00
Aaron J. Seigo
7049ed1608 typo
svn path=/trunk/KDE/kdebase/runtime/; revision=1038284
2009-10-20 23:49:48 +00:00
Aaron J. Seigo
bf7843b734 typo
svn path=/trunk/KDE/kdebase/runtime/; revision=1038280
2009-10-20 23:31:12 +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
bc26a048ec add rect() which returns the contents rect
svn path=/trunk/KDE/kdebase/runtime/; revision=1038277
2009-10-20 23:30:36 +00:00
Aaron J. Seigo
07f1255677 qpixmap
svn path=/trunk/KDE/kdebase/runtime/; revision=1038273
2009-10-20 23:15:33 +00:00
Script Kiddy
bd32426522 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1037926
2009-10-20 09:35:54 +00:00
Script Kiddy
27a9fba904 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1037463
2009-10-19 09:38:03 +00:00
Aaron J. Seigo
ba8d116dc0 move to kdeexamples
svn path=/trunk/KDE/kdebase/runtime/; revision=1036210
2009-10-16 20:16:31 +00:00
Script Kiddy
6064152c36 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1036004
2009-10-16 09:46:18 +00:00
Script Kiddy
5e93e30dab SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1035097
2009-10-14 10:18:37 +00:00
Script Kiddy
185d44ebe1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1033020
2009-10-09 09:27:45 +00:00
Script Kiddy
5193630955 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1031172
2009-10-04 09:35:04 +00:00
Script Kiddy
f87d78d0f8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1029577
2009-09-30 09:40:28 +00:00
Script Kiddy
3c2b37ff92 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1024781
2009-09-17 09:29:41 +00:00
Script Kiddy
e642920b66 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/runtime/; revision=1018441
2009-09-01 17:52:51 +00:00
Script Kiddy
bd638a4950 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1015779
2009-08-26 09:51:51 +00:00
Script Kiddy
f700c29d4e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1014621
2009-08-23 12:06:49 +00:00
Script Kiddy
ba5793e76d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1011617
2009-08-15 09:44:33 +00:00
Script Kiddy
b939e10fb9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1011290
2009-08-14 09:29:08 +00:00
Script Kiddy
5a24c2cc3e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1008778
2009-08-08 11:40:11 +00:00
Laurent Montel
bf6469b023 Fix forward declaration
svn path=/trunk/KDE/kdebase/runtime/; revision=1004945
2009-07-31 07:08:24 +00:00
Script Kiddy
80d0baefb8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1004472
2009-07-30 09:23:14 +00:00
Script Kiddy
830751924f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1002175
2009-07-25 10:01:02 +00:00
Script Kiddy
f76ae9cfe0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=1001188
2009-07-22 16:53:21 +00:00
Script Kiddy
3d750b8fea SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=999876
2009-07-20 14:31:43 +00:00
Script Kiddy
ea9d2470ac SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=996576
2009-07-14 14:39:27 +00:00
Script Kiddy
f7e0bf3ee2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=994437
2009-07-10 15:17:59 +00:00
Script Kiddy
c9c2dfb903 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=993876
2009-07-09 15:40:59 +00:00
Burkhard Lück
36e0850ba5 typo fix
svn path=/trunk/KDE/kdebase/runtime/; revision=993303
2009-07-08 12:51:41 +00:00
Script Kiddy
5a9e1bc6ef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=992648
2009-07-07 14:08:46 +00:00
Script Kiddy
80f106a92a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=992294
2009-07-06 14:44:00 +00:00
Script Kiddy
cd0d3ef36e SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=991713
2009-07-05 14:00:14 +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
Script Kiddy
5ee36b5e83 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=990943
2009-07-03 14:05:35 +00:00
Script Kiddy
015c55671f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=988696
2009-06-28 14:31:57 +00:00
Script Kiddy
ae2993f922 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=987253
2009-06-25 18:31:11 +00:00
Script Kiddy
069dea9ae0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=986478
2009-06-24 17:22:21 +00:00
Script Kiddy
bc47e7d6d5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=985817
2009-06-23 14:10:37 +00:00
Script Kiddy
2e0eea6385 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=985256
2009-06-22 14:13:47 +00:00
Script Kiddy
b983dac84d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=984807
2009-06-21 13:45:48 +00:00
Script Kiddy
5f92da8281 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=984344
2009-06-20 15:46:27 +00:00
Script Kiddy
39a5931702 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=983936
2009-06-19 14:08:02 +00:00
Script Kiddy
b371f90d9c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=983098
2009-06-17 14:56:21 +00:00
Aaron J. Seigo
09b22fcc3f SVN_SILENT: remove this debug, crept in during testing
svn path=/trunk/KDE/kdebase/runtime/; revision=982399
2009-06-15 19:29:56 +00:00
Laurent Montel
20ecba73af fixuifiles
svn path=/trunk/KDE/kdebase/runtime/; revision=979644
2009-06-10 11:30:43 +00:00
Script Kiddy
16f3a1ab19 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=976724
2009-06-02 13:43:16 +00:00
Script Kiddy
fdf934ba39 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=976372
2009-06-01 14:32:51 +00:00
Script Kiddy
bf3bae14ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=975960
2009-05-31 14:22:18 +00:00
Script Kiddy
6f5e9edf6f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=973640
2009-05-27 15:08:18 +00:00
Aaron J. Seigo
dbce6d687e SVN_SILENT: cleanups made while debugging
svn path=/trunk/KDE/kdebase/runtime/; revision=973263
2009-05-26 18:03:15 +00:00
Aaron J. Seigo
2617a0b82d test config ui handling
svn path=/trunk/KDE/kdebase/runtime/; revision=973262
2009-05-26 18:02:32 +00:00
Script Kiddy
5856954871 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=973179
2009-05-26 14:19:07 +00:00
Script Kiddy
52934013cd SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=972718
2009-05-25 14:03:35 +00:00
Script Kiddy
cc8b6168ad SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=972272
2009-05-24 13:43:21 +00:00
Script Kiddy
96419ab7a1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=970665
2009-05-20 14:39:49 +00:00
Script Kiddy
e0e03b9597 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=970096
2009-05-19 14:34:38 +00:00
Script Kiddy
1a3c9c8549 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=969583
2009-05-18 13:49:28 +00:00
Script Kiddy
2b286e7c6f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=968808
2009-05-16 16:06:06 +00:00
Script Kiddy
5bcdf719e7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=967973
2009-05-14 16:58:45 +00:00
Script Kiddy
d35cecd837 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=967596
2009-05-13 15:24: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
Script Kiddy
0a04d9e469 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=966627
2009-05-11 17:12:40 +00:00
Script Kiddy
72dfae34fb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=965299
2009-05-08 13:37:48 +00:00
Pino Toscano
143696b16f SVN_SILENT slightly improve error messages
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962287
2009-05-01 23:28:21 +00:00
Pino Toscano
da4ea3dbe7 encoding fixes for the i18n*() functions:
- take the arguments as utf8 for the ki18n* calls
- don't return a utf8 byte array, but just a plain string (should avoid implicit conversion back and forth to another encoding)

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962285
2009-05-01 23:21:40 +00:00
Aaron J. Seigo
0a0b73ad8b i18nc, i18ncp
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962276
2009-05-01 22:39:52 +00:00
Aaron J. Seigo
d30bb648aa support plurals and varaiable argument list lengths
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962209
2009-05-01 18:46:02 +00:00
Aaron J. Seigo
bee1aaf2a9 take two, doing it differently after further discussion with the i18n people
svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=962169
2009-05-01 16:19:21 +00:00
Script Kiddy
f91b6166ed SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/runtime/; revision=962137
2009-05-01 13:50:33 +00:00