Text {
 source: "http://iscaliforniaonfire.com";
}

Does not work.
Before you tell me to use a model, let me point this out. I was trying to make 
a 
crawler/ticker, like on the news stations.
When I tried to use a model, they were uniformly spaced, and that's not 
acceptable. 


It would be cool if I could specify source for any string, that could ever be 
used (performance implications are left to the coder) as well as specify a 
XPath 
query It might be cool also specify an XPath query too, sot that

Text {
 source: "http://iscaliforniaonfire.com";
 sourceQuery: "/body/H1/text()"
}

It may be good to make a Document element type:
Document {
     id: californiaFireStatus
     source: "http://iscaliforniaonfire.com";
     query{
         id:yesno; query: "/body/H1/text()"
     }
     query{
         id:title; query: "/head/title"
     }

}

Text {
        source: californiaFireStatus.yesno

}

Or something like that. I think my only option now is to fetch it into a model 
and then glue it together?


      

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to