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

Animate color in QML when C++ binding variable in modified

Hello everyone, Do you know how can I animate a Rectangle color property in QML when a C++ binding has been modified? my qml part look like this : Rectangle {       id...

View Article


QtQuick Error on Android(3009 (EGL_BAD_MATCH))

I can not run well on Android A QML. I got the error. E / libEGL (8495) eglMakeCurrent: 534 error 3009 (EGL_BAD_MATCH) The example works fine when run on windows. This missing LIB? Does anyone have any...

View Article


QtQuick Error on Android(3009 (EGL_BAD_MATCH))

The error occurs when you run: void MainWindow::on_pushButton_clicked() { QQuickView *view = new QQuickView; qDebug()<<“flavio”;...

View Article

Tableview expanding column

How do I get the last column to expand to fill the table? I’m basically using the demo example for TableView and it expands fine if I manually drag the header size out.

View Article

Tableview sections

I have a TableView that is divided into sections and I want to be able to collapse / expand each section. I think I could change the height of the row delegate (and probably the item delegates) based...

View Article


QML Flickable doesn't send all mouse events to unterlaying QGraphicsProxyWidget!

Hi all, Im using Qt 4.8.2 / QtQuick 1.1 on Windows with VS2010. I want to “show” a complex QGraphicsScene in QML. The goal of the scene is to be like a visual editor where you can select items (e.g....

View Article

Concept of how to pass (hierarchical) data to a custom item

Hello. First thing: I’m very unexpired with QML and JavaScript! I want to have two different GUIs for my application. One for keyboard/mouse based systems and one for touchscreen based systems. The...

View Article

[solved]QtQuick need something to work?

This is most likely related to OpenGL 2. The first thing you should do when seeing the blank screen is to make sure you are not running in fullscreen and then add the following line to your .pro file:...

View Article


Animate color in QML when C++ binding variable in modified

I am not sure how it would work with model.power_cons, but you would need to react to the change of the power consumption, not the change of color, because if the color has already changed, then it...

View Article


Dynamically populate Qml TabView .

I’m trying to dynamically create tabs in Qml. This is my simple example of what I’m trying to do, but the code does not work. Well..sort of doesn’t work. It creates the first tab correctly, but throws:...

View Article

[SOLVED] Can anyone shed any light on the build error ':-1: error: Cannot...

That is all I get, no other information. I am using Qt5.1 and building an Android application.

View Article

'Sequential' statechanges

Perhaps you could use a SequentialAnimation and PropertyAction inside it after the pop-up animation. Then for PropertyAction you can enable/disable the Submenubars as needed. This way you could prevent...

View Article

Individual function invokation

Hello, Does anyone know how QML objects invoke C++ functions individually? Now, that’s very general, so I’ll try to explain what I mean with an example. For example, I have a custom qml component that...

View Article


[SOLVED] Can anyone shed any light on the build error ':-1: error: Cannot...

Probably, For ELF, you can have a good starting point here [en.wikipedia.org]

View Article

How to switch from page1.qml (on image click) by sending a string to...

Hi, I’ve 2 qml files namely page1.qml and page2.qml. page1.qml is my main qml file which is getting loaded having got the command “viewer.setMainQmlFile(QStringLiteral(“qml/QmlQml/page1.qml”));” I wish...

View Article


How to switch from page1.qml (on image click) by sending a string to...

You need to use a Loader and Connections. Item {             id: mainItem             width:...

View Article

[solved]QtQuick need something to work?

use Qt to detect the OpenGL version on my PC so I can inform the user to update the graphics card drivers. I would like to do that too, but most of the users are not programmers(if you are devoloping...

View Article


Dynamically populate Qml TabView .

The problem is that you are assuming that the “item” is loaded already when you add the tab. The actual creation happens lazily when the tab becomes visible. It works for the first tab since that is...

View Article

Style Settings in Qt Quick (+ Designer)

Hello, I am planning to write a set of custom components in a way that other people can use the QtCreator Design mode to create a Gui. I intend to create these components in different styles that can...

View Article

[SOLVED] I want a Date Picker for my app ?

Thank you tucnak.

View Article
Browsing all 4972 articles
Browse latest View live