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

could not load qml file on Deployment on Android Device

I have issue related to loading 1-2 qml files at the time of deployment. I have a code that runs well on emulator but does not load few qml file at the time of delpoyment. For example this is my model...

View Article



SpinBox with in RowLayout

I add some simple spinbox in a row layout, but the behaviour seems buggy, the spinbox with (implicit width i assume) is broken:     RowLayout {      ...

View Article

How to access c++ vector in QML

AFAIK, you can’t use vector of objects in QML. (not sure though :)) The best possbile way would be to use a QVariantMap to store object properties as Map elements. See this [qt-project.org] for how to...

View Article

Miss cell in Grid

To my knowledge, Grid ignores objects with visible: false and doesn’t leave an empty cell. That’s why I suggested GridView. I hope this helps. Ok. I will use GridView. Thank you! :)

View Article

How to disable PathView looping?

I’m implementing an Android ViewPager like controller. It seem that PathView is the perfect choice. But I found that PathView always loops, is it possible to disable looping without modify the source...

View Article


QtMultimedia problem

Hi, I am creating a music player using QtMultimedia 5.0 and QtQuick 2.0. And I can’t play 320 kbps mp3 files with this application, but 128 kbps is ok. Why? Please tell me asap. Thanks in advance.

View Article

Change a QML state from a model role

Hello, I’m fairly new to Qt/QML. My question is if it’s possible to have a C++ model return a value that will change the state of a QML item. Something like: Rectangle {    id:myRect...

View Article

Question regarding making a custom Pop Up window

Hello, As the title points out, I’m trying to make a pop up window such that originally the mousearea is a small square rectangle object and when it is clicked upon, the rectangle object will resize to...

View Article


QtMultimedia problem

What is your platform ?

View Article


QML pages compilation issue

Is there a way to compile the QML pages on demand (before I run them) ?

View Article

GroupBox styling

Is it possible to style a GroupBox? I’m mainly interested in changing the font size of the title but it doesn’t seem possible since it’s a hardcoded Text element. Just checking before filing a bug report.

View Article

How can I force a repaint of the screen ?

How can I force a repaint of the screen ?

View Article

StackViewDelegate getTransition

Hello, i would like to use a property from the StackView in the StackViewDelegate function getTransition. Here is a sample code:     StackView {      ...

View Article


QML pages compilation issue

Hi, JKSH is right, it’s not compiled see for example here [qt-project.org] QML is JavaScript based

View Article

GroupBox styling

sfabry thank you for the example. vitala you can add Style into you GroupBox without adding new style file. Here is what I’ve made from sfabry’s example. main.qml import QtQuick 2.1 import...

View Article


[Solved]Hide Title bar in Qt Quick Application

I need to hide the title bar of my application. I tried setWindowFlags(Qt::Window | Qt::FramelessWindowHint); in main.cpp.. But i got the error “C:\Qt\Qt5.2.1\Tools\QtCreator\bin\PSC\main.cpp:13:...

View Article

Font.pixelSize Based On Text Width: Binding Loop

Hello, i want to change the font.pixelSize based on the contentWidth to make it fit into its parent.  font.pixelSize: contentWidth > parent.width ? (parent.width/contentWidth)*12 : 12...

View Article


Define the page size for QtQuick designer

You’re welcome. Have you tried it with null? width: mwSystem.width ==  null? 1 : mwSystem.width height: mwSystem.height == null ? 1 : mwSystem.width Okay, im glad that you found a solution.

View Article

[Solved]Hide Title bar in Qt Quick Application

You’re welcome. I’m glad that i could help you. Please add [solved] to the title of this thread so everyone else can see that the problem is solved/a solution was providet.

View Article

ComboBoxStyle Custom Popup/Drop-down List

Hello, i want to size my drop-down list based on the content width. That means undependen from the component-width. The documentation for the ComboBoxStyle is very thin. Is there any good and working...

View Article
Browsing all 4972 articles
Browse latest View live




Latest Images