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

paintEvent in QQuickView

Well i’m using a touchscreen device and I’m trying to test which is the minimum frames per second screen update that is acceptable. So for pinching and zooming or panning when it just becomes to choppy.

View Article


Problem with QML Extension

Hi! I’m currently have a problem with using a QML Extension. I’m working on a project that consists of an QML Application and an QML Extension Plugin. In the Plugin I have (only) C++ classes that...

View Article


Registering a type makes the QML code not work

Hello, I am working on something where I have a class called “FloatingMenu” (that is supossed to manage a menu in C++) and its QML alter-ego for the GUI in a file FloatingMenu.qml. I have a file...

View Article

Registering a type makes the QML code not work

Thanks Dot97. I tried what you said, but it didn’t work… (I remaned everything in QML to FloatingMenuQML).. I think it is ok to have that with two names…. So I still have the problem… Thanks again anyway!

View Article

QML: calculate height with min/max range for Rectangle from child Text content

Hello, I’m new to QML and have following problem, some like [[SOLVED] QML: calculate size for Rectangle from child Text content]: I have a Rectangle element with the Text element inside of it. The...

View Article


QML (Qt 4.8.5): javascript function executed outside it's object

Hello, I have a problem executing javascript function defined inside QML. This function addresses some properties of that QML and sometimes when this function is called from another QML file, it can’t...

View Article

QML: calculate height with min/max range for Rectangle from child Text content

Hi and welcome to devnet, Is there a special reason why you use an old version of Qt Quick? In version 2 there are some interesting features added which might help you. Have a look at this overview...

View Article

QApplication with QtQuick memory problem

Hi, I’ve got he following problem: From beggining: I have an application, which is an QApplication, with QQmlApplicationEngine, the main.cpp file is more less such as the “Qt Quick Controls – table...

View Article


read text file in array

hey i ahve a text file in which there are 3 coulmns …i want to make array for each coulmn individually . how i can do this.i am adding my text file here...

View Article


How to make full screen in qt quick?

I use Qt 5.2.1 with Qt Creator recently. I get full screen for qt widgets application with code: QApplication a(argc, argv); Widget w; w.showFullScreen(); w.show(); return a.exec(); For qt quick...

View Article

QApplication with QtQuick memory problem

Memory usage has been discussed before. I think for instance this thread [qt-project.org] might be useful. I think it is often misleading to look at the current memory usage this way as the garbage...

View Article

[Solved] Help with size & resize of QQuickView (unexpected item's width &...

I’m facing this problem with my app: when creating an instance of QQuickView and resizing it, it seems that the resizing is not actually performed after a much later time. Let me explain with a minimal...

View Article

[Solved] Help with size & resize of QQuickView (unexpected item's width &...

Hi, thanks for the tip, I’ll check different ways of initializing the main window next time. IMHO the problem I’m facing is that width and height values are being calculated at a different point in...

View Article


How to make full screen in qt quick?

It worked if delete viewer.showExpanded();

View Article

read text file in array

Hey please check now …you can access now this file. I am not using QML …i am using QFile through this we can read all data of files.but there are three coulmn and i want to make array for each coulm...

View Article


Import of remote directory with qml files does not work

I have a QtQuick application, which must load remote qml files. In order to do this I found in the docs that an import can be a remote directory. But while this kind of works with local directories, it...

View Article

Using local types in remote qml files

I am currently trying to import qml files from a remote directory (see Thread [qt-project.org]). So far, I can load qml files that are in the remote dir, but when I try to use qmls (types) from my...

View Article


Using JS eval to create a Javscript in-app console

This is a valid use case and we have previously used this to demonstrate live coding at different occasions. You can for instance check out a series of youtube videos that Andres Baldwin did showing...

View Article

read text file in array

Hi, can you maybe give an example or function prototype how you would like to use it? It should be fairly easy to read that file in and split the columns. what i mean do you want a separate array for...

View Article

[Bug?] Inconsistent resizing of QQuickView (unexpected item's width & height)

This is the expected behaviour. If you want to have items which follow the window size then you must use bindings, not imperatively set the properties1. If you want to have items which follow the...

View Article
Browsing all 4972 articles
Browse latest View live