Commit Graph

748 Commits

Author SHA1 Message Date
Marco Martin
2a54c9c416 use the engine access in DeclarativeWidget
now DeclarativeWidget itself steals the scriptengine, so use it instead of having the hack there
2011-04-07 22:39:18 +02:00
Marco Martin
2754c01add FEATURE: expose the activity name and id
expose activity name and activityid in the containment wrapper interface
2011-04-04 16:15:48 +02:00
Aaron Seigo
da186219ae give connectAllSources the same magic sauce connectSource does
thanks to emilsedgh for having the special super power of using precisely
what hasn't been properly implemented ... and then reporting it with
nice simple examples we can test with! THAT, my friends, is how it is done.
2011-04-04 14:43:40 +02:00
Montel Laurent
9a07bb2f93 Use const ref 2011-04-03 15:29:54 +02:00
Script Kiddy
cb3424f3cb SVN_SILENT made messages (.desktop file) 2011-03-31 07:41:49 +02:00
Script Kiddy
0c29d7611c SVN_SILENT made messages (.desktop file) 2011-03-30 08:45:32 +02:00
Script Kiddy
7f4abfc7a5 SVN_SILENT made messages (.desktop file) 2011-03-29 09:36:56 +02:00
Marco Martin
19ff95e3a1 relicense under LGPL upon author's permission 2011-03-28 16:54:24 +02:00
Marco Martin
264aa5e8fb bind setAssociatedApplication 2011-03-27 16:59:08 +02:00
Marco Martin
11b6e78640 re-set the prefix after setting the path 2011-03-27 12:38:01 +02:00
Marco Martin
2acf29889e update the license
After asking for an explicit permission by the author and the copyright holder (Nokia)
update the license from GPL to LGPL
2011-03-27 12:38:01 +02:00
Marco Martin
2d27bd40e6 less debug output 2011-03-21 21:40:00 +01:00
Marco Martin
d7d08c46ef bind the dialog's window flags 2011-03-21 21:38:48 +01:00
Marco Martin
19ad72af78 showPopup() -> popupPosition()
makes possible to move the popup
2011-03-21 19:20:17 +01:00
Marco Martin
b958bf1480 monitor for declarativeitem resize 2011-03-19 18:36:29 +01:00
Marco Martin
c216fe47b8 resize DeclarativeItemContainer at item's size 2011-03-19 18:31:36 +01:00
Marco Martin
e76914ed89 update is not a slot, make one 2011-03-18 13:32:49 +01:00
Marco Martin
fcd51b4c67 support availableScreenregion()
FEATURE: bridge to Corona::availableScreenRegion(), as an array of rects
2011-03-13 17:26:59 +01:00
Marco Martin
f07062fae5 movableApplets property of Containment
just for scripted contaiments, C++ ones can easily implement it themselves
2011-03-07 20:17:52 +01:00
Marco Martin
33fe3f4874 export the QRectF as an objecy QtScript understand 2011-03-02 15:41:57 +01:00
Marco Martin
0dda9c72ee bind screen() and Corona::screenGeometry() 2011-03-02 15:41:57 +01:00
Script Kiddy
dde9d31775 SVN_SILENT made messages (.desktop file) 2011-03-02 08:39:29 +01:00
Marco Martin
15122a4d6e export action() 2011-02-28 20:42:24 +01:00
Script Kiddy
2af794b302 SVN_SILENT made messages (.desktop file) 2011-02-27 08:11:06 +01:00
Marco Martin
650e518c2e reparent items when they go in a dialog 2011-02-25 22:38:03 +01:00
Marco Martin
a5636902e6 correctly register the type property 2011-02-25 22:12:41 +01:00
Marco Martin
888d964d22 register enums in the scriptengine 2011-02-25 22:11:11 +01:00
Marco Martin
d8457ecd8d properties for dialog move 2011-02-25 20:37:56 +01:00
Marco Martin
fcfafcbc6e proxy to setAttribute() 2011-02-25 19:00:01 +01:00
Marco Martin
8128291fee fix setVisible 2011-02-25 15:01:18 +01:00
Marco Martin
9c6f2132ad support qdeclarativeitems as well
support qdeclarativeitems as well trough a parent qgraphicswidget that syncs the geometry
2011-02-24 23:47:45 +01:00
Sebastian Kügler
93790aec7f Merge branch 'master' of git://anongit.kde.org/kde-runtime 2011-02-24 21:32:23 +01:00
Sebastian Kügler
a211718f6d fix signals 2011-02-24 21:32:10 +01:00
Marco Martin
61abadfd25 bindings for Plasma::Dialog
setting the mainItem property of a Dialog element, it will create a top level window with that item as the graphicsWidget()
right now it works only with QGraphicsWidget{} elements, Plasma::Dialog will be given the api to make this work with any QGraphicsObject as well.
2011-02-24 18:29:56 +01:00
Marco Martin
b6f2751ba2 possible to set drawWallpaper and containmentType 2011-02-22 13:25:03 +01:00
Script Kiddy
a2b30ffc09 SVN_SILENT made messages (.desktop file) 2011-02-21 08:21:02 +01:00
Marco Martin
ea0b394a55 a simple binding for scripted containments 2011-02-20 19:45:40 +01:00
Marco Martin
145bcf4045 always set a DataEngineSource role in the model
FEATURE: each item will have a DataEngineSource role that makes possible to identify for delegates to what source that data belongs
2011-02-19 14:12:58 +01:00
Script Kiddy
5abc23e105 SVN_SILENT made messages (.desktop file) 2011-02-14 16:29:30 +01:00
Script Kiddy
df96956c7b SVN_SILENT made messages (.desktop file) 2011-02-13 20:32:05 +01:00
Aaron Reichman
4037ced032 Fixed spelling errors from krazy (all in comments or debug/warnings, no strings) 2011-02-07 12:29:08 -08:00
Script Kiddy
45a8784f4c SVN_SILENT made messages (.desktop file) 2011-02-03 07:25:02 +01:00
Script Kiddy
d720a8024e SVN_SILENT made messages (.desktop file) 2011-02-02 08:25:29 +01:00
Aaron J. Seigo
906b55c050 unbreak update() method
svn path=/trunk/KDE/kdebase/runtime/; revision=1217812
2011-01-28 19:44:35 +00:00
Marco Martin
e22d1c5b2a if an element called "newspaper-background" is available, pint it as container's background
it's not supposed to exist in the main theme but only in the dashboard one

svn path=/trunk/KDE/kdebase/runtime/; revision=1216801
2011-01-24 23:01:34 +00:00
Marco Martin
9ab8fee496 * search for the the "appdashboard" theme
* the view is transparent

svn path=/trunk/KDE/kdebase/runtime/; revision=1216799
2011-01-24 23:00:42 +00:00
Marco Martin
ff6234b2ac no spaces before #
svn path=/trunk/KDE/kdebase/runtime/; revision=1216700
2011-01-24 09:34:03 +00:00
Marco Martin
241aaae069 unselect current applet when clicking on an empty spot of the view
svn path=/trunk/KDE/kdebase/runtime/; revision=1216382
2011-01-22 22:25:34 +00:00
Marco Martin
ff24dd48d5 try to reize columns based on applets hints.
center if the contents are smaller than the view
this fixes the behaviour of newspaper in plasma-desktop quite a lot, is probably worth backporting

svn path=/trunk/KDE/kdebase/runtime/; revision=1216375
2011-01-22 21:59:59 +00:00
Marco Martin
583e3c168b fix setters and getters: set the proper stuff, copy and paste--
svn path=/trunk/KDE/kdebase/runtime/; revision=1216118
2011-01-21 13:29:29 +00:00