Custom shell and corona

Olivier Churlaud olivier at churlaud.com
Fri Nov 27 22:46:27 UTC 2015


  Hi,

I'm now done with this first custom shell we spoke about with Marco.  If 
you answer, please put me in copy since I'm not registered on this 
MailingList.

You can see it at 
https://quickgit.kde.org/?p=scratch%2Fochurlaud%2Fplasma-skratch.git

What is currently missing
================
  - Define the size of the QML object when inserted. I'm not able to do 
this, I don't know why.
  - Put some connections between the main app and the plasmoid. I don't 
know how to do that because I've never really used QML, but I think it 
should not be to complicated.
  -> Question: do we do this by QDbus, or by DataEngine (I think it's 
the name of the thing)?

Feedback about plasma-framework
=======================
  - To add a container, one must use PlasmaQuick::ContainmentView, which 
is a QQuickWindow and should therefore be toplevel. It's not so good, if 
I want to put it as a widget in a QDialog or something else. Another 
class would be good for applications.
  - The Shortcuts defined for the desktop are also defined for the 
custom shell, even with a minimal Shell that contains only

      Item { id: root;     property Item containment; }

In my case, if I scroll on the QML object it changes my virtual desktop !!

I'll be slowly trying to implement this on amarok, if any help on your 
side is very welcomed (about this missing classes, mainly)

Cheers!
Olivier


More information about the Plasma-devel mailing list