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

Painting a dynamically created QQuickPaintedItem subclass

Hi everyone. I’d like to know why I can’t paint a dynamically created QQuickPaintedItem subclass. Here is an example : // the class I need to draw class Circle : public QQuickPaintedItem {  ...

View Article



[Solved] C++ QVariantList in QML : view in QML is not updated when I change...

hi bercik, fxam, thanks for the advice. i could make it work by forcing the signal to be emitted, void MaQGate::SomethingChanged(void) {     nameChanged();    ...

View Article

QAbstractListModel & QML

Oh, right. Thanks

View Article

Qt Quick Application (5.2.1) on Windows XP

I created a Qt Quick Application using Qt 5.2.1 and visual studio 2012. My application can not run properly on Windows XP due to the following error: The procedure entry point_except_handler4_common...

View Article

ListView require items from model at back order

Hello All! I have a some model, and when i connect it to ListView (QML Element), this ListView start request indexes from the last row at model. Any ideas why is that?

View Article


ListView require items from model at back order

This should not be the case with normal ListView to Model. Some settings like the ListView.BottomToTop must be making this. You can try with simple example. May be you look at simple example given in...

View Article

positioning text right after word wrapped text

Solved. Used html to do the formatting. Rich text will kick in and things will work wonderfully.

View Article

Qt Quick Application (5.2.1) on Windows XP

Here are some answers: link [answers.yahoo.com].

View Article


ListView require items from model at back order

Tnx All 4 answers!!! Model contains sorted list of items. I check once again model and made sure so order in list is correct. When I add to ListView delegate based at Loader and set property...

View Article


How to start with QtQuick?

Hey there! Until now we are working with Qt widets. Now we have a project which should be done in QtQuick. Searching the amazon-book-store and the internet I could not find a good ressource for...

View Article

How to start with QtQuick?

I agree that the documentation isn’t that good at simply getting you into the basics. I have previously done a couple of presentations that more or less covers the basics: Rapid prototyping with Qt...

View Article

Qml and qt qrc resources

Hey all, Im starting to use in my qt app some qml files, and now have one doubt. In my app I use qrc file to store gfx files. Is there any option to use in qml file graphic from qrc file from qt...

View Article

How to make dynamically created "Rectangle" components to bold one...

Hi, I want to do when I clicked dynamically created “rectangle” component, that component text goes bold, and then I clicked another component, previous clicked component goes unbold, i tryied...

View Article


How to save the image to a file in QML?

How to save the image to a file in QML? I struggle with this all day but no way found on the internet does not work for Qt 5.3 Help please.

View Article

Qml and qt qrc resources

Hi, Only moderators can do that. Out of curiosity, I’m not sure I did understood your problem correctly, what do you mean by “ use in qml file graphic from qrc file from qt project” ?

View Article


How to make dynamically created "Rectangle" components to bold one...

Track the currently selected child Rectangle using a property in the parent. Have the onClicked handler reset the bold flag of the selected rectangle, and then update the tracking property. Given that...

View Article

QAbstractListModel: connect item's signal to the dataChanged signal of the model

Hi, I have subclassed QAbstractListModel for exposing a list of my objects to QML (using a ListView, there). I know that I can change the properties of items by overriding setData in my class, but that...

View Article


QML failing to detect QObject destroyed in C++

The presented code does the following: <1> Create object of QObject derived class and expose it to QML <2> The class has a pointer to another QObject derived class and the...

View Article

How to get the path of the application directory on Android?

Hi I wants to save images downloaded from the Internet in a directory with the application but do not know how to appeal to the path from QML on Android? Please help

View Article

Conway's Game of Life in pure QML, also QML+GLSL ShaderEffect

Just for fun. Conway’s in C++ seems to be an old favourite here, but I was curious about QML practicality and performance. Here’s a primarily javascript implementation [bitbucket.org] using dynamic...

View Article
Browsing all 4972 articles
Browse latest View live




Latest Images