--
---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/c697e9e8-7923-44a0-9f29-59b0e38b706bn%40googlegroups.com.
I shared this example because of this file.
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/68cc3ab3-da24-4779-8f43-224f5dd047e1n%40googlegroups.com.
func QDownload(poWidget,cURL,cFuncCallBack)
oUrl = new QUrl(cURL)
request = new QNetworkRequest(oUrl)
aManager + 0
nManagerIndex = len(aManager)
cResultfunc = func nMIndex,cFuncCallBack{
oManager = ref(aManager[nMIndex])
reply = new QNetworkReply { pObject = oManager.getEventParameters()[1] }
cResult = reply.readall().data()
call cFuncCallBack(cResult)
}
aManager[nManagerIndex]= new QNetworkAccessManager(poWidget) {
setfinishedevent(cResultfunc + "("+nManagerIndex+",'"+cFuncCallBack+"')" )
getvalue(request)
}
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/6486c13f-ae8c-4cc6-8b26-f3378229deddn%40googlegroups.com.
But QML is designed for specific needs, it's more about developing UI for Mobile & Embedded systems
Providing better support for QML in RingQt is an easy task and it's already on my To-Do list for the future (Once I have the time).
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/41fa9b27-d022-4284-9eff-bb75d0a603b8n%40googlegroups.com.