Commit Graph

12389 Commits

Author SHA1 Message Date
David Edmundson
7c135314aa Watch QQmlParserStatus in dialog
This way we only call the expensive syncToMainItemSize once we have all
the information to accurately position the window.

Using the timer to limit the calls doesn't work entirely (according to
qDebug) especially with the multiple threads to compile things.

Seems to prevent the dialog ever jumping around on load.

REVIEW: 115709
2014-02-13 11:27:35 +01:00
Bhushan Shah
334e818af0 Do not show OSD for invalid values of percentage like -1 or 200
REVIEW: 115712
2014-02-13 18:16:49 +05:30
Marco Martin
664fd4167c maximizing the panel actually works 2014-02-12 17:36:46 +01:00
Marco Martin
6bccf2d1af api to access to containment actions 2014-02-12 17:13:56 +01:00
Martin Gräßlin
bada0c97ba Ensure that we can build without X11 or XCB
* X11 is optional dependency
* XCB is optional dependency
* Qt::X11Extras is only found if both X11 and XCB are found
* switch to HAVE_X11 instead of X11_FOUND in CMakeLists
* remove/fix custom added definitions
* use #if HAVE_X11 instead of #ifdef HAVE_X11 (that is always true)

REVIEW: 115698
2014-02-12 16:20:42 +01:00
Martin Gräßlin
31e301174a Ensure to not call X11 specific calls if we are not on platform X11
This fixes a bunch of possible crashy code when trying to run
applications linking plasma-framework on platform Wayland.

REVIEW: 115641
2014-02-12 16:20:04 +01:00
Marco Martin
68552f81dd take into account margins when propagating size hints 2014-02-12 15:34:34 +01:00
Aurélien Gâteau
6a7ebaf293 Do not rely on KF5Umbrella
Should fix Jenkins
2014-02-12 15:03:29 +01:00
Marco Martin
003cbf8317 hide remove action for desktop containments 2014-02-12 14:04:53 +01:00
David Faure
515f9a352f fix compilation after 18473c9e9e which changed version.h to include plasma_version.h 2014-02-11 21:19:47 +01:00
Marco Martin
a4f14a966a new property: interactive (default false)
if interactive is true, when the mouse cursor leavesthe tooltiparea and enters the tooltip,
it won't hide, so it will be possible to interacti with it
2014-02-11 19:28:28 +01:00
David Edmundson
63c62d6da8 Documentation++ 2014-02-11 18:52:51 +01:00
Aleix Pol
18473c9e9e Remove KRunner from Plasma-Framework
Have it as a separate KRunner framework instead
2014-02-11 18:03:06 +01:00
Sebastian Kügler
dbbb1ed513 Minor cleanup 2014-02-11 17:29:59 +01:00
David Faure
452413ef33 use version strings defined at toplevel - doesn't work though ? 2014-02-11 16:23:33 +01:00
Marco Martin
da36ebe0e4 remove unused signal 2014-02-11 13:31:44 +01:00
Marco Martin
6f256aa7e6 remove the legacy config machinery 2014-02-11 13:29:37 +01:00
David Edmundson
66d10d5c5a Add a property to tooltip to enable/disable tooltips
This is useful to be able to disable tooltips when a dialog exists.

We don't use the QQuickItem::enabled property as this propagates onto
children and has side effects.

REVIEW: 115623
2014-02-11 12:10:43 +01:00
Marco Martin
0d138bf2fb check the pointer 2014-02-11 11:11:34 +01:00
Marco Martin
3c74807791 don't alterate the position given the borders
eternal size dance--, don't take borders into account 2 times
2014-02-10 20:09:03 +01:00
Aurélien Gâteau
20def71cdc Update to new kservice_desktop_to_json syntax 2014-02-10 19:16:44 +01:00
Marco Martin
4e13ce6966 make sure full representations don't get loaded 2014-02-10 18:14:11 +01:00
Marco Martin
6f8f9a9c64 fix layout 2014-02-10 17:15:40 +01:00
Marco Martin
4e25b59b8e fix the condition 2014-02-10 17:04:39 +01:00
Marco Martin
4722cf45bc check the propert mainText() subText() 2014-02-10 17:01:25 +01:00
Marco Martin
022db8a9af don't show tooltips without tiles or custom item 2014-02-10 16:56:58 +01:00
Marco Martin
808eca4182 use QStringLiteral instead 2014-02-10 16:38:15 +01:00
Marco Martin
87730146db and make the previous one actually work 2014-02-10 16:23:13 +01:00
Marco Martin
e30a50f755 null string:fallback empty string: empty 2014-02-10 16:18:13 +01:00
Marco Martin
0573a47e06 tests and autotests in top level dir 2014-02-10 15:17:07 +01:00
Hrvoje Senjan
cc34d2c17e Rename plasmapkg to plasmapkg2
So it can be co-installed in the same prefix as kde-runtime(4)

REVIEW: 115605
2014-02-10 12:56:26 +01:00
Marco Martin
c0f59b4be7 some description 2014-02-10 11:20:50 +01:00
David Faure
e76d11be9d Port to updated KActivities 2014-02-08 18:48:40 +01:00
David Faure
f9e5cc949f Update version numbers
Reorder some things to make it closer to the framework template, i.e.
easier to compare things with other frameworks.
2014-02-08 12:30:02 +01:00
David Edmundson
fb0728d40a Ammend last commit 2014-02-07 19:37:06 +01:00
David Edmundson
39ce54c0db Set paneltoolbox properties on construction
Also refactor the code to avoid creating and deleting an object if
containmentGraphicObject does not exist.
2014-02-07 19:35:31 +01:00
David Edmundson
233267f492 Fix spelling in comment 2014-02-07 19:35:31 +01:00
Marco Martin
77214956e7 search trough parent hierarchy for locations
seems reliable to determine the applet location
2014-02-07 17:44:47 +01:00
Marco Martin
5ba990df15 invert parent relationship of the compact and expander 2014-02-07 16:19:11 +01:00
Marco Martin
857150c183 the expander is compactrepresentation child
because it'll contain a tooltip too
2014-02-07 12:20:43 +01:00
Sebastian Kügler
462407eba7 Fix notes example, svg loading was wrong 2014-02-07 03:32:20 +01:00
Sebastian Kügler
b2ead1fe09 Merge branch 'master' into sebas/themeswitch2 2014-02-06 23:56:47 +01:00
David Edmundson
2b7a1eef48 Initialise values
Fixes valgrind screaming about us doing a jump on unitialised memory
2014-02-06 19:07:43 +01:00
Marco Martin
ab140c8c1e add properties for tooltips metadata 2014-02-06 18:49:28 +01:00
Sebastian Kügler
eebfb64d0a Merge branch 'master' into sebas/themeswitch2 2014-02-06 17:56:28 +01:00
Marco Martin
cab11dd7f8 change expanded accordingly when applet expands or collapses 2014-02-06 13:57:53 +01:00
Marco Martin
3858044d25 Merge branch 'mart/AppletAttached'
Conflicts:
	src/declarativeimports/core/dialog.cpp
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2014-02-06 13:16:11 +01:00
David Edmundson
e82b1dab9d Enable Plasma Controls for tab-navigation 2014-02-06 12:35:32 +01:00
David Edmundson
a3a434ced5 Upgrade all components to use QtQuick2.1
This has some new features like activeFocusOnTab which are awesome.
2014-02-06 12:16:43 +01:00
Marco Martin
3bb0e7d3d0 use the config of the applet parent of containment
that's the systray specific hack
2014-02-06 12:12:43 +01:00