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

Rendering, swapping, QML_RENDER_TIMING, too long

Hmmm what’s with this, found here [opengl.org] A swap interval of 1 tells the GPU to wait for one v-blank before swapping the front and back buffers. A swap interval of 0 specifies that the GPU should...

View Article



Button with iconSource - how to set size?

I have a button with iconSource. How can I set button size exactly as icon size? I don’t want to set width and height as constants. RowLayout {     ....     Button {...

View Article

Which is the right way to implement to show emp data on qml

Hi, I have emp data in model. (name, age, manger,grade). I want to show this information in GUI like rows wise. When model added/deleted new emp, should get update on gui. And, sorting also required...

View Article

[SOLVED] Problems adding components dynamically

Hi Dheerendra, It’s not in the documentation itself, but in one of the developer guides: http://qt-project.org/wiki/Developer-Guides More precisely: Qt Quick Application Developer Guide for Desktop on...

View Article

Which is the right way to implement to show emp data on qml

TreeView is not yet implemented in QML. Did you check TableView ?

View Article


List Model How to Append data

I have my list mode   ListModel {             id: nestedModel           } and I can append...

View Article

Button with iconSource - how to set size?

Nice workaround! It really works. Not sure I can use it, but thank you, p3c0 :)

View Article

Bug in TableView: keyboard (down arrow) after selection.select() is wrong

I discovered the problem, the keyboard is responding to the “currentRow” which is not the same as the selected row. The solution is that when I call selection.select(0) I also have to set currentRow=0

View Article


Simple Example of 3d Cube inside SceneGraph needed

I just got a lot closer. Now I am able to rotate on the y axis. The trick was to multiply by a matrix in my vertex shader. My last remaining problem is getting my rotated squared to render in a...

View Article


How to use QPlatformSystemTrayIcon or QSystemTrayIcon with Qt Quick Application?

Hi, I’m quite new to how Qt QML (started learning Qt only from the QML days) works with Qt Gui or Widgets. I can’t seem to include & compile QPlatformSystemTrayIcon:...

View Article

How to use QPlatformSystemTrayIcon or QSystemTrayIcon with Qt Quick Application?

What is the error you are facing ? Not able yo compile ?

View Article

Change pressAndHold Timeout

Where i can find the source? If you have source installed, goto <QtDir>/5.3/Src/qtbase/src/gui/kernel/qplatformtheme.cpp and check QPlatformTheme::defaultThemeHint(ThemeHint hint)

View Article

QML ComboBox set Font

Hi, i am very new to qml. Maybe somebody could help me please… :) Does somebody knows how to set a specific font to a comboBox im qml? I need this for the drop-down and for the lineedit (if the...

View Article


QML ComboBox set Font

Hi, I need this for the drop-down and for the lineedit (if the comboBox is editable). AFAIK this has not been provided yet.

View Article

List Model How to Append data

Finally I found the answer here [codeproject.com] We can append new data to child list using nestedModel.get(index).folders.append({"folderName": "Cam55})  ...

View Article


Which is the right way to implement to show emp data on qml

Thank you so much. Let me try.

View Article

Best way to display/update live image data in a QML GUI

Hi Ricardo, thanks for the advice. I looked into scenegraph, but this looks quite complex, couldn’t find a simple example with variable image data, that goes all the way up to displaying in QML. I’d...

View Article


QMl Image source change cause the application process to crash

Could you try with 5.3? This sounds like one of the bugs we fixed some time ago.

View Article

[SOLVED]How do you use an object list in a Repeater?

I’m trying to better understand data models in QML. That is I’m not looking for work-arounds to this question. The documentation for the Repeater object states that in addition to ListModels you can...

View Article

How to use QPlatformSystemTrayIcon or QSystemTrayIcon with Qt Quick Application?

did you add QT += widgets in your pro file in the first place ? You also need to use a QApplication rather than a QGuiApplication

View Article
Browsing all 4972 articles
Browse latest View live


Latest Images