Sebastian Kügler
21eb2d7ce5
Fix imports for testcomponents applet
2014-02-18 01:04:54 +01:00
Sebastian Kügler
61e4b3bbd3
Fix assignment type error
2014-02-18 00:20:20 +01:00
Marco Martin
08e3fcfe65
requestActivate() in this place caused 100% cpu
...
if more than one dialog is shown in a loop, causes requestActivate called to different windows too fast, this causes 100% cpu usage both in the application and in the windowmanager (not kwin specific)
2014-02-17 19:49:40 +01:00
Sebastian Kügler
7fcb1b7889
Merge branch 'sebas/themeswitch2'
...
Conflicts:
src/shell/panelconfigview.cpp
2014-02-17 17:59:32 +01:00
Michael Palimaka
c9c4e6c3b2
Remove unused system dependencies.
...
- plasma_appletscript_declarative includes QtUiTools but doesn't use it
- QtPrintSupport is not used anywhere
- Xss, Xext, and SM are not used anywhere
- OpenSSL is not used anywhere
REVIEW: 115830
2014-02-18 03:12:12 +11:00
Marco Martin
11bdf0b5d3
repaint the svg icon when plasma theme changes
2014-02-17 15:45:20 +01:00
Marco Martin
317f19d658
event compression in icons generation
...
saves generation of useless qimages and speed improvement ruring manual resize: ludicrous
2014-02-17 15:39:01 +01:00
Marco Martin
1b21c1a5d9
call superclass in the proper place
2014-02-17 14:32:35 +01:00
Marco Martin
12a766795e
return the correct immutability
2014-02-17 12:00:24 +01:00
Marco Martin
e03570227c
more robust location switch
...
an horizontal panel will have a fixed height
a vertical panel will have a fixed height
this way window managers don't fiddle with it
2014-02-14 19:06:06 +01:00
Marco Martin
d1b0e89a63
a way to read and write global shortcuts from qml config views
2014-02-14 17:28:10 +01:00
Marco Martin
7e8aa867b0
crash--
...
wait for the ui to be ready before connecting activated() to the expanding
2014-02-14 17:25:59 +01:00
Marco Martin
50a584d0bc
rename Applet::activate() with Applet::activated()
...
activate() is a name that suggests a slot more than a signal
2014-02-14 14:40:53 +01:00
Marco Martin
60565dafcb
get rid of elementAtPoint()
...
was a stub, never implemented because qtsvg doesn't support it (and never will)
2014-02-14 14:30:58 +01:00
Marco Martin
54549d8312
set the applet as expanded on activate signal
2014-02-14 14:26:53 +01:00
Marco Martin
ad54cc0187
global shortcuts and different flags for the dashboard
...
it should be actually usable
2014-02-14 13:56:13 +01:00
Marco Martin
44ab365d2c
simplify a bit location change
...
don't call restore() on positionPanel()
a bit more reliable
still fails randomly by h11 not doing what is asked to
2014-02-13 18:42:55 +01:00
Marco Martin
4aa3360495
resize the panel in one single go
2014-02-13 15:48:20 +01:00
Marco Martin
59dbfeeab6
ask confirmation to delete containments
2014-02-13 15:30:07 +01:00
Sebastian Kügler
566e2a8a42
Fix QPixmapItem::PreserveAspectCrop
...
This case was broken and would scale the image, while what we want is a
centered piece, from Qt::KeepAspectRatioByExpanding.
2014-02-13 14:56:10 +01:00
Sebastian Kügler
a8e31e1593
plasmapkg2: Fix installation and listing of wallpapers
2014-02-13 14:56:10 +01:00
Marco Martin
9d538912f8
16x16 version
2014-02-13 13:02:54 +01:00
Marco Martin
66be42959e
pin/unpin icons
2014-02-13 13:02:54 +01:00
David Edmundson
6bff4ef469
Avoid frame resizing till componentCompleted
2014-02-13 12:45:30 +01:00
Marco Martin
5c6077c728
add a zoom icon
...
used for the panel controls
2014-02-13 11:50:49 +01:00
Marco Martin
978b97e276
add lock icons
2014-02-13 11:27:41 +01:00
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