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

Extending LocalStorage

As far as I understand this, there is no benefit to inherit from QQuickLocalStorage, which consists only of one (non-virtual) function anyway. Its also just a .cpp file, no headers...

View Article


Allow border of a rectangle to paint on top of any children

You could try to create a second transparent rectangle with the border which position and sizes are equal to the first rectangle. You can position it on top of everything and it would act like the...

View Article


signal called from QML isn't connected to C++ slot, no errors given

Wow, thank you so much JKSH. That makes perfect sense. I fixed the problem by not instantiating a new QQuickView and instead passing the address of the original one as needed. If it weren’t for your...

View Article

Implementation of TouchArea using TUIO API for QML application

Hi, I finaly succeeded !! All I had to do is to create one static background Widget which is parent of all SdcnApplicationViewer instance -using setParent methode. Then I call translaterawTouchEvent on...

View Article

Allow border of a rectangle to paint on top of any children

Well you could try something like that: Custom QML Object [stackoverflow.com] Try to create a custom QML Object which looks like the border you want and is always on top.

View Article


[SOLVED]QtQuick 2.0 in QMainWindow

After some research i still couldn’t find a good way to implement a QtQuick 2.0 Application into an already existing QMainWindow which already has got other Objects in it. Could it be done with QWindow...

View Article

[SOLVED]QtQuick 2.0 in QMainWindow

Alright, i’ll give it a try, thank you.

View Article

Extending LocalStorage

Thx for the quick answer. And yes, after spending hours on finding a proper solution this is definitely is the easier way of doing it.

View Article


import c++ type registered with qmlRegisterSingletonType

Hi, i’ve declared a singleton class and registered in with  qmlRegisterSingletonType<presbiopia>("MyClass", 1, 0, "Class",classProvider);...

View Article


Unable to listen to port

I created a pointer to a QQuickView, but when i try to debug it, it displays me this error(translated): Could not create a connection to the Debug-component in the process. The port is already in use....

View Article

Unable to listen to port

Yes i am running it with QtCreater and no, i am not running another program in QtCreator. The problem would be probably that i’ve got a QMainWindow and i am trying to create a WindowedContainer with a...

View Article

Accessing C++ model data from QML JavaScript code

Your Delegate somehow accesses it so there must be a way: You could try to not access your model, but to access your ListView. It has got a count function so you could try to iterate trough all...

View Article

Registering Singleton vs Context Property

Hey hey I have to pass settings from C++ code to QML , so I have two ways to go either using context     QtQuick2ApplicationViewer viewer;     WindowSettings...

View Article


My gui is taking too much time to plot and during plot time its being freeze...

Like I suggested before, offload the heavy math in a thread (using e.g. a worker object), send the results back to your plot widget when it’s done and then update the plot

View Article

My gui is taking too much time to plot and during plot time its being freeze...

Here’s an example for doing heavy maths in another thread to stop the GUI from freezing: http://qt-project.org/doc/qt-5/qtcore-mandelbrot-example.html

View Article


import c++ type registered with qmlRegisterSingletonType

yep, the same for me. Qt Creator marks my import as an error but at the same time I’m able to run my application without any problems. But if I use qmlRegisterType instead of qmlRegisterSingletonType...

View Article

Registering Singleton vs Context Property

I vaguely recall that the Singleton type is better optimised in the engine, and currently it is recommended to use that. You would need to check with QtQml/Quick developers to be sure, though.

View Article


Need technical suggestion on GUI creation & QML uses

Hello All, I am going to develop my desktop application on Linux which will be run on different distros. I would like to know while approaching GUI should I go for latest Qt 5.2 quick api like...

View Article

Need technical suggestion on GUI creation & QML uses

As i download the source code from Git and run it on my fedora 19 desktop it runs perfectly, So my question is shall we use QML as it is for desktop application development. ? Hello, You can use QML as...

View Article

Throwing QML exception from C++ in QtQuick 2 application

Hi, I am currently using a library that I have exposed to the QML layer. This library uses exceptions to signify many of the error conditions. With a standard Qt GUI application you are able to derive...

View Article
Browsing all 4972 articles
Browse latest View live