krunner qml
Aaron J. Seigo
aseigo at kde.org
Wed Jan 9 14:43:08 UTC 2013
hi...
in order to have a workspace ready for libplasma2, everything needs to be done
in qml. there has been at least one attempt to get krunner QML-ified, thanks to
Aleix Pol, and possibly others.
a fair amount of internal work was really called for, though, to make it as
nice as it could/shoudl be. just making it possible to load QML into krunner
was not really enough.
so after having looked at other attempts (which was useful, so thanks for that
work being done!), i started in on a refactoring of krunner. it's not done
quite yet, but it's getting there. you can check it out in the aseigo/krunner-
qml branch of kde-workspace. don't expect it to do anything yet, though :)
currently it:
* loads Plasma::Packages of QML for UI
* provides a small API available from QML for the application to let the UI
know of configuration changes, etc
* reduces the responsibilities of KRunnerDialog, leaving more to the QML
another important change is that i'm playing with the idea of having the
switch user UI once again something different. krunner was simply re-using the
Sessions runner for this. this was nice because it was less work, less code
duplication, ensured consistency, etc.
with the move to QML, however, i'd like to see a purpose-designed UI for user
switching. this should be harmonized with the DM, preferably by sharing QML (i
doubt kdm will ever give us that; but we can at least work with lightdm), as
well as the lock screen which also provides a subset of this behaviour.
if anyone wants to try their hand at doing some QML for the switch user UI,
that'd be cool :)
i'm thinking of a modal, centered window ... perhaps a full screen width strip
even? that shows all the existing sessions in a row to pick from and one entry
to create a new session.
(super cool would be to allow entering the username and password inline to
avoid having to call up the DM itself, but i doubt that's realistic.)
i hope to have the krunner QML stuff up and useful by sometime next week.
--
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130109/c1c3a6b1/attachment-0001.sig>
More information about the Plasma-devel
mailing list