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

QString property with null QString value converts to an empty string, not...

Hi, I’m not sure I fully understand your situation. Could you post a sample code that illustrate your question ?

View Article



Some kind of GridView with groupable items and subheaders???

This is post #3 so far, and I’ll probably be posting many more questions (but don’t worry, I DO search the forums first (the best I can) to make sure someone else hasn’t already asked). First some...

View Article

Keyboard and mouse does not work together to change the source image

Hey, i don’t know whats the problem with the not changing images by mouse over is. But have you thougt about to use a repeater or better a listview to generate a various number of radio buttons width a...

View Article

a larger memory leak while using dynamic listmodel?

hello everybody.I am learning QML in Qt 5.0.2,now i try to make a simple picture viewer, so i write a c++ class to manager the paths of picture in which directory i selected, and the listModel may be...

View Article

a larger memory leak while using dynamic listmodel?

sorry the code is nothing with dynamic listmodel….>”<

View Article


Keyboard and mouse does not work together to change the source image

I found the solution… Rectangle {     id: rectangle1     x: 0     y: 0       width: 480     height:...

View Article

How to specify JavaScript files in .pro file (Qt Quick 2 qmake project) to...

Hi. I have Qt Quick 2 project. I need to implement computer graphics lab: drawing ellipses with different algorithms. I decided to separate ui from algorithms and created ellipse.js file. The problem...

View Article

Scene graph perspective projection

I know that qml engine creates orthogonal projection matrix for openGL to draw the 2d scene. What I want is to define perspective projection matrix multiplied by some camera control matrices that will...

View Article


How to display Chinese in Qt Quick 2.0

I’m a Chinese .After I downloas the Qt SDK5.0.2 and ther I want to add Chinese to the code,but I can’t .

View Article


How to display Chinese in Qt Quick 2.0

Do you have a small example piece of code for us to look at? It is rather hard to provide hints without some code to look at.

View Article

To Display Video Frame on QML

I am using opencv to display video frames from web cam on Qt gui. Now I have planed to display it on QML window(without Qt gui). I was trying to use qdeclarative view but I didn’t succeed. I am...

View Article

[SOLVED] Dynamical aliases or equivalent of C pointers in QML

Hi. I need to do a computer graphics lab: drawing ellipses and circles with a different algorithms. My teacher requires different algorithms for circles and ellipses (of course, I can draw circle as an...

View Article

[SOLVED] Dynamical aliases or equivalent of C pointers in QML

OK, got it. I forgot that JavaScript assignment is not a data, but a reference copy (I’m a complete novice in JavaScript, only 3 days). So I just needed to make assignment on checkbox checked:...

View Article


About rendering a QML Item into pixmap

So I’ve got this case where I’m rendering a QML Item into a pixmap to be used as the source of an Image {} in the view to do some magic.. so my setup is that I’ve got an object to grab the item into...

View Article

Playing media from another source type

Hello everyone, I want to play audio and video in my QML application. The problem is: I’m handling protected data (mp3, avi etc.). Therefore I’m writing those files to an encrypted container file. I...

View Article


How to display Chinese in Qt Quick 2.0

Can Qt Linguist solve this problem Do you have a small example piece of code for us to look at? It is rather hard to provide hints without some code to look at.

View Article

memory leak while using ListView

good morning everyone, I think i found a memory leak while using ListView and ListModel. code is quite simple, just a ListView and a delegate which’s duty is to show the image from the model’s...

View Article


Why I can't see the code from The Qt Assistant or qt-project.org/doc

Hello, everyone. I meet a problem while I using Qt assistant, I can’t see the code in some Qt5’s example (ie:QML Advanced Tutorial 1), then I google this problem, it’s said that setting the Qt5 kits to...

View Article

QML Gradient Any Direction - SOLVED

Hi, This was exactly what I needed – somehow OpacityMask won’t go well with traditional QML gradient+rotation Your Class solved it, thanks! Note: Qt 5.0.2

View Article

Why I can't see the code from The Qt Assistant or qt-project.org/doc

Hi chenjie4255, Your browser is ok, but the documentation is broken. It is being fixed now, and you should be able to see the code when Qt 5.1 comes out. For now, you can find the code for that example...

View Article
Browsing all 4972 articles
Browse latest View live




Latest Images