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

Issue with Animations

Thank you very much, that was my problem. I thought there are the same, but I ignored the trigger.

View Article



Send KeyEvent from QWidget to QML element

Hello, I have two windows : one QQuickView and one QGLWidget. The process of key events are made in the root item of the main window QQuickView, so it is made in qml with a javascript function (handler...

View Article

Flow + Repeater + Image = performance issue

em…. It’s looks like a hack :) i’d like to go to some easy way…. but tnx a lot 4 mind

View Article

How to make my application scriptable

You create signals and slots, make a documentation so every plugin developer can inform about possible signals and functions to call. So the developer only need to connect to or send a signal in his...

View Article

Send KeyEvent from QWidget to QML element

I tried your code t3685 and I loop on my function MyGLWindow::keyPressEvent. So my sending is working.

View Article


[Solved] How can I disable Antialiasing for the Sceen Graph OpenGL Context?...

I use QQuickFramebufferObject::Renderer to draw my QQuickItem with native OpenGL. I use the OpenGL context of the Scene Graph. So how can i disable MSAA for these context? PS . Is the context version...

View Article

[Solved] How can I disable Antialiasing for the Sceen Graph OpenGL Context?...

Problem Solved: QOpenGLFramebufferObject* SceneRenderer::createFramebufferObject(const QSize &size) {     QOpenGLFramebufferObjectFormat format;    ...

View Article

Send KeyEvent from QWidget to QML element

Have you made sure the keyPressEvent() is called ?

View Article


Nested List Model Dynamic Data Population

Basically what I want to implement is populate list model ListModel {         id: nestedModel       } to some thing like,...

View Article


dynamically create and delete controls on qml

Hi, Created QML form. Needs to create few GUI elements based network. If network up, have to show some GUI options. When network down, have to show different GUI options. For this, created a form which...

View Article

dynamically create and delete controls on qml

Hi, I think qtqml-javascript-dynamicobjectcreation [qt-project.org] and Loader [qt-project.org] might help you.

View Article

How to set the focus to a specific row/col in a TableView

Hello, I have a TableView like shown below. What I want to achieve is that if the user enters a number and presses the Enter key, the cursor is automatically placed in the next row, same column. I...

View Article

import xml from API

Good day! I can’t import xml from API with QNetworkAccessManager Another problem is that in order to enter the API must enter your login and password I do not know programming, and it would be better...

View Article


Detect if two items overlap

Hi, I’d like to know if there’s a ready property or method to detect if two items, say two Text elements, overlap, so I can put enough distance between them :)

View Article

import xml from API

Hi, You’ll have to be more specific, importing xml using QNetworkAccessManager isn’t really clear. Do you want to make calls to a REST server through QML ?

View Article


How to set the focus to a specific row/col in a TableView

Hi, Haven’t tested it but what about the currentRow/Col properties ? Hope it helps

View Article

Detect if two items overlap

Hi, AFAIK, there’s no such ready property in QML.

View Article


[SOLVED]Pressing a button doesn't stop running the code withing it's on_click...

Hi, I am not sure where to begin. My feeling is, you have a problem with the concept of event-loop, I will get to that in a moment. To clarify: you are wondering, that your event-handler is executed...

View Article

Is qml Window element derived from Item?

Window is not inherited from item. Start with simple rectangle. You can refer to qt assistant for simple basic tutorial on QmL.

View Article

Designer Error: qmlpuppet cannot be built

Hi there, I am getting this error when I open the designer saying that the qmlpuppet cannot be built. This is the main thing I want to use as I am doing development in QML. I read some threads on here...

View Article
Browsing all 4972 articles
Browse latest View live




Latest Images