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

QML SoundEffect Unreliable

Hi, I am developing with Qt 5.2.1 on an Android 4.4 device. Firstly I am not sure if this is a QtQuick or an Android related issue and if this is posted in the wrong place please advise. I am trying to...

View Article


[Solved] Custom QtQuick MessageDialog

Greetings, I have a simple question: is there a way to make a custom MessageDialog in QtQuick? The actual problem I seem to have is that when the property standardButtons gets more than one value (for...

View Article


[Solved]Qml properties not displayed on dynamically creating the QML element

seems like your dynamically created button has no size ( width and height)? that is why you won’t see the Rectangle I guess. Edit: eddy was faster :D

View Article

QML Android best practice to send a custom Intent (share URL)

hey, I was wondering if there are any best practice tips for sending custom android intents from QML (or c++ for that matter). should I create a custom android activity and use the QAndroidJniObject...

View Article

Flickable layout issue

I have added Flickable or Listview inside a GridLayout. The content inside these control is not getting resized with the parent. Is there any solution for this. Regards Ansif

View Article


[Solved] Custom QtQuick MessageDialog

OK, I think I have found a possible solution to my Problem: import QtQuick.Window 2.0 ApplicationWindow {           // some stuff    ...

View Article

SpinBox with in RowLayout

You’re welcome. Thanks for the bug report!

View Article

Focus, child items, and the end of my wits

Hey guys, I’ve got an example here where I’m trying to find the “best” way to do this. I’ve got a QML window with 2 elements: a text box and a listview. You guessed it, it’s a search window. I can...

View Article


Flickable layout issue

I would use Splitview and put the 2 flickables as childs in it.

View Article


Focus, child items, and the end of my wits

see my edit, maybe that helps or I still don’t know what the problem is the Item ids are usually accessible from everywhere unless its a separate qml file but then you can simple use an property alias...

View Article

Get the value of QML Editbox from c++

I have created a QtQuick application with some textboxes in QML. I want to use the value of those textboxes in my c++ code. So how can i fetch those value from c++ code ?

View Article

Get the value of QML Editbox from c++

I think that: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html is what you are looking for. Read it carefully – the safer and recommended approach is to expose some...

View Article

Deploying QML library/imports

I have now managed to create a QML plugin and some imports. My imports folder structure looks like this: imports/Bla/<some qml files> imports/Blu/<qml lib>...

View Article


C++/QML architecture - a way to reproduce C++ structure in QML ?

Hello, I am not sure what exactly you are trying to do but you can take a look the code of my project: https://github.com/strahlex/QtQuickVcp I parse the children of my QtQuickItem recursively and...

View Article

glReadPixels - what am I missing?

GL_RGBA8 is not a valid pixel data type. Try GL_UNSIGNED_BYTE instead. See http://www.khronos.org/opengles/sdk/docs/man/xhtml/glReadPixels.xml

View Article


childrenRect.height is incorrect if child reduces in size

I am attempting to build a ListView, where elements in the View can be expanded if the content exceeds a given constraint, in the example provided, this is simple a toggle on maximumLineCount on a Text...

View Article

childrenRect.height is incorrect if child reduces in size

my experience is that childrenRect sometimes doesn’t work at all or is always 0 (I use QtQuick 2) for whatever reasons, might be a feature or bug I don’t know. Especially if you have some weird anchors...

View Article


UI Library for prototyping

Hello. I’m a User Experience Architect working in mobile. For a long time I’ve been looking for a tool that I could use to prototype apps for user testing running on the actual device that could have...

View Article

Android 3rd party virtual keyboard not working with TextInput (Qt 5.2.1)

Hello, it seems that 3rd party virtual keyboards on android are not working properly when deploying a simple test app with Qt 5.2.1? I’ve tested with all items that can receive text input, always the...

View Article

UI Library for prototyping

Hi sandrobrito, Welcome to the devnet forums. There are qml widgets for desktop that adapt to the look and feel of windows, mac and linux. Unfortunately this is not the case for mobile. I would suggest...

View Article
Browsing all 4972 articles
Browse latest View live