Commit Graph

12723 Commits

Author SHA1 Message Date
Marco Martin
3feb6ac3ae use a QQmlPropertyMap instead of a variantmap
this way when a source is updated, only that will be updated, and not the whole data

so whould be way more efficient.

it remains API compatible
2014-01-07 14:33:20 +01:00
Aleix Pol
eb83537f63 Not being able to load an applet is a problem important enough to be a warning 2014-01-07 13:48:00 +01:00
Marco Martin
f9f89eda56 qmldir is like anybody else 2014-01-07 12:30:21 +01:00
Marco Martin
569ad6a41d applets can only import from their own private
importing from the private imports of another applet makes the applet fail to load
2014-01-07 11:16:11 +01:00
Martin Gräßlin
e50dbc413e Port EffectWatcher to XCB
Saves quite a lot of roundtrips to the XServer. Most important we
fetch the atom only once which means we don't have to refetch when
checking the property notify events.

REVIEW: 112445
2014-01-07 10:39:44 +01:00
l10n daemon script
aee973edcd SVN_SILENT made messages (.desktop file) 2014-01-07 03:52:22 +00:00
l10n daemon script
d2879f6226 SVN_SILENT made messages (.desktop file) 2014-01-06 04:02:34 +00:00
David Faure
8b5834c28c Adapt to newer new ThreadWeaver includes (e3b4312fe9a2 in threadweaver) 2014-01-05 12:03:17 +01:00
l10n daemon script
4441ba4095 SVN_SILENT made messages (.desktop file) 2014-01-05 04:08:57 +00:00
Sebastian Kügler
8c797fce42 Improve PlasmaCore.ToolTip
- Derive from MouseEventListener as to let input through
- react to target changes: reparent the MEL accordingly
- kill a bunch of warnings

This "helps" a bit, but still filters out input events since the MEL
only passes events down to children, but the tooltip's target becomes
its parent.

Reparenting the target crashes, and it seems a pretty ugly thing to do,
anyway, since we don't want to mess with the scenegraph structure just
to filter events out for tooltips. Grmblz.
2014-01-05 04:26:29 +01:00
Sebastian Kügler
23b9dd14f1 Add test for PlasmaCore.ToolTip.target property
This uses a MouseEventListener and a MouseArea to test whether the
tooltip redirects events, and tests a common implementation scenario
with one shared tooltip.

This test (willingly) exposes a problem that with the MouseArea, we
filter out all mouse events, and the target loses input. I.e. the last
image in the row doesn't receive the click.
2014-01-05 04:23:18 +01:00
Sebastian Kügler
160e97cbba Adapt to API changes in ThreadWeaver
Reviewed-by: Mirko Böhm <mirko@kde.org>
2014-01-05 02:10:24 +01:00
l10n daemon script
4484af5cc6 SVN_SILENT made messages (.desktop file) 2014-01-04 03:59:34 +00:00
David Edmundson
6b02b02dcc Restore attaching qml debugger 2014-01-03 19:38:55 +01:00
David Edmundson
0bf60ad1b4 Add missing license 2014-01-03 19:27:55 +01:00
David Edmundson
e57f76c0c0 Merge branch 'mouse_events'
REVIEW: 114589
2014-01-03 19:24:57 +01:00
David Edmundson
919954ab90 Add a simple manual test for MouseEventListener 2014-01-03 19:24:39 +01:00
David Edmundson
04f2f8bd8d Fix memory issues in MouseEventListener
Delete KDeclarativeMouseEvent when emitted

Do not leak KDeclarativeMouseEvent press and hold events when the mouse
moves.

Do not create KDeclarativeMouseEvent when the mouse is hovered. It's
pointless.
2014-01-03 19:24:39 +01:00
David Edmundson
635d02e7c2 Add documentation for MouseEventListener 2014-01-03 19:24:39 +01:00
David Faure
e577f4e588 adjust for new (= old) kdnssd header prefix
Make sure to update kdnssd-framework first.
2014-01-03 14:45:59 +01:00
Marco Martin
2eaf80456f till sync the item size even without visualparent 2014-01-03 12:40:10 +01:00
Marco Martin
ad4fecf426 don't autoposition if there is no visualParent 2014-01-03 12:32:19 +01:00
Yuri Chornoivan
c71d539b25 Fix typo 2014-01-03 09:16:17 +02:00
Marco Martin
6ef94a76d1 system colors 2014-01-02 19:18:53 +01:00
Marco Martin
11a8fa4660 system colors 2014-01-02 18:54:22 +01:00
Marco Martin
692c436960 get rid of toolbar-icons
simplify svg icon management: all svg icons are in icons/ and have the same style
2014-01-02 18:35:29 +01:00
Marco Martin
84df832f5c Merge branch 'mart/modelsInDataEngine' 2014-01-02 11:05:20 +01:00
Marco Martin
5a1d2d0bf4 over/focus borders perfectly aligned 2014-01-02 10:57:59 +01:00
Marco Martin
fbc8194104 better hover, focus 2014-01-02 10:39:59 +01:00
David Faure
9f6611b73d remove unused include 2014-01-01 14:19:01 +01:00
Marco Martin
a7470063a0 model()->modelForSource() 2013-12-30 10:42:25 +01:00
Marco Martin
dea7942533 add DataEngine::setModel 2013-12-30 10:22:06 +01:00
Sebastian Kügler
e9a43b165b Quicker animation in pagestack 2013-12-28 06:57:57 +01:00
Sebastian Kügler
682affabf8 Allow to switch off pagestack transitions 2013-12-28 06:44:58 +01:00
Sebastian Kügler
a50398f433 Use QQuickItem::implicit{Width,Height}
... instead of overriding the property.

Removes a warning whenever the implicit width and height changes, and
reduces the API footprint of AppletInterface.
2013-12-28 03:43:22 +01:00
Sebastian Kügler
e5ad29dabf Adjustments to theme.textColor changes
The larger headings are a bit softened, to make their stick out less,
the font is meant to take care of this. Result: visually more consistent
colouring, strangely. Human eyes are beautifully complex things.
2013-12-28 01:07:06 +01:00
Sebastian Kügler
781ba8b4c7 Make theme.smallSpacing useful
On normal dpi displays, this will give two pixels, but will scale up for
higher DPI.
2013-12-28 01:06:07 +01:00
Sebastian Kügler
84b6e6a245 Adjustments for theme.textColor
textColor is now used from the theme, there it is made grey, similar
effect, less code, more consistency.
2013-12-28 01:05:09 +01:00
Marco Martin
9524193545 use system colors 2013-12-27 20:08:17 +01:00
Marco Martin
1007f70f13 preferences in system colors 2013-12-27 19:16:58 +01:00
Marco Martin
26dea040f2 gray text 2013-12-27 19:04:27 +01:00
Marco Martin
85ce1ee61d system colors 2013-12-27 19:03:55 +01:00
Marco Martin
bd61bc08d1 new icons in system colors 2013-12-27 18:41:30 +01:00
Marco Martin
3faac92f16 native colors for amarok 2013-12-27 18:35:24 +01:00
Alex Merry
778bf0ac0b Clean up target_link_libraries for KF5Plasma
It is now a single call using PUBLIC and PRIVATE keywords.  This removes
a CMake warning about using LINK_INTERFACE_LIBRARIES.

REVIEW: 114683
2013-12-27 16:29:14 +00:00
Marco Martin
beeb20089e draft of new theme
systray icons follow the color scheme

new(still unfinished) button
2013-12-27 15:08:01 +01:00
Marco Martin
86369030de extra whitelist of allowed paths 2013-12-27 14:59:37 +01:00
Marco Martin
10f412ca4a move toolbox stuff in containment 2013-12-27 13:58:16 +01:00
Marco Martin
92073445ce don't reparent before the applet is expanded or not 2013-12-27 13:26:30 +01:00
Marco Martin
4f3228ab44 fix rendering issues 2013-12-27 11:23:16 +01:00