Commit Graph

12375 Commits

Author SHA1 Message Date
Alex Merry
596abe8c68 Use ecm_configure_package_config_file
Ported with:
sed -i -e 's/\(include(\)CMake\(PackageConfigHelpers)\)/\1ECM\2/' \
       -e 's/\<\(configure_package_config_file\)/ecm_\1/' \
       CMakeLists.txt

See http://commits.kde.org/extra-cmake-modules/139f60d81653888f696ef433
2014-02-18 21:18:16 +00:00
Marco Martin
99e350bb34 take into account panel size while positioning
make the dialog look always inside the panel, to not have borders looking brutally cutted away
2014-02-18 18:16:17 +01:00
Marco Martin
ef2e4f46d4 correctly restore panelVisibilityMode 2014-02-18 17:41:48 +01:00
Marco Martin
208e485577 correct behaviors for panel modes
(just missing edge activation)
2014-02-18 17:26:32 +01:00
Marco Martin
456d919326 notify signal of visibilityMode property 2014-02-18 16:59:11 +01:00
Marco Martin
fa8ed3668b event compress restore after location change
now the panel position is correct after location change, and flickers less
2014-02-18 16:54:05 +01:00
Marco Martin
553055e6d3 adjust maximumWidth when adjusting offset, if needed 2014-02-18 13:42:14 +01:00
Marco Martin
ef0832787a restore the proper offset 2014-02-18 12:32:53 +01:00
l10n daemon script
592a0db2ab SVN_SILENT made messages (.desktop file) 2014-02-18 05:13:41 +00:00
Sebastian Kügler
bc7a54bb09 Compile-time connect in PlasmaComponents.Menu 2014-02-18 01:05:26 +01:00
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