ListView select newly added item
I’m having issues selecting the most recently added item but am experiencing some issues. I expected that I’d be able to simply set the ListView’s currentIndex property in the onAdd attached handler...
View ArticleIs this flash plugin problem.....??
in WebView the wrote the following line: settings.pluginsEnabled: true so it enabled the flash plugin! The problem is that, the url is of web conferences, which uses the flash plugin to enable video...
View ArticleIs this flash plugin problem.....??
main.qml ————— import QtQuick 1.0 import QtWebKit 1.0 Rectangle { id:main width: 1280 height: 800 Button{ id: button height: 50 width: 100 anchors.centerIn: parent onButtonClicked: { console.log(“Mouse...
View ArticleHow to get QQmlEngine from QQuickItem
I have a QQuickItem, I want to create QQuickText items dynamically in it according to the text property. Because this QQuickItem is a kind of plugin, so I can’t get the QQmlEngine directly from the...
View ArticleHow to get QQmlEngine from QQuickItem
Yeah I thought there must be a more direct approach to this, I just couldn’t find anything in the docs. Thanks Chris.
View ArticleQQuickView, QQuickWindow, QOpenGLFramebufferObject
Hello, I’m would like to access the QQuickView framebuffer image just afterRendering. I can add a new QopenGLFramebuuferObject using the AfterRendering slot but it’ not what I want. I would like to...
View ArticleExpose a List or Array of QDeclarativePropertyMap
Have a look at the solution posted here [qt-project.org].
View ArticleSave QQuickView screen to image
I am trying to save a QQuickView as an image but with no success. I tried the obvious approach: view->renderTarget()->toImage().save(fileName); However this crashes, and the reason for...
View ArticleQQuickView, QQuickWindow, QOpenGLFramebufferObject
Do not use: this->renderTarget()->toImage() Have a look at this post here. [qt-project.org]
View ArticleSave QQuickView screen to image
Yes that is true. You can get a texture from a QQuickItem [qt-project.org] only if it is a textureProvider [qt-project.org]. At a quick glance, there doesn’t seem to be anything that exposes an...
View ArticleQml video problem ...
No. This signal is emitted when the scene graph has been invalidated. This signal implies that the opengl rendering context used has been invalidated and all user resources tied to that context should...
View ArticleNeed to stop QML Audio from cpp code
Hi, I have a qml which has audio playing.I need to pause the audio from QAPPlication ie cpp code. * QML CODE is as follows *********************************************************** import Qt 4.7...
View ArticleNeed to stop QML Audio from cpp code
Take a look at the documentation: Using QML Bindings in C++ Applications. [qt-project.org] In particular, the section Exchanging Data between QML and C++ may be of interest to you. However, it is...
View Articlewhat is the parent of ListElement in ListModel
Can you post some code? How are you referencing the ListElement’s parent? The QQuickListElement is an empty class that inherits QObject. It is filled dynamically using Qt’s Property System....
View ArticleThe Mystery and Voodoo of Attached Properties
Hi Everyone, I’m trying to work out whether Attached Properties is something I should be using in my current project. This could be a longish post, so please bare with me =) I’ll start off by...
View ArticleHow to change the name and the emplacement of the SQLite database ?
Hi, is there a way to change the name and the emplacement of the SQLite database ? As exemple my database name is : 33704e7720b9d2247ed1258cad464a99.sqlite and is placed in this folder under linux :...
View Article[RESOLVED] Where is located the SQLITE Database file used within QtQuick 2.0...
The new question is : How to change the name and the emplacement of the SQLite database ? [qt-project.org]
View ArticleI need to connect a ComponentA Signal to a method of another ComponentB
Hi, i need to create a ComponentC dynamically when a button of ComponentA is clicked and the ComponentC must be created in ComponentB that is not accessible through id from ComponentA. So how is this...
View ArticleUsing QGraphicsView inside QML doesn't receive Touch Events!
Hi all, I’m using QML for the UI of my application and have a problem to get touch events. But now I want to embed a QGraphicsView/Scene to QML. I have read in some thread doing that is not good...
View ArticleI need to connect a ComponentA Signal to a method of another ComponentB
I think that i can’t do that with the Qt Core because i’m using QtQuick QML. I was able to do that with the Connections [qt-project.org] Component.
View Article