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

How to get Screen Resolution in QML for Ubuntu Touch?

I think you will enjoy reading this doc [qt-project.org] Happy coding

View Article


How do I loop video??

Maybe something like this: OnStopped : {position == duration ? Position =0 ;position = position Play() } Didn’t test this though Hope this helps

View Article


SVG Rendering and Source Size:

I would say just don’t scale the image then!? I used some custom SVG files in my latest QML app and it works great, just scale the sourceSize and don’t use the scale property, that will of course...

View Article

Are there any free Qt Quick graph / charting components?

Hi, I am evaluating Qt 5.2 (Qt Quick) and Java 8 (JavaFX) for development of an in house small business application. As per my findings JavaFX has built-in free graph / charting components but I am...

View Article

Are there any free Qt Quick graph / charting components?

Thanks Eddy. Exploring and waiting for more :-)

View Article


Creating a custom-drawn component

another one : usage of dynamic graph [developer.nokia.com] This one seems more close to what you want. I haven’t tested it though, but seems worth looking at. same remark here : it’s based on Qt4’s...

View Article

qt quick animation rendering issue

When i use an animating qml object on top of opengl, like in the opengl under qml example, the animating object has a delayed copy of itself in the color set by glclearcolor. This issue occurs under...

View Article

Component runtime optimization

Did you try QML Profiler? [doc-snapshot.qt-project.org]

View Article


Detect if delegate item inside ListView has been destroyed

Hi, I have a special problem, kinda :D I have a ListView with item delegates like usual, but my ListView model contains only partial data and for every delegate item extra data is being dynamically...

View Article


SVG Rendering and Source Size:

Yes I thaught of that but so far I did not find anythingelse than the “recomputesmoothness” function and it modify the properties sourceSize.W&H and he width end eight propertie. so it is...

View Article

radiobuttons in listview and groups by sections

Hi, Im trying to build a listview containing radiobuttons. The listview has sections as described above in the code. Rectangle {     ListModel {      ...

View Article

[SOLVED] Connect QML and C++ via Signals and Slots (QML to C++ and C++ to QML)

Greetings, I’ve been busy all day with the topic how to connect QML to C++ via Signals and Slots. Now I’ve finally come up with the solution, and I’d like to share it with the rest of you who have (or...

View Article

QML Designer Custom Properties

Hello, i couldn’t find anything using google, so i’ll just ask it here. If i create custom Components using custom Properties, is it possible to have this properties in the QML Designer below the...

View Article


radiobuttons in listview and groups by sections

Hi, One way would be to iterate over the List on each RadioButton click and check if its present in that Group (i.e section) and set it checked while the rest should be unchecked. You can obtain the...

View Article

Detect if delegate item inside ListView has been destroyed

I don’t know if this a bug, but it is a little weird. I use a ListView at that place because a Column or Row will generate all delegates directly or won’t it? The ListView will dynamically load more...

View Article


QQmlApplicationEngine/QQuickWindow slower than qmlscene

If you need no more help on this issue, please add [solved] to the topic so everyone can see that this problem is solved. You can do that by editing your first post.

View Article

Undostack (QAction and all QUndo* classes) in QtQuick application

Hi all, I’m still researching on how i could migrate my desktop application from QWidget to full QtQuick 2 application. Now I’m stuck on porting QUndoStack and QAction classes which I believed would be...

View Article


qt quick animation rendering issue

nevermind solved it, if you use depth testing, you must call glDepthMask(GL_TRUE) before glClear with GL_DEPTH_BUFFER_BIT, otherwise this call won’t work

View Article

QML Nested Repeater

I am trying to output a bunch of text from a nested collection. Assuming a collection myCollection with value: [[name:“Foo Barmaster”, accesshistory: [ [day: “Monday”, times:[ “5pm”,“6pm”,“9pm”...

View Article

QML Nested Repeater

just tried it in my program, when I try to run with more than 1 item as the delegate of a repeater I get an error “Cannot assign multiple values to a singular property” and “The program has...

View Article
Browsing all 4972 articles
Browse latest View live