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

QML Repeater itemAt not working

Yes.. Great.. Thanks for help. :)

View Article


[solved] How do I attach properties to a Component?

Hi there, I am trying to understand the Component objects. So I’ve written two .qml files. Container.qml, which is a Rectangle that displays an arbitrary object (aThing). The other file (main.qml) is...

View Article


Performance issue with multi QQuickView

My multi QQuickView programs (in the same process) seems run well on Windows.

View Article

[solved] How do I attach properties to a Component?

Yay! Found the solution. It’s actually pretty simple. When creating an object with Loader you can add properties the same way you do with all other objects. Loader {     property...

View Article

To create a new dialogue box using QML

I’m also not working that long on QML but this is how I do it. I make the dialog as a new .qml file. This will be created dynamically and added on top of the parent. You could also use the QML Loader...

View Article


[SOLVED] QQmlListProperty: QObject subclass usage

OMG! Well, that solved the whole thing :) I were using Sub-Subclasses from QML and those were registered, while Subclass itself wasn’t. Thank you very much!

View Article

[SOLVED] How do I know my QQmlListProperty changed from QML?

Thank you, Chris, this seems more like it is in Qt sources: custom append function implemented for property. I think such an implementation really gives you more control over the situation, will give...

View Article

[SOLVED] QML DefaultProperty, setting order

I have re-checked the case with a clear project and came to the idea that my observations were dependent on what I do when properties of an object are being set. That last time I had a sistem which...

View Article


QML remote debugging doesn't work - symbol lookup error, undefined symbol

My development environment: Host/Desktop: Ubuntu 12.04 LTS guest running in a virtual machine on a Windows 7 host, Qt4.8.0 libraries Device: own development, embedded Linux Cortex A8 device, TI SDK...

View Article


Image alignment does not appear to work?

I am trying to change the alignment properties of an image so that it moves about it’s centrepoint, so for example, at position 0, 0 then the top left half of the image extends outside its parent. To...

View Article

[solved] How do I attach properties to a Component?

Thank you for your input Chris, the point about this post, as hinted in the title, is to pass information from the place where the Loader Element is used to instantiate an arbitrary object, to the...

View Article

QML remote debugging doesn't work - symbol lookup error, undefined symbol

On the embedded device I have GNU gdbserver (GDB) 7.2 “arm-arago-linux-gnueabi” and on the host, after sourcing environment-setup for the linux devkit it shows GNU gdb (Ubuntu/Linaro...

View Article

QML2 Books / Tutorials?

Anyone have suggestions on either a good book or set of tutorials for QML2? There doesn’t seem to be any good resources located in a single place and I end up spending a lot of time hunting around. I’m...

View Article


Accessing blind data in a base object via external view objects

This is probably more of a philosophical discussion kick-off / bikeshed problem than an actual question, but here goes: I’ve got an fairly generic QML object that acts as a base class for more complex...

View Article

Qt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)

Hello! I try to build qt components (as i understand now it is Qt Controls) for Ubuntu+Qt 5.0.1 (build from source). Should i open issue on bug tracker? Error: cd src/ && ( test -f...

View Article


QML using QGLWidget as viewport not getting TouchEvents

A little progress, by sending the TouchEvents to viewport QGLWidget the gesture recognizer is recognizing the tap gesture. However, the tap gesture fails with this message:...

View Article

PathView Using QAbstractListModel Determines Count Late

I’m pretty sure that I’m running into exactly the same problem: http://qt-project.org/forums/viewthread/26441/ [qt-project.org]...

View Article


Q_ENUMS as property variant index

Hello all! I have the following problem: i declare enum in C++ and share it to QML context class TestClass{     Q_OBJECT     Q_ENUMS(testEnum) public:  ...

View Article

Qt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)

It might, as Qt Quick Controls are an integral part of 5.1.

View Article

QML2 Books / Tutorials?

In the future perhaps, hopefully, for 5.0 and 5.0.1 doc building failed for me (and not just me) and only HTML docs were generated, and worse than the online version – the missing snippets are still...

View Article
Browsing all 4972 articles
Browse latest View live