Review Request 115932: Add declarative plugin for KWindowSystem

Ivan Čukić ivan.cukic at kde.org
Thu Feb 27 10:08:05 UTC 2014



> On Feb. 27, 2014, 9:54 a.m., Martin Gräßlin wrote:
> > I think the example app needs to be more complete as I doubt that everything here would just work (e.g. the States). If you are unsure about how that should work I can schedule some time for it.
> > 
> > Would it be possible to add some Q_PROPRERTIES to the class? E.g. numberOfDesktops or currentDesktop might make more sense with a property instead INVOKABLE.
> 
> Ivan Čukić wrote:
>     My thoughts exactly.
>     
>     One thing I was thinking about is to create a qml api that is not mirroring the actual c++ api. It is not really object/property oriented.

What do you guys think about a data model for windows, filterable against screen, desktop, activity containing things like title, icon, position/size, ... that would be a properly behaving model?

That way, it would be awesomely trivial to connect it to window thumbnail items and so on.

Yes, I am volunteering :)


- Ivan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115932/#review51011
-----------------------------------------------------------


On Feb. 27, 2014, 9:23 a.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115932/
> -----------------------------------------------------------
> 
> (Updated Feb. 27, 2014, 9:23 a.m.)
> 
> 
> Review request for KDE Frameworks and Martin Gräßlin.
> 
> 
> Repository: kwindowsystem
> 
> 
> Description
> -------
> 
> Adds a declarative plugin usable from QML. Usage is as easy as "KWindowSystem.workArea(0)" in QML. So far only the workArea is accessible, not sure which other methods should be. All of them?
> 
> I've made the import version to match the framework version, so you'd do "import org.kde.kwindowsystem 5.0"
> 
> 
> Diffs
> -----
> 
>   declarative/kwindowsystemplugin.h PRE-CREATION 
>   CMakeLists.txt cbae838 
>   declarative/CMakeLists.txt PRE-CREATION 
>   declarative/kwindowsystemplugin.cpp PRE-CREATION 
>   declarative/qmldir PRE-CREATION 
>   src/kwindowsystem.h e10f7c1 
>   tests/test.qml PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/115932/diff/
> 
> 
> Testing
> -------
> 
> Works
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140227/925e138f/attachment.html>


More information about the Kde-frameworks-devel mailing list