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

When is TabViewStyle's styleData.availableWidth valid?

I created a simple Tab View inside an ApplicationWindow with a style taken directly from the Qt Quick Controls gallery example. If I don’t change the width of the TabView everything works like I would...

View Article


StackView & Transitions

Hi, Use Item instead of Window as root object. And provide a width and height to ListView or use anchors.fill: parent. To load Item based component you will need QQuickView.

View Article


[SOLVED]Accessing QML component property dynamically

Hi, How can we access properties of multiple qml components in a loop i.e I have a custom components “box1” “box2” “box3”…..“box30” this box has a property named “txtLabel” to store text in it. Now i...

View Article

[SOLVED]Accessing QML component property dynamically

Its done. That helped me. Thanq.

View Article

TextEdit on ListView don't keep text after scrolling.

Thanks, for the info. What can be a good workarround or a proper workflow for my app? Suggestions are welcome.

View Article


QML WebView the problem with white space on the bottom

Hi everyone! I have the strange problem with “white space” on the bottom of WebView component. Please see the image: The code of WebView:          ...

View Article

Styling Qml desktop components

Currently I’m working on a desktop application that supports touchscreen display. I use QML on Qt 4.8 and OpenSUSE 13.1 (I can’t upgrade either Qt or the OS due to dependencies reason) Because of the...

View Article

Default Controls Style not the same as no style given

Thanks for the information, that’s clarify the observed behavior.

View Article


What operation costs more - Image loading or image resizing ?

The answer probably depends on what definition of cost is used. For most cases, I imagine that loading a new image is more expensive. If the image provider reads a file from a filesystem, there’s...

View Article


Styling Qml desktop components

I think create a customRectangle.qml from Rectangle is easy, but a customButton.qml from Button is quite complicated, like just change the button color is quite a problem.Perhaps you can create a...

View Article

[SOLVED] QQuickItem change property with animation

I solved it by adding initial value m_items.back()->setProperty(“y”,0); for the first element of my list. Not sure what type of magic is that but it works just fine now

View Article

Styling Qml desktop components

You’re right, I tried to draw a button by inheriting Rectangle and it was easy to style it. However, my team use qml desktop component, button is just a small case :( I tried to modify the plugin like...

View Article

[Solved] Sizing an svg icon in a QML Button

Thanks, I am getting the icon from an Action, but think your answer will still work

View Article


Parent and Anchor Animations done well

Hi, I’ve been working on dragging and dropping rectangles onto each other using drop areas and mouse areas, both containg rectangles (got to have something nice to look at). When one of them is dropped...

View Article

How can I get actual installed GL version (not GL version being used in...

For debugging I would like to know what GL is installed on the user’s machine. I have a QQuickItem that reports the value of glGetString(GL_VERSION); on my machine it says “2.1.2 NVIDIA 304.117” but if...

View Article


To Display Video Frame on QML

So. Have you managed to do that? I am trying it too with no success. :(

View Article

[SOLVED] QML WebView the problem with white space on the bottom

thanks I’ve solved the problem.

View Article


How can I debug the dread jom "error 2" problem?

I’ve been working on an application on Linux, and now need to get it to build on Windows using Visual Studio 2013. I can get it to mostly build on Visual Studio 2010 (though the compiler chokes because...

View Article

Change HTML Style in QML

Is possible to change html style in qml? Does QWebView do that? thanks

View Article

Importing files with evaluate() function

When I run this code, I get a SyntaxError as a result. AFAICT, there’s nothing wrong with the syntax. Why wouldn’t this work? QQmlEngine engine; QJSValue res = engine.evaluate("import...

View Article
Browsing all 4972 articles
Browse latest View live