Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Browsing all 4972 articles
Browse latest View live

Passing signal from QML to C++ with parameter

Can you write the exact connect command you using ?

View Article


Any idea when new QML styling will be available?

What are your requirements? Common controls with some styling support is scheduled for 5.1. But I have no idea if the styling planned would match your requirements. CSS is not going to be supported for...

View Article


How to update an element of DataModel from QML and request an update of the...

Hello, I have an C++ based application which exports a data model to the DeclarativeContext. Displaying the data works fine what I miss is how to update single members of the dataModel from QML and...

View Article

[Solved] Nested ListView layout issues

Thanks Jens! That seems to work great for the example code I gave. As to whether or not I actually need nested listviews, that’s a good question. You are correct that I don’t want the nested lists to...

View Article

How to update an element of DataModel from QML and request an update of the...

To be a bit more clear, just emit the dataChanged signal in the setColor function. The view should automatically update the changed elements based on what indices you emitted as being changed.

View Article


list into column

Your simplified example is not enough to reproduce the issue and would not cause this warning. Most likely you have anchors declared inside button or some other part of your code. The modified example...

View Article

How to get the qml QtWebkit in 5.0.1 working in windows ?

Hi, So i have this project that i’ve been working on linux and builds and runs fine and now i’m trying to build and run in windows. Since qt 5.0.1 does not provide opengl desktop and as such my work...

View Article

How to create a TransparentWindow, using Qt5, with QtQuick1

I’m now using Qt5, but for some reasons I want to use QtQuick1, because there are some problems in my program when using QtQuick2.(mainly because of OpenGL) But eventually I still faced problems using...

View Article


[Solved] How to update an element of DataModel from QML and request an update...

thanks for the hints now it works. Here is my solution. In my setter method I create an QModelIndex. With this I call my overwritten setData method. In the setData method I update the data and send the...

View Article


[Solved] Receiving signals emitted by Repeater item

Is there a way to receive a signal from an item created by a Repeater in the QML itself? Consider the following simplified example: Rectangle { …     Repeater {    ...

View Article

[Solved] Receiving signals emitted by Repeater item

Yes, thank you! I was under the mistaken impression that I needed Connections items to implement signals and slots in QML. This solution works perfectly.

View Article

How to pass QModelIndex from QML to C++

Hello, I have an C++ based application which exposed QAbstractmodel to QML file as data model.I want to get the Qmodelindex from list view. so that why i set c++ model as visualdata model &...

View Article

How To Play RTP-VideoStreams with QML2 VideoOutput?

I used this one: [qt-apps.org]

View Article


How to pass QModelIndex from QML to C++

You’re welcome ! Don’t forget to mark your thread [SOLVED] :)

View Article

How to make the qml executable in windows?

Hello guys,Would you please tell me How can I make a working .exe program with Qt Quick. I’m using Qt5 with Visual studio 2010, So which project should I choose (Qt quick 2 application or Qt quick2 UI...

View Article


Qt Quick 2.0 doesn't work for me

Hi People, I have Windows 7, QtCreator 2.6.1 and Qt framework 5.0.0 I make a project, select the project type: “Qt Quick 2 Application (Built-in Elements)” and next next … etc. If I open the main.qml...

View Article

QQuickView custom resize to behave in a PreserveAspectRatio - mode

I am wondering if there is a simple way of implementing (or maybe there is already there, and only waits to be used) a resize mechanism which behaves like PreserveAspectRatio does for Image...

View Article


data file

QtQuick 2? Use the QtQuick.LocalStorage singleton type. Cheers, Chris.

View Article

How to show Context menu in Desktop QML

Hi, I am following Christophe Dumez(“http://cdumez.blogspot.in/2010/11/how-to-use-c-list-model-in-qml.html”) in my application. Now i want to display context menu in my QML. And item in context menu...

View Article

Qt Quick 2.0 doesn't work for me

Qt Quick 2.0 is not yet supported by the Qt Creator Designer plugin. Until the designer has been officially released for Qt Quick 2, there is not much you can do about this.

View Article
Browsing all 4972 articles
Browse latest View live