1932 Commits

Author SHA1 Message Date
Marco Martin
06d8fea792 get rid of displayAspectRatio
this property is broken by design: units doesn't know anything about views, therefore it can't know what is the current screem
BUG:333068
2014-04-09 12:00:10 +02:00
Marco Martin
ba4e6825a4 don't create expander for containments
or always expaqnded applets
2014-04-08 20:14:06 +02:00
Marco Martin
10f0dc51b9 don't emit activate on reactToScreenChange
this makes the delete dialog *not* freeze palsma
2014-04-08 19:47:50 +02:00
Marco Martin
9a9d85c5e9 emit statusChanged when it closes 2014-04-08 19:02:33 +02:00
Marco Martin
d68bd29e50 binding loop--
after repeateddly changing the orientation no elements go crazy size wise
CCBUG:332701
2014-04-07 16:53:17 +02:00
Marco Martin
b2ecbd7ae5 make sure dialog is resized on minimumSize changed 2014-04-04 21:45:38 +02:00
Marco Martin
e6f71eebd1 remove the shell from plasma-framework 2014-04-04 17:55:56 +02:00
Marco Martin
2f10450c17 make the animate property do something
BUG:332884
CCBUG:332869
2014-04-03 18:08:13 +02:00
David Edmundson
1a65efb619 Remove now unused code to handle positioning widget explorer 2014-04-03 15:55:46 +02:00
Marco Martin
d0908ad735 use views geometries to calculate availableArea
Don't trust anything X11: use our internal tracking of panel
geometries to compute the corona availablescreenarea
also because the space behind a panel not autohide but without struts is to be considered unavailable as well
BUG:332850
2014-04-02 19:39:08 +02:00
Marco Martin
aeabbe9444 new AppletInterface in case of inexistent plugin
if the plugin name is wrong, create a fullfledged appletinterface for the error visualization.
This will make applet removal possible
BUG:332971
2014-04-02 18:59:47 +02:00
Marco Martin
857b0b8069 don't try to load dataengines with and empty name 2014-04-02 11:12:11 +02:00
Marco Martin
2fd322536b text areas use textViewColor 2014-04-01 17:18:12 +02:00
Marco Martin
d597e07fd5 remove dead code 2014-03-31 20:37:52 +02:00
Marco Martin
a326f85cd8 a breeze-dark theme
this theme won't have any graphics, just colors that get applied with css on the default svgs
2014-03-31 20:36:37 +02:00
Martin Klapetek
461042a240 Use installEventFilter calls properly
Should fix some font-change related bugs
2014-03-31 18:49:45 +02:00
Marco Martin
82e9bd46d0 don't depend from Qt5Declarative
That's the qt5 port of QGraphicsView-based QML
2014-03-31 18:37:28 +02:00
Marco Martin
7438ba4164 ignore close events
try harder to not get automatically moved or resized.
on wayland probably kwin shouldn't even rty to auto position frameless windows from the plasma process, but for now is a workaround
2014-03-31 18:32:27 +02:00
David Edmundson
e59a86da32 Supress warning of re-defined signal in panelview 2014-03-31 17:47:06 +02:00
Marco Martin
8c54e053a1 alt+f4 shouldn't work on the dashboard
BUG:332810
2014-03-31 16:44:45 +02:00
Aleix Pol
018bd82aca Drop QApplication usages in units.cpp
Drop dependency to QtWidgets from this file. We can start assuming that it
might not be that functional in some platforms.
Use QGuiApplication counterparts, based mostly on QScreen, which could make
it more powerful in the future.

REVIEW: 117161
2014-03-30 23:05:51 +02:00
David Faure
37179fb7a0 Include ksharedconfig.h (since it will be removed from kpluginfactory.h) 2014-03-29 08:22:28 +01:00
Marco Martin
91cb51e3c3 fix behavior of inverted sliders
BUG:332688
2014-03-28 11:51:19 +01:00
Marco Martin
f3aed6ac4a less groowe width rather reposition of handle
BUG:332587
2014-03-28 11:43:51 +01:00
Marco Martin
144026951e add activities() to the script engine 2014-03-28 11:13:33 +01:00
Marco Martin
5cfa48062e add setCurrentActivity to scripting 2014-03-28 11:04:36 +01:00
Marco Martin
4b7b2356e0 create the containmentonly in insertActivity, for scripting 2014-03-28 11:04:36 +01:00
Marco Martin
abdca6f189 Make the desktop scripting activity aware:
adapt the desktop scripting from the time when Containment == activity to creating actual activities

* activities() -> desktops()
* activityById() -> desktopById()
* activityForScreen() -> desktopForScreen()

To create a new activity, there is the new global function
createActivity(activtyName, containmentPlugin (optional))

when you want to access the actual containments created by the activity, you do

Array[containments] = desktopsForActivity(activityId)
2014-03-27 21:39:36 +01:00
Ivan Čukić
04bf0ddaed The icon dialog can now be closed on request 2014-03-27 20:11:28 +01:00
Ivan Čukić
f53a976ae7 Bypassing the window manager does not imply no focus 2014-03-27 19:51:16 +01:00
Marco Martin
5b4e2bff36 when the controller is open, force panel mode
force to "Windows can cover" when the controller is open: it's the least dangerous mode.
this also disables the struts while the controller is open, this makes panel resize faster
Means the behavior of struts disabling is *INTENDED*
BUG:332187
BUG:332592
2014-03-27 12:37:40 +01:00
Bhushan Shah
79684002f6 Formats are now part of KDeclarative repo 2014-03-27 01:57:47 +05:30
Martin Klapetek
ce878ee787 Use installEventFilter properly
BUG: 332501
2014-03-26 14:24:46 +01:00
Sebastian Kügler
dbbf69b4c5 Use Font.Light variants for PlasmaExtras' Heading and Title 2014-03-26 01:17:11 +01:00
Sebastian Kügler
84a212469f Disable elide in TabButton
This messes up the fontmetrics needed to size the tab button. Before,
the labels would be elided no matter what.

This is more a band-aid than a real fix, we'll need to investigate how
we can make the sizing work correctly, but at least it "unscrews" the
layout of all of our tabbars.
2014-03-26 00:13:54 +01:00
Sebastian Kügler
71976aec92 More specific exit codes for plasmapkg2 2014-03-25 22:22:59 +01:00
Alex Merry
9aabcbe067 Explicitly specify link interface libraries for libKF5PlasmaQuick
The headers may not be public (yet?), but it doesn't hurt to have this
stuff specified properly.

REVIEW: 117060
2014-03-25 19:40:00 +00:00
Marco Martin
141df3d98d if a containment gets removed, remove from bookeeping
CCBUG:332593
2014-03-25 18:26:25 +01:00
Marco Martin
c452c055da don't try to hide the panel when the ui is not ready 2014-03-25 18:03:42 +01:00
Marco Martin
91642b0868 qtextracomponents->kquickcontrolsaddons 2014-03-25 17:10:25 +01:00
Marco Martin
c8844799eb don't lose the final position on showEvent
if there is an animation running and a showEvent happens, set the position to the supposed endValue before killing the animation

BUG:331981
2014-03-25 16:24:20 +01:00
Marco Martin
1415c07d4b the bounds of the slider are centered on the handle
BUG:332587
2014-03-25 15:30:00 +01:00
Marco Martin
c4e6f06f42 expose the plugin name 2014-03-25 15:13:22 +01:00
Sebastian Kügler
637bf0ea19 Add --no-respawn (-n) option to plasma-shell
Disables automatic restarting of plasma-shell, useful for debugging
purposes.

BUG:332515
2014-03-25 02:25:09 +01:00
Marco Martin
900e0108e1 if no position was provided, negative pos
call the qml part with an invalid position if not supplied, will make new applets in the panels being put in the end instead of at the beginning
2014-03-24 18:15:50 +01:00
Marco Martin
6c6aeef6b5 api (still not ui) to add panel spacer 2014-03-24 18:05:00 +01:00
David Edmundson
b5dc457570 Compact two identical conditions 2014-03-24 17:07:30 +01:00
David Edmundson
399e61901f don't crash when expanding applets whilst loading
BUG: 332429
2014-03-24 17:05:40 +01:00
Eike Hein
6a6bf8e80c Add back a public slot to procedurally hide a ToolTipArea's tooltip. 2014-03-24 15:19:02 +01:00
l10n daemon script
99900255bf SVN_SILENT made messages (.desktop file) 2014-03-23 04:47:33 +00:00