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.
Thank you, JapieKrekel, I did it and now it works fine! Program starts faster than before (but unfortunately slower than Qt Widgets application) and after changes I have to only press “Run”.
I have one problem: I used Qt Fusion Style, not system style. How can I do this with qmlscene? I created "separate thread":https://qt-project.org/forums/viewthread/27602/ for this question.
This is little old post, but can you please give some code example how did you made it?
I am having same problem, but I am unable to solve it yet...
This is thread: "http://qt-project.org/forums/viewthread/27538/":http://qt-project.org/forums/viewthread/27538/
See "this":http://qt-project.org/doc/qt-4.8/qtbinding.html#loading-qml-components-from-c guide (it's for QtQuick 1, but it works the same in QML2, you just need to change class names).