[SOLVED] Changing model property of ListView during animation
Hi, I removed PropertyAction line and used this instead .. ScriptAction { script: listView.model = model2; } That seems to work! thnx
View ArticleTableview, listview or gridview?
I am still a qml beginner and I am looking for advice. I try to create something which looks similar to that: Background info: I get the marks for each student in an xml-file and the values of the...
View ArticleTableview, listview or gridview?
Hi, I think I would go for a TableView [qt-project.org] as it seems the most appropriate to me for your needs.
View ArticleQML Object reference question
Hello, I am quite new in QT and QML and I`d like to ask about object life in QML. I have a sample code for a “small game”. The idea is to press the same colors with both fingers ( touch only) and they...
View Article[Solved] Singletons in 5.2
The approach that is described here http://qt-project.org/forums/viewthread/34680 works for me, but I don’t like that fact that I have to to use absolute path to qml file.
View ArticleThese transitions are ignored
The states are changing, but do so instantly with no animation over 100 ms or 1000 ms depending on the transition; that is to say, the transitions appear to be ignored. Anyone know why? ...
View ArticleThese transitions are ignored
I failed to put the word opacity in quotes. problem solved.
View ArticleMy GridView won't select currentItem
Hey I’ve been trying to learn qml on and off but now i want to give it the big effort. I have code that uses a Gridview and a ListModel that only contains images. The part i want to you notice is my...
View ArticleWindow width and height in QML
maksim1979, it works fine for me: import QtQuick 2.0 Rectangle { id: root; width: 256; height: 306; ...
View ArticleMy GridView won't select currentItem
Thank you so much guys! It’s working perfectly now.
View Article[Solved] ListView -- Change color of current item text when moving to new item
Hi, Is there anyway to gain access to my delegates text color and change it when i move from one item to the next in my ListView? Brian
View Article[Solved] ListView -- Change color of current item text when moving to new item
Hi, I developed my delegate this way to accomplish it … Component { id: categoryDelegate Text { id: delText...
View ArticleTextInput frustration with the cursor
I’m trying to create the very simple and common behavior of a cursor appearing when you click inside a Text input box, and then disappearing after you press Enter. This is not so easy. I can get the...
View ArticleTableview, listview or gridview?
Awesome! Setting ‘clip:true’ solved it! And for the spacing of the header I now modified the header…thank you for the great hints! No I have two final questions: Is there a way to make the header...
View ArticleGridView and transitions not working
Hi, I’m trying to get my GridView to animate transitions on operations performed on my C++ model (exposed as a QQmlListProperty). But they don’t work. The following snippet works: GridView {...
View ArticleGridView and transitions not working
Ok so, I got my model to work! Wasn’t that hard after all, as this class (QAbstractListModel) is quite documented over the internet, as opposed to QQmlListProperty… Anyway, now there’s one other thing...
View ArticleResources and folders
Hello I need a little help here. I want to save qmls in folders so they are easier to find and work with, but I don’t know how to deal with the resources system when doing this. (If all files are saved...
View Articlepixel subtraction on a video : how to get a serie of images ?
Hi all, I have some issues to make some post-processing on a video. Just to start, I would like to make a simple pixel subtraction on a video, my code looks like the following : ...
View ArticleAnimating rectangle from left to right in QtQuick 2.0
Im trying to animate the top level “cont” rectangle to the right, downscale it, and move it over the right a little bit and the back to left on left swipe. At the same time it will down scale the back...
View ArticleQSyntaxHighlighter problem with highlighting opening and closing braces
Hi, I am trying to make highlighting the opening and closing braces in formula editor. suppose for example. ((a*b) +(a*c)) if i select the first opening braces it should highlight the...
View Article