Update QSG of a hidden window
Hello! I’m working with QtWebEngine. I have a very heavy page. When the page is loaded I show another QWindow (a splash window). I subscribe on loadingChanged signal of the QQuickWebEngineView by which...
View ArticleQt Quick GridView variable cellWidth depending on Model is not working
There should be an “Application Output” box at the bottom of the Creator window. Clicking that opens a pane that displays the standard output and error streams from the application, as well as some...
View ArticleEnabling horizontal scroll in TableView (vs. ScrollView)
I’m am trying to get a TableView to scroll horizontally. I’ve gotten the TableView to scroll vertically; that was fairly straightforward. But horizontally, when the columns are wider than the...
View ArticleHow to pass JS function to a ListModel
The ListElement documentation says: Values must be simple constants; either strings (quoted and optionally within a call to QT_TR_NOOP), boolean values (true, false), numbers, or enumeration values...
View Articleqml delay function problem
hello i want to destroy a rectangle in qml by animation(like hiding) like this animation.start(); rec.destroy(); but after running… this rectangle (rec) will be destroyed before that animation ending...
View ArticleUndo the setContextProperty
CPP Export2QML *obj = new Export2QML; contxt->setContextProperty("abc",obj); viewer.show(); ...
View ArticleQML Previous selector
If you would like to.. let’s say.. set a margin on the left side of an object, you would need to give every object a unique identifier and select objects using this identifier: Rectangle { id: rect1;...
View Articleqml delay function problem
Hi, You can use the onStopped [qt-project.org] event handler so that you can do the operations after the Animation is completed.
View ArticleScreen orientation QML ApplicationWindow
DonRico: I’m developing for windows platform. I think that JvdGlind’s solution works. Thanks 4 replies.
View ArticleHow do I get the context of a given component in C++?
Hi! As that title says, how do I get the context of a certain component in C++? I’ve got a QML signal connected to a C++ slot. Basically when the signal is emitted, QML passes a certain component as a...
View ArticleQML Previous selector
Hi and welcome to devnet, You’re on the wrong channel to discuss such things. I was asking myself whether it’s possible in QML right now, isn’t it?
View ArticleQML Previous selector
Hi, Selecting the “previous” object not currently possible in QML. I’m not sure this feature makes sense however, because QML has a declarative structure and the order in which you declare your...
View ArticleHow do I get the context of a given component in C++?
Thanks for your anwser! I didn’t know I could pass directly a QObject from QML, good to know. But regarding the second thing, I don’t understand… how do those methods help me? QObject::property()...
View ArticleEnabling horizontal scroll in TableView (vs. ScrollView)
This seems to have been caused by a valid issue that was recently fixed for 5.3.1 (or 5.2.1 if that is imminent): See https://bugreports.qt-project.org/browse/QTBUG-39393
View ArticleComponent works when duplicated but doesn't work if in single file
I understood that you would like to increase the size of slider when the window size increases. If that is the case you need to put the following line for every component creation. SelectValue...
View ArticleQt installation problem
This is what I downloaded Qt libraries 4.8.6 for Windows (MinGW 4.8.2, 328 MB) (Info) The message is extract: error writing to file src\gui\painting\qdrawhelper.cpp where can I find libraries with full...
View ArticleWhat is this QML code doing?
Thank you, that is helpful. I did end up going with a QVideoProbe based solution, but it seems like your solution gets around using QML (which is something I’d like to do.) edit: Can you elaborate a...
View ArticleQml in qt widgets
Hello guys, im trying to display qml object on std qt widget. I found some tips on the net but still app doesn’t work. ///< ---- my code ...
View ArticleHow to force update a hidden window?
Your hack might cause some resources to leak if there are cases where your hiddenNode isn’t destroyed, but it doesn’t look too bad. I don’t understand what is the issue though, why do you want...
View ArticleQt installation problem
Hi and welcome to devnet, Did you check that you have enough space to do the installation ?
View Article