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

I can't get Qml to play nicely with my OpenGL!

I have a complicated OpenGL setup that I would like to display in a specific section of the view where (1) the rest of the view has other Qml items on it (including a nice gradient background under the...

View Article


Combining GraphicalEffect with custom Shader Effect

I am trying to use the Glow effect on the output of a custom shader effect (Stoke/outline). Below is the code that i am trying to use but it looks like we can not combine the custom shader with...

View Article


Gridview move transition problem

Hi again, So I have a gridview working nicely with key events to move the current item highlight around the grid. Now I want to have a mode where the currently selected item is moved to another place...

View Article

QQuickWidget crash

Hi, Qt Quick requires OpenGL 2.0 or greater. However, the Intel 945 only supports up to OpenGL 1.4: https://software.intel.com/en-us/forums/topic/284458 You cannot use Qt Quick + OpenGL with this...

View Article

TextArea in ListView delegate

Hi, I have a little problem. I’m using a ListView with a QAbstractItemModel. In the delegate I want to use a TextArea to edit the model data. TextArea {     text: model.text...

View Article


Make QSqlQueryModel editable: setData

Hello, I have just the same problems as above… Unfortunately I can’t find solution and this is the most accurate description of what I want to do. Please provide some answers / guidelines.

View Article

QML embed text inside a RadioButton

You can style RadioButton as previous post indicated. You can also develop your own radio button like the following. Rectangle {     width: 40     height: 40...

View Article

TextArea in ListView delegate

The delegate is a whole editor for the model and works fine except for the text input. There are also a few TextField’s in the delegate, which are also showing this behavior. But there I can use the...

View Article


animating text color on keypress

I’m trying to do something simple that’s not working out. I have text that turns from “white” to “yellow” when the user focus it. Now, I want it to flash green briefly when the user changes the value...

View Article


OpacityMask doesn't work for me ... what am I missing?

I figured out the problem, I downloaded the Butterfly.png from the OpacityMask documentation page and it looked like it had the properly transparent background, but it didn’t. When I modified the image...

View Article

OpacityMask only works on Images?

I have the OpacityMask working fine when I apply it to an Image, but if I try to apply it to a Rectangle it has no effect (and no warnings or errors in the console). Is this a known limitation of the...

View Article

animating text color on keypress

I am on Qt 4.7, so I don’t have the onStopped callback.

View Article

GridView Problem with *example*

Hi, So my powers of description for the problem I am having were not sufficient to inspire any solutions :-). Let me show a simple example. The problem: GridView Items do not come into view from off...

View Article


OpacityMask only works on Images?

Hi, It does work. You are putting in wrong source and maskSource. Try this import QtQuick 2.0 import QtGraphicalEffects 1.0   Item {     width: 300    ...

View Article

Property MouseArea for each ListElement

Hello! I am a beginner user of Qt Project. Can’t add a property for each element on ListModel. Code: Rectangle {             id: settings...

View Article


Property MouseArea for each ListElement

Hi, You will have to do that in the delegate. Since delegate is an item you can provide it a MouseArea. For eg. delegate: Item {     MouseArea {      ...

View Article

Qt/QML: TextInput with Keys.onPressed receives only DEL key and not other keys

Hi, I just tested the scenario you explained on Android and it works fine. It receives all Keys. Can you post the complete code here ? Also which Android device you were testing it on ?

View Article


TextArea in ListView delegate

I tried the same on Windows platform. It is going fine. May be I’m trying bit different ? I don’t know. Can you dump complete example somewhere. I can try and suggest based on your sample.

View Article

Qml and dinamic text height

Having the number of the rows in a text object how can I increase the high of the text object? text.lineHeight returns ever 1 and the not the high of the row in pixel.

View Article

[SOLVED; With one qualification(see thread)] GridView Problem with *example*

That’s Good. Thanks for the Info. Added to my Lib. :)

View Article
Browsing all 4972 articles
Browse latest View live