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

Drag and Drop with different Cellsizes

Is there any possible way to do that? or not? —Attach— I’ve got a Idea, so currently working on it. —Attach— First testings are working pretty fine.

View Article


QSyntaxHighlighter problem with highlighting opening and closing braces

look asad basically textedit take every thing in form of block .. so first try to grasp all the text block data into one and then try.

View Article


Tableview, listview or gridview?

The problem with the binding loop is that you are binding the ScrollView height to the ListView height. This is a loop because a ListView inside a ScrollView is implicitly bound to the height of the...

View Article

How can I overspread a Rect with hexagon when a loader load that QML file?

I mean..User can click a button to show a “map”, and that map is filled with hexagon,then user can click different hexagon to enter different UI, how can I do that? Is there a SIGNAL called when QML...

View Article

How can I overspread a Rect with hexagon when a loader load that QML file?

Ummm….Maybe someone can give me another way to do this task?I really have no idea about it.

View Article


GridView and transitions not working

I now understand why, in the QML, writing in the grid delegate: onClicked: myProperty = newValue does not work: it’s because myProperty, exposed to QML, is actually a role, not the real property…that’s...

View Article

Populating a listView in qml from c++?

I have a main.qml file that I want to be able to control what is in that list from c++ I don’t even know where to begin but I do have a static list with a few things in it in my qml code. My c++ looks...

View Article

Resources and folders

Thank you. Unfortunately this only works if I don’t use the qt resource system. If I use it, so my resource file looks like this: <RCC>     <qresource...

View Article


High CPU usage while playing a video on Arm Linux

ANGLE Implementation causes a hudge performance drop. If you would use for example OpenGL on a Windows machine, it should work fine.

View Article


Exchange char buffer between Qt c++ and QML

Hello, I am quite new to QML and face a problem when trying to draw a chart from a char buffer. I use QML as GUI frontend and connect the backend application written in Qt C++ via signals and slots to...

View Article

Concat QQmlListProperty representations in QML

This is my situation: I have class A with property which is the list of objects of class B. Here it is: class A : public QObject {   Q_OBJECT  ...

View Article

Exchange char buffer between Qt c++ and QML

use QByteArray to wrap your char buffer. QByteArray object can be a property of a QObject-derived class. You should define a custom QObject-derived class that has a QByteArray property. and then...

View Article

qml video play rtsp stream -- Unresolved error code

i working on Windows 7 32 bit and Qt quick 2.0 i’m trying to play a rtsp stream with qml but i keep getting this error: DirectShowPlayerService::doSetUrlSource: Unresolved error code 800c0008 this is...

View Article


QQuickPaintedItem with width or height bigger than 2048 doesn't show on Arm...

Did it just now, 1024 scaled 3 – it shows

View Article

Two QAbstractListModels in One QAbstracListModel?

Thanks for the reply. I now think that this method won’t solve my problem. What I really want to do is create a model with a nested model in C++. Something like this.  ListModel {  ...

View Article


[SOLVED] How to copy all QML files to QML Plugin install folder

Creating a Qt Quick Application project can give you some hints. qtquick2applicationviewer.pri do what you want Thanks for the reply! I found solution: !equals(_PRO_FILE_PWD_, $$OUT_PWD) {  ...

View Article

How I can add *.qml files to my plugin?

Hi everyone! I have a QML plugin 2.0 with name Msl. The most part of plugin’s logic is a C++ code but my plugin must have also a QML GUI object. I tryed to find some information in doc and found...

View Article


Throwing QML exception from C++ in QtQuick 2 application

What I do is to emit a signal when an error occurs. The net effect is essentially the same as throwing and catching an exception. In QML I do things like: Connections {     target:...

View Article

QQuickPaintedItem with width or height bigger than 2048 doesn't show on Arm...

Alright then it is not your opengl-stack. I’m not sure about the problem but it probably is some bug or some arm-unsupported stuff in your imageprovider. Please feel free to post your issue here:...

View Article

[Solved]QML Var

I havn’t found a good documentation about vars yet. Is there any documentation that describes functions like push(), reduce() and so on… ?

View Article
Browsing all 4972 articles
Browse latest View live