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

QML MessageBox onYes called two times after click

When I run project on PC any other than mine, onYes function from MessageBox executes twice. I have only made some text changes to the DefaultMessageBox.qml but even when I copied it from my PC the...

View Article


Crash when trying to add inline component in non-inline component

Yes, It crashes. Here we are trying to extend the external component again. This could be leading to the issue. However it not should not crash. May qml compiler should fix this issue. I suggest you...

View Article


Show animated progress inidicator while doing time consuming c++ stuff.

Hi, i am trying to realize an animated progesss indicator. The problem is that it should be displayed (and animated) while i call c++ stuff which takes some time. I really do not want to start using...

View Article

Canvas and Context2D

Hi, everybody: I’m trying to do a simple drawing app, just drawing a stroke where the mouse goes, but I can’t. Even I’m trying with this project...

View Article

Show animated progress inidicator while doing time consuming c++ stuff.

I know you told about not starting the thread. But starting the thread is elegant way it avoids lot of stuff. I have tried earlier and move to thread finally.

View Article


problem with the DropShadow

Rectangle {         width: 640         height: 480         color: "white"...

View Article

Canvas and Context2D

here [qmlbook.org]

View Article

[SOLVED]How to limit the text width with the restriction of parent width

Label {       id: test       width: 100       height: 30       Text{    ...

View Article


Bindings bug or feature

I found a situation, where bindings works not as I expected. If I bind variable someVar to some other variable(s) and also add handler onSomeVarChanged, the handler executes before bindings. Thus,...

View Article


Bindings bug or feature

Of course, there are a lot of workarounds. For example: main.qml import QtQuick 2.3 import QtQuick.Controls 1.2 import QtQuick.Layouts 1.1   ApplicationWindow {     id:...

View Article

Bug: TableView doesn't set key.accepted on Key_Up or Key_Down

Yes, I’m using 5.3.1, apparently I was looking at the wrong source code. However, the correct code you linked to is problematic – the documentation for KeyEvent says “Generally, if the item acts on the...

View Article

Camera preview image is always the same

Problem is reproduced with following qml code, executed on android 4.2.1. To be added in .pro: QT += core qml quick multimedia Main.qml : import QtQuick 2.3 import QtQuick.Window 2.2 import...

View Article

access variables declare in qml function

Hi, I have declared a function in main.qml, if i want to access the variable inside the function in another qml file, for example access.qml, what should i do?

View Article


access variables declare in qml function

I think you should return variable instead of accessing the variable inside the function.

View Article

Bindings bug or feature

how about this? Is it better? ApplicationWindow {     id: window       property var currentDate: null       width: 640  ...

View Article


Problem with DropShadow radius

i created a DropShadow for an element, and setted the radius to be 50, but i see this message: qml: DirectionalGaussianBlur.qml WARNING: Maximum of blur radius (16) exceeded! and the shadow sometimes...

View Article

[SOLVED]How to limit the text width with the restriction of parent width

Hi Vikas, “clip:true” worked fine for me. “elide” didn’t solve the issue. This Label used inside Column. Thanks.

View Article


[solved] problem with the DropShadow

thank you guys

View Article

Audio stops unexpectedly

i’m playing an audio file (.ogv) with MediaPlayer and Audio components and i set audio to loop infinitly, but after sometime the audio stops playing the code:  MediaPlayer  ...

View Article

Bindings bug or feature

Thank you, Vincent. Maybe, it is better in some way. But what if we need to execute some code after requestManager.requestData(), for example: onCurrentDateChanged: {    ...

View Article
Browsing all 4972 articles
Browse latest View live