Commit Graph

904 Commits

Author SHA1 Message Date
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
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
Marco Martin
590cb7baa7 a property in Applet to tell if the user is configuring
pure model, doesn't actually carry the config dialog, but serves as bookkeeping
2013-08-20 18:17:20 +02:00
Marco Martin
98612b983d use the global type for ContainmentType 2013-08-20 17:21:05 +02:00
Martin Gräßlin
531e6c3db5 Fix linking
KDEUI is dead which caused quite some collateral damage in our
CMakeLists.
2013-08-20 07:47:09 +02:00
l10n daemon script
c3742a068c SVN_SILENT made messages (.desktop file) 2013-08-20 04:24:25 +00:00
Marco Martin
d68e452545 correctly pass fillWidth and hints to outer layers 2013-08-19 18:29:14 +02:00
Marco Martin
ea69577005 export fillWidth/fillHeight properties
with those should hopefully be possible to have widgets behaving like the taskbar
2013-08-19 17:44:40 +02:00
Marco Martin
5e376058c8 remove old test panel 2013-08-19 17:08:03 +02:00
Marco Martin
9aba51f7a3 put a windowlist in the panel by default 2013-08-19 15:54:21 +02:00
heena mahour
1e36c3b326 Merge branch 'heenamahour/plasma2' 2013-08-17 08:18:35 +00:00
heena mahour
b17ca9f007 Merge branch 'heenamahour/gsoc' of git://anongit.kde.org/plasma-framework into heenamahour/plasma2 2013-08-17 08:15:01 +00:00
l10n daemon script
3880ffb13f SVN_SILENT made messages (.desktop file) 2013-08-17 04:14:06 +00:00
heena mahour
31fe4360a7 original Desktop 2013-08-16 16:16:44 +00:00
heena mahour
3fb515ca6d Added margin Hints to highlight and indent Desktop.qml 2013-08-16 15:36:32 +00:00
heena mahour
57d2b1ee18 Added marginHints in Highlight.qml 2013-08-16 15:16:43 +00:00
Marco Martin
902f98ed6e make sure the plugin config gets restored 2013-08-14 15:13:35 +02:00
Marco Martin
834f73a101 fix loading of containmentactions plugins 2013-08-14 14:09:01 +02:00
Aaron Seigo
55d6c78c9a forward port of patch from master to fix crash due to non-existing theme 2013-08-14 14:07:19 +02:00
Marco Martin
6be0228694 export containmentactions plugins in the new way 2013-08-14 11:45:12 +02:00
Marco Martin
6440cc0bee less border margin 2013-08-14 10:42:56 +02:00
Sebastian Kügler
0d909073c5 noise-- 2013-08-14 05:48:03 +02:00
Sebastian Kügler
b14d63b367 Don't crash when an applet can't be loaded from disk 2013-08-14 05:47:38 +02:00
Sebastian Kügler
2256c5ad1c Fix text elide in button and toolbutton
Also use a Plasma.Label, instead of doing it on our own
2013-08-14 05:46:55 +02:00
Sebastian Kügler
c76b5137e2 Fix empty group operations
There appears to be a subtle change in KConfig*, which means that if a
config group is empty, it won't be listed in groupsMap. Since operations
files can have empty groups, which are simply calls without arguments,
these would not be listed, and thus not be callable at all.

Fix: Add a dummy item per group, not beautiful, but effectively makes it
work.
2013-08-14 03:29:46 +02:00
Sebastian Kügler
7fb579610a Return QObject* instead of Service*
Service* is not understood as return type, QObject is.
2013-08-14 03:26:43 +02:00
Marco Martin
7515f665c7 make possible for wallpaper plugins to align with
the plugin combobox
2013-08-13 20:30:36 +02:00
heena mahour
5766fcc9cd ehh, not be pushed 2013-08-13 12:53:44 +00:00
Marco Martin
4c2a1046c2 use just a combobox 2013-08-13 14:44:07 +02:00
Marco Martin
2a293e0680 fix left sidebar 2013-08-13 14:08:08 +02:00
Marco Martin
32d04b1809 fix wallpaper selection 2013-08-13 11:57:31 +02:00
Marco Martin
d12cf22305 default to "desktoptoolbox" 2013-08-13 11:10:56 +02:00
Martin Gräßlin
f50a5412ba Drop windowId property from PlasmaCore.Dialog
Property windowId was according to the comments only provided because
KWin needed it. KWin's usecase was to know the window Id of the window
where a given item is rendered to. In QtQuick a QQuickItem provides a
pointer to the QQuickWindow holding the item. This means this hack is no
longer needed.

REVIEW: 112033
2013-08-13 06:47:10 +02:00
Sebastian Kügler
0b5d791e2b Add lockWidgets to containment interface 2013-08-13 04:19:13 +02:00
Sebastian Kügler
0859a1fe58 header cleanup 2013-08-13 01:34:42 +02:00
Sebastian Kügler
8fd2313b88 Macro name change: installPackage becomes plasma_install_package
This naming is in line with the naming policy for frameworks.
2013-08-13 01:01:39 +02:00
Sebastian Kügler
f5d8853624 Reduce KStandardDirs usage 2013-08-13 00:43:51 +02:00
Sebastian Kügler
61fc0fece0 replace testcontainment with real desktopcontainment
Delete the testcontainment package, which is only one file + metadata
anyway.

This means that in order to run the default plasma-shell, an
installation of kde-workspace[frameworks-scratch] is needed.
2013-08-12 22:59:21 +02:00
Marco Martin
7d607b49a8 show panel also if is the last containment to be added in startup 2013-08-12 20:08:36 +02:00
Marco Martin
bd82f72a40 fix layout 2013-08-12 18:41:21 +02:00
Kevin Ottens
72485975cb It is the sole user of isMultiHead so move the code there 2013-08-12 18:12:11 +02:00
Marco Martin
0978d2f73a Merge branch 'mart/prettyStartupSequence'
Conflicts:
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2013-08-12 14:42:58 +02:00
Marco Martin
78978cd7e3 get rid of appletcreationtimer 2013-08-12 14:38:10 +02:00
Marco Martin
ebe6bbe1ab init the panels only when desktops are ready 2013-08-12 14:35:02 +02:00
Marco Martin
daf4f9daa9 debug-- 2013-08-12 13:39:49 +02:00
Marco Martin
04650605e5 don't emit uireadychanged if not changed 2013-08-12 13:38:31 +02:00
Sebastian Kügler
6fb75ac5f8 use plasma_add_plugin macro 2013-08-10 01:22:48 +02:00
David Faure
83cc2a25f4 Some KStandardDirs->QStandardPaths porting 2013-08-09 22:11:42 +02:00
Marco Martin
8750d01f40 move the tracking of uiReady into libplasma
doesn't still have nothing about ui, is completely bookkeeping, but is
easier to have it correct there
2013-08-09 21:51:13 +02:00
Marco Martin
8ff1ace31c containment connection happens before 2013-08-09 20:17:11 +02:00
Sebastian Kügler
59ea65e859 Include QUrl instead of qurlpathinfo.h
Fixes build. Thanks to Teo for detective work! :)

CCMAIL:teo@kde.org
2013-08-09 17:06:41 +02:00
Marco Martin
ebdfbb2e25 containments emit uiready only when all applets did 2013-08-09 14:58:36 +02:00
Marco Martin
0d9bc6d7be fix delayed loading of containments 2013-08-09 11:56:58 +02:00
Sebastian Kügler
fd3f1eaa35 Reduce KDE4 usage in cmake setup 2013-08-09 05:22:20 +02:00
Sebastian Kügler
db9b0016d1 remove last remains of kdebug 2013-08-09 04:14:26 +02:00
Marco Martin
336055edc5 experiment in delaying the panel creation 2013-08-08 22:18:45 +02:00
Marco Martin
f979e1bbcb remove view::init 2013-08-08 20:23:53 +02:00
Marco Martin
5d4f1b381f load the wallpaper before setting the screen
we want the wallpaper showing before the plasmoids.
we still need to load the wallpaper only after a screen has been
assigned, but will be done after
2013-08-08 17:59:30 +02:00
Marco Martin
ce13335f36 make really sure the wallpaper is loaded only once
and that an empty wallpaper is not loaded at all
2013-08-08 17:21:11 +02:00
Marco Martin
9b52bfad89 the scriptengine has an uiReady property
will be used for some experiments later: we can track if the ui
machinery has been correctly initialized.
we'll use that to ensure the applets gets initialized and prepared only
after their containment has been
2013-08-08 16:12:31 +02:00
Marco Martin
279c622b27 remove include() 2013-08-08 15:52:13 +02:00
Marco Martin
8c93e1f6cd remove loadui/loadservice 2013-08-08 15:51:29 +02:00
Marco Martin
f69f40c909 remove configChanged() 2013-08-08 15:38:40 +02:00
Marco Martin
484b7d9b55 port to new connect syntax 2013-08-08 15:37:13 +02:00
Marco Martin
980e482f4d convert a bunch of connects to new syntax
avoid future risks of connects silently failing
2013-08-08 13:50:03 +02:00
Marco Martin
0ed6b09e85 remove relkeaseVisualFocus, was unused and not belonging to Applet
anymore
2013-08-08 13:37:36 +02:00
Sebastian Kügler
fcad129997 Remove K_EXPORT_PLUGIN macro from platformstatus 2013-08-07 02:54:32 +02:00
Sebastian Kügler
b57678f5d1 Remove K_EXPORT_PLUGIN macro from kpart 2013-08-07 02:54:20 +02:00
Sebastian Kügler
7554419e1d Remove K_EXPORT_PLUGIN macro from plasma/scripting 2013-08-07 02:52:37 +02:00