Commit Graph

175 Commits

Author SHA1 Message Date
Aleix Pol
1891066fc2 Adapt to kdelibs ab56e2f. 2013-10-04 18:40:47 +02:00
Marco Martin
fab4818c92 allow plasmoids to change icon
changing icon will change the icon of the default compact representation
2013-09-23 16:44:31 +02:00
Marco Martin
135d4039aa remove temp file hack and applets args 2013-09-23 11:56:49 +02:00
Marco Martin
14a3bced4a crash-- 2013-09-23 11:39:52 +02:00
Marco Martin
e16c30142f resize the graphics object as soon as possible
it avoids many resizes that take cpu cycles and mess with the layout
2013-09-20 23:28:38 +02:00
Marco Martin
4767f3a8d0 emit appletadded only when manually added
when the containment's component.oncompleted is hitted, the applet list is guaranteed to be completely correctly restored from config

we may want to support both cases in the future to make writing containment easier
2013-09-20 18:18:46 +02:00
Marco Martin
b14c23bed0 new way for sending data
plasmoid has an externalData signal, and will be used like
Connections {
        target: plasmoid
        onExternalData: {
            if (mimetype === "text/plain") {
                noteText.text = data
            }
        }
    }

a notes example applet describes its use
2013-09-20 12:59:35 +02:00
Marco Martin
3656c416f2 manage args also for pasted text without urls 2013-09-19 19:52:53 +02:00
Marco Martin
7489fa32f8 argsrc for config that can be passed as parameter
instead of args of the applet ctor, applets can define an argsrc file for what is acceptable as mimedata on drag and drop (or any other dynamic creation)
2013-09-19 19:37:10 +02:00
Sebastian Kügler
6307275a33 Fix include 2013-09-18 18:09:33 +02:00
Marco Martin
5b0fcd8113 platform specific resolution of imports 2013-09-18 16:34:31 +02:00
Marco Martin
d567b3414b catch file types by extension too 2013-09-18 15:41:21 +02:00
Marco Martin
6d65ece95a more strict in package resolution
also resolve js files too
2013-09-18 14:11:16 +02:00
Marco Martin
b1c49c5d44 working package redirection for qml files 2013-09-18 12:49:09 +02:00
Marco Martin
930c8647e6 add a dummy url interceptor
will be used for device specific stuff
2013-09-18 12:10:03 +02:00
Marco Martin
70cef22211 expose containmentInterface::actions
the toolbox will use it
2013-09-16 17:10:02 +02:00
Marco Martin
e923afe0ee correctly restore popup size 2013-09-16 16:09:13 +02:00
Marco Martin
0ead10fe0b correctly save DialogHeight/DialogWidth
piece needed for Popupapplet features, still has to correctly restore it
2013-09-16 13:05:42 +02:00
l10n daemon script
cb69c812f5 SVN_SILENT made messages (.desktop file) 2013-09-15 04:18:15 +00:00
Marco Martin
1586c1b82a if size is empty don't do the compact check
with a null size none of the representations will work anyways. an empty
size may happen when the applet has just been loaded and the containment
still has to adjust it
2013-09-13 19:55:55 +02:00
l10n daemon script
7996972078 SVN_SILENT made messages (.desktop file) 2013-09-12 04:08:57 +00:00
Eike Hein
e95c4b8550 ++sense; 2013-09-11 18:35:14 +02:00
Eike Hein
21c0f9e6df Fix build. 2013-09-11 18:25:00 +02:00
l10n daemon script
eba2125d6e SVN_SILENT made messages (.desktop file) 2013-09-11 04:16:36 +00:00
Marco Martin
33dae6b18c support for setting a wallpaper trough drag and drop 2013-09-10 17:57:51 +02:00
Marco Martin
d101966f91 use a dynamic property
so qml doesn't see it
2013-09-10 16:38:16 +02:00
Marco Martin
52c3a27e18 support for wallpaper actions 2013-09-10 15:51:22 +02:00
Marco Martin
bfbeae9969 propagate containmentTypeChanged 2013-09-10 12:43:25 +02:00
Marco Martin
6bbc8cb420 propagate drawWallpaperChanged 2013-09-10 12:38:41 +02:00
Marco Martin
e5b2907b53 documentation in ContainmentInterface 2013-09-10 12:25:37 +02:00
Marco Martin
075395e6d1 more documentation 2013-09-10 11:58:55 +02:00
Marco Martin
bde39854d3 remove unused method 2013-09-10 11:48:34 +02:00
Marco Martin
27c9c859ef documentation++ 2013-09-10 11:45:02 +02:00
Marco Martin
0f86bd5b6e fix size hints propagation 2013-09-06 19:22:14 +02:00
Marco Martin
1b9d6cbb13 experiment support for panel auto resize 2013-09-06 18:36:12 +02:00
Eike Hein
c4075ddaed Move the screen prop up into AppletInterface.
This makes 'plasmoid.screen' available not just for con-
tainments, but for all applets, as required by the Task
Manager applet. Unfortunately Qt's APIs don't expose any
screen numbering, so that route was off the table.

Ack'ed by Marco Martin.
2013-09-04 11:46:28 +02:00
Marco Martin
9289405991 experiment with ConditionalLoader 2013-09-03 13:11:12 +02:00
Sebastian Kügler
5479b56d67 default to org.kde.desktoptoolbox
This package exists, org.kde.toolbox doesn't
2013-09-03 03:28:11 +02:00
Marco Martin
800298935f use a QmlWallpaper package type for wallpapers 2013-09-02 20:25:04 +02:00
Marco Martin
6b38c2c6af port all machinery for drag and drop on containments
still missing wallpaper support
2013-08-30 15:47:01 +02:00
Marco Martin
7bc3fbc589 appletAdded becomes AppletAdded(applet,x,y) 2013-08-30 14:15:48 +02:00
Marco Martin
087bc4d8fe adjust processMimeData to work with paste plugin 2013-08-30 12:50:35 +02:00
Marco Martin
e00070da7e hack to make possible to set the applet position
when a dnd operation is done, set the applet position before emitting the appletAdded signal
2013-08-28 15:21:33 +02:00
Marco Martin
d78fdf1e5d imple add applet mechanism 2013-08-28 13:50:53 +02:00
Marco Martin
04f11788ea stub for drag and drop and paste mechanism 2013-08-28 13:23:27 +02:00
Marco Martin
39b49bf464 get rid of containmentActions::config() 2013-08-27 12:10:51 +02:00
Marco Martin
5ecb5185f7 support wheel events 2013-08-27 11:56:37 +02:00
Marco Martin
7c139742a6 accept all buttons
so menus for all mouse events can be generated
2013-08-27 11:13:17 +02:00
Marco Martin
d58f1d0a17 revert last commit
create compactRepresentation in the compactrepresentation *component*
creation context

this way root is accessible by id
2013-08-22 15:04:56 +02:00
Marco Martin
dbc02cd44b root qml item accessible from plasmoid.rootItem
this way objects in compactRepresentation can access the root object
properties as plasmoid.rootItem.propertyName
2013-08-22 14:55:05 +02:00