Marco Martin
8c252e6c17
translate trigger strings
2013-08-27 15:54:05 +02:00
Marco Martin
8052ed8566
use the componentized button for input
2013-08-27 15:27:02 +02:00
Marco Martin
6617a26726
correctly save and restore containmentactions config
2013-08-27 15:23:19 +02:00
Marco Martin
b44f9d17cb
make the plugin selector combobox work
2013-08-27 13:27:49 +02:00
Marco Martin
39b49bf464
get rid of containmentActions::config()
2013-08-27 12:10:51 +02:00
Marco Martin
409b38a1e5
use switch desktop by default
2013-08-27 11:58:36 +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
Sebastian Kügler
8596b9c43b
Update porting scripts
2013-08-27 04:28:24 +02:00
Sebastian Kügler
bcbfea3576
Less debug
2013-08-27 04:27:48 +02:00
Sebastian Kügler
19c4b555d5
Less warnings in TabButton
2013-08-27 04:27:28 +02:00
Sebastian Kügler
fd7ba8497a
Use QVariantMap for data argument in newData
...
We need to pass the data as QVariantMap to the QML runtime, otherwise
the object can't be decoded client-side.
2013-08-27 04:26:00 +02:00
Sebastian Kügler
cbd1fa335c
Remove debugging rects from drag test
2013-08-26 21:43:53 +02:00
Sebastian Kügler
fa20d4b99b
Parent QDrag to Item's parent
...
This seems more in line with general semantics, although it probably
doesn't make much of a difference here.
2013-08-26 21:43:52 +02:00
Marco Martin
9a9ac9f9e5
containment actions config ui fully working
2013-08-26 21:22:06 +02:00
Marco Martin
f2f2a2b7c5
CurrentContainmentActionsModel in own file
...
working about button
2013-08-26 18:30:57 +02:00
Marco Martin
bf82942528
delete config widget when closed
2013-08-26 17:58:23 +02:00
Marco Martin
0a3eae6806
correctly show configuration ui
...
but kded5 goes berserk when it gets closed
2013-08-26 17:50:17 +02:00
Marco Martin
410fac542c
clip the scrollview for sorrect slide effect
2013-08-26 14:59:43 +02:00
Marco Martin
35748e1f1e
correct action input field
2013-08-26 14:58:59 +02:00
Marco Martin
01f041b3ef
get rid of outer scrollview
...
unbreaks wheel for modules
2013-08-26 14:57:15 +02:00
Sebastian Kügler
357c964956
Improve Drag and Drop test
2013-08-26 02:24:20 +02:00
Sebastian Kügler
acba1e9471
Fix a bunch of leftovers from porting, add debug
2013-08-26 02:23:24 +02:00
Sebastian Kügler
20e9241c3a
Remove KDE4Defaults
2013-08-26 02:21:53 +02:00
Sebastian Kügler
663b394d5e
hasColor method for mimedata
2013-08-26 02:19:31 +02:00
Sebastian Kügler
3ccf499854
Paint a row of icons for the mimetypes
2013-08-24 03:43:26 +02:00
Sebastian Kügler
7a52638408
Fix image
2013-08-24 01:17:59 +02:00
Sebastian Kügler
6628cf0a7c
Small stylistic improvement
2013-08-24 01:09:45 +02:00
Sebastian Kügler
b9723c3142
Make QCommandLineParser static
...
No need to pass it around this way to set up the containment.
2013-08-24 01:07:47 +02:00
Sebastian Kügler
7cddcb64c1
Remove fake i18n function from widgetsexplorer
2013-08-24 01:07:30 +02:00
Sebastian Kügler
4cd608d09d
Use QTextStream for output
2013-08-24 00:29:48 +02:00
Marco Martin
f5099f21fd
new model type for the current containment actions
...
qml invocable methods to add and remove entries
2013-08-23 18:52:57 +02:00
Marco Martin
0502f8f972
put the current containment actions in a ConfigModel
2013-08-23 16:31:09 +02:00
Marco Martin
d025f583b2
use kdeclarative in configview
...
export current containment actions
2013-08-23 15:35:56 +02:00
Sebastian Kügler
4fcedcbc46
Port to QCommandLineParser
2013-08-23 01:06:05 +02:00
Marco Martin
0e107c4f1f
very raw stub for containment actions config
...
correctly lists them, still not possible to config them
2013-08-22 21:45:18 +02:00
Andreas Cord-Landwehr
24c60ed48c
Fix button width computation when height is set.
...
This commit fixes the button label overlapping over the button borders
when the button height is manually set to a value bigger than the
icon's smallsize.
Review done by notmart on IRC.
2013-08-22 21:14:42 +02:00
Marco Martin
1b2a75a819
add some i18n() in the test applet
2013-08-22 17:01:28 +02:00
Kai Uwe Broulik
b71f8bd894
Forward port the 4.11 battery icon without the blocks
2013-08-22 15:23:12 +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
Sebastian Kügler
9745fe5535
fix TypeError on dialog exit
2013-08-22 04:51:35 +02:00
Sebastian Kügler
824c8d0511
Set wallpaperplugin to the ConfigDialog before applying
...
Makes switching between wallpaper plugins work for me.
2013-08-22 04:47:47 +02:00
Sebastian Kügler
757e1d4a3e
Coding style
2013-08-22 04:47:29 +02:00
Marco Martin
0a73ce2850
if hover events are accepted, intercept them too
2013-08-20 23:03:57 +02:00
Marco Martin
4426b4e089
ensure the panel doesn't get focus
...
will still have to get it when an applet status marks itself as accepting input
2013-08-20 22:54:48 +02:00
Eike Hein
4d5bac5f22
Ignore child event types we're not explicitly interested in.
...
MouseEventListener listens to both child events and events passing
through itself; child events are recorded so the handler for the
latter can perform a comparison and avoid emitting signals for the
same event again. However, this comparison could fail because the
member used to record the last child event would also be updated
for events we were not actually interested in.
A real-world example of this is opening a popup menu in repsonse to
a Press event. This causes an Ungrab event on the child, which would
cause the comparison to fail and mousePressEvent to announce the same
press yet again.
CCBUG:323067
2013-08-20 19:53:46 +02:00
Marco Martin
b690e612cc
expose correctly useConfiguring
2013-08-20 18:34:52 +02:00
David Edmundson
0ddc59af24
Enable QML Debugger
...
REVIEW: 112127
2013-08-20 17:27:37 +01:00
Marco Martin
b768f17c14
get rid of paintInterface
2013-08-20 18:19:39 +02:00