damm, had the same problem.
for the record, the error message was
Invalid property assignment: "roles" is a read-only property
where
Q_PROPERTY(QQmlListProperty<ModelRole> roles READ roleObjects)
[quote author="njeisecke" date="1368618421"]Models should be part of the business logic and belong to C++.
Accessing model data is currently readonly. You must provide a Q_INVOKABLE setData method in your model if you want to modify data in a C++ model.
[/quote]
Thank's so much for your response and detailed reply neisecke.
Yeah, I managed to make a draft of a the manager. Now my application is waiting for the database before creating the interface.
Like you said, I'll need to have a splashcreen to display the downloading of the database as it may take some time...
thanks a lot.
It sort of looks to me like I'm going to have to go through the whole business of putting a QComboBox into a QDeclarativeItem rather than a QGraphicsProxyWidget. If I've stumped the crowd here, I'm guessing that getting keyboard focus working with a QGraphicsProxyWidget would be hard.
Thank you very much for your insightful response! I've fixed my code and removed the margins, etc. and everything is working much better now. I really appreciate your feedback!!! Now if I can only figure out how to find the width in pixels of the longest (widest) line of text contained within a ListModel, still trying to figure that one out, heh. :-)
Argh, thanks...didn't realise that they skipped the part where they explained the floodFill function. Guess it sometimes would be worth it to read the guide a bit more thoroughly. Once again Thank you!
No, I'm afraid that is exactly what it means. QGraphicsProxyWidget is a QGraphicsItem and not a QQuickItem. Since QtQuick 2 is not built on top of QGraphicsView like QtQuick 1 was, it is no longer possible to add widgets this way.
One possible solution would be to port QTreeView into a QQuickPaintedItem yourself. The other option you have is to embed QtQuick 2 into a widget application, which will be supported in 5.1.
You cant go wrong with C++. Python and JavaScript. Having these three languages under your belt, equips you for just about any programming related task, System, Desktop, Network, Game, Web, ...
Everything is connected to the drivers from intel and opengl. And tunning systems.
After testing on pure gentoo linux performance equaled the windows 7 - the animation runs smoothly, although the CPU load. Do I right, that this is partially software rendering?
Does it make sense to try to rebuild without qt opengl or not (and, indeed, how it can be done)?
[quote author="DRAX" date="1368091405"]Have you tried:
@egcView.allfiles.length@[/quote]
Thank you for your reply.
I don't know where is the index iterator o which property.
In the tutorial seems this task is made by QQmlListProperty. But in my gridview I don't know how to make this index or iterator.