Commit graph

8 commits

Author SHA1 Message Date
Martin Gräßlin
c00c67bf29 [scripting] Drop qmlRegisterType for QQuickWindow
Not needed as one can just do:
import QtQuick.Window;

This fixes a build problem with Qt 5.4.

BUG: 338277
2014-09-03 09:47:21 +02:00
Marco Martin
16253d7fc3 qtextracomponents->kquickcontrolsaddons 2014-03-25 17:13:43 +01:00
Martin Gräßlin
3b37c82c5d [kwin] Make desktop change OSD a click-through window
It used to be like that, but regressed with the switch to QML. Now
PlasmaCore.Dialog supports an outputOnly mode, so let's add it again.
2014-01-21 09:01:11 +01:00
Martin Gräßlin
47f443479c [kwin] Port Plasma::Dialog from windowFlags to flags 2014-01-03 11:33:14 +01:00
Martin Gräßlin
c277419554 Set location of Dialog to Floating to prevent slide animation 2013-11-07 14:29:44 +01:00
Martin Gräßlin
17553e5a1f Work around problem of restored QQuickWindows not being visible
A declarative KWin script needs to register the QQuickWindows it is
using in the KWin object. This method ensures that the QQuickWindow
will destroy the platfrom window once it gets hidden. So the next
time the QQuickWindow is shown a new platform window is created.

As can be seen in the OSD this is not really nice, therefore a
KWin.Dialog should be created which takes care of these steps.
2013-11-07 14:10:35 +01:00
Martin Gräßlin
d7a3a497d1 Adjust DesktopChangeOSD to QtQuick 2.0
The OSD does not yet work properly, though. It exposes the problem
that the window is broken once it got hidden.
2013-11-07 10:35:26 +01:00
Martin Gräßlin
7588890bca Use a Loader for the Virtual Desktop OSD
The complete dialog is moved into a Loader item and it gets loaded on
first change of virtual desktop. This change should result in less
parsing on startup and moving the cost of the loading to the time when
its really needed.

REVIEW: 109639
2013-03-22 10:13:26 +01:00