If you need just some fields from model you can pass them to
parameters, instead of whole model. Other way would be parsing model
inside onClicked handler. Or use kimmoli suggestion and implement get or
getModel method on model class for returning const QVariantMap.
05.06.2015 21:06, Chris Wa
https://github.com/tonercloud/fuelpad/blob/master/harbour-fuelpad/qml/pages/FuelpadPage.qml#L88
pass carmodel.get(index) to the function? (or carListview.model.get(index) )
instead of "model"
-kimmo
Lähettäjä: devel-boun...@lists.sailfishos.org
[devel-boun
It may be a name collision between carDetails.model (from the database) and
ListView.model (Qml delegate implemention)..
Try renaming the 'model' colunm in the 'car' table
Bg,
Amilcar
2015-06-05 18:35 GMT+01:00 Krisztian Olah :
> You are passing a carmodel as an argument to carpassDetails, chanc
You are passing a carmodel as an argument to carpassDetails, chances are you
did not define member named id or register in carmodel, but probably that's not
want to do anyway. You seem to expect carDetails to be some different type, I
did not find any definition to its type other than it being a
On Fri, 5 Jun 2015 16:53:22 +
Krisztian Olah wrote:
> It looks like the object carDetails does not exist in the scope
> you're trying to access it. What scope is your carDetails object in?
> If you could briefly describe in which file each relevant
> function/object reside, would be helpful.
It looks like the object carDetails does not exist in the scope you're trying
to access it. What scope is your carDetails object in? If you could briefly
describe in which file each relevant function/object reside, would be helpful.
On Fri Jun 5 17:06:05 2015 GMT+0100, Chris Walker wrote:
> Pe
Perhaps somebody can either help me with this one or point me to some
docs that tell me the correct way to do it.
I want to pass several bits of information to another qml page. I've
looked at the various pages and they only tell me how to pass variables
not how to set them up in the first place w
Hi.
That will be perfect if you add some documentation parts for using cmake.
Right now I was not able to run it from Qt Creator on Sailfish target,
although it supported by Qt Creator and works perfectly well on
Desktop Linux.
I have even no idea if it is not possible at all or I am doing
somethin
On second thoughts... :D
I totally forgot that https://together.jolla.com/questions/ has a wiki
facility.
It would make more sense to use that to produce and collaborate on
sailfish articles.
I'm sure there will be a way to do PRs and such-like in the future but
this is something that can