View Single Post
Posts: 138 | Thanked: 103 times | Joined on Jan 2010 @ Southern Germany
#15
Originally Posted by threema View Post
I'd like to help in porting TC to qt with pysid & qml. Some examples are already there:
http://qt.gitorious.org/pyside/pysid...es/declarative

We'd have to start with a subset of TC features but include sync from the beginning in order to use the TC desktop version for advanced project planning.

For Notes and Tasks, I can't see a better way. Wx on N900 is no fun. QML the future.
Ah, great. I already had some ideas but currently another project is standing in my way (besides that Python is not my friend and I love C++ more ).
I suggest to start by using a QXMLListModel to read the TC file in and use an XPath/XQuery to extract the task items from it.
Nokia has some examples in their QML doc how to do this (except the exact query but I might be able to help out here).

Then we can attach views to it (eg. a QTreeView) to show the task structures with attributes.
Later appropriate delegates will make the appearance a bit more convenient.
A Filter proxy model between the XMLListModel and the view will allow to filter by dates, priorities, etc. but this is more of the advanced stuff.

Your work is appreciated.

Oliver
 

The Following User Says Thank You to ofels For This Useful Post: