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

Is the QML realtime preview away?

Hello, after upgrading to QtCreator 2.8.1 32bit and Qt 5.1.1 on Linux Mint 32bit I’m missing the QML realtime preview. This made it possible to change QML code in the QtCreator while debugging the...

View Article


Defining Qt Quick Controls Styles as a seperate stylesheet

Hi, the answer is YES; you can define custom styles as Components and use them like other custom components.

View Article


How to use requestAnimationFrame with QML Canvas

How must the requestAnimationFrame method be applied in a QML Canvas? The documentation is very scarce and the use seems to be very different from the browser implementation. I would be very grateful...

View Article

Qml Library

Hi everyone, I have seen that it is possible to create a library from C++ so it can be used as a plugin in QML. I was wondering if it was possible to do the same but from QML to QML. I have some custom...

View Article

Change order of objects in a column layout?

I am populating a column layout dynamically with objects, but I need to be able to reorder the elements later on. I didn’t notice anything on the subject on the documentation, and qt quick seems to be...

View Article


QMediaplayer

Hi, I have created a media player using quick 2.0. Also I have created a separate widget(QWidget) for displaying the audio analyzer/visualizer based on the example spectrum analyzer provided along with...

View Article

How to embed Qt Quick controls

Hello, How can we embed a Qt Quick control with another one. Is there any example available. Best Regards Ansif

View Article

Support both mouse and touch events at the same time?

My components need to be able to process both mouse and touch events, however this doesn’t seem to be possible. The mouse area component only supports mouse and no multitouch and the multitouch area...

View Article


Defining Qt Quick Controls Styles as a seperate stylesheet

Hi, simply you have to: create a QML file for each style (MyButtonStyle, MySliderStyle, ….) for each control you set the style Property example // File: MyButtonStyle.qml   import QtQuick 2.1...

View Article


Access QQuickItem anchors from C++?

I need to return a QQuickItem’s anchors from a C++ method for binding in QML. However, QQuickItem does not have any method even remotely connected to this functionality. I took a quick look through the...

View Article

Duplicating and Compiling Source of User Input Type to Create Custom Version.

What are the general steps that would allow me to duplicate the TextEdit user input type? So far, I have duplicated and renamed it inside /qtdeclarative/src/quick/items I have also renamed the class to...

View Article

Is there any constructor function for Components ? Or Init ?

Thanks for answering, Sergei that was what I’ve been looking for, but actually I have found a different way to do it.

View Article

Wrong behavior with State's extend property

Hi everyone, I was playing around with States in QML when I found out a strange behavior. Considering this case State {     name: "mainState"    ...

View Article


Question about order of execution by property change.

For me it would be C to A, b.propX turns to false so it triggers doWhatever() which is topmost Item then triggers doAnything() and finally doSomething since it comes after b.propX = false. To make sure...

View Article

Wrong behavior with State's extend property

Hi, It’s not going like you described. Of course states are acting as OR. From documentation :“When a state extends another state, it inherits all the changes of that state.” example can be find here:...

View Article


loop or linear traverse to fill qml-objects

Thanks Stefan. I will have a look into this.

View Article

QMediaplayer

Hi, I am not able to use setNotifierInterval in quick 2.0. I have to call positionChanged for every 100ms in qml. But I am not able to find setNotifierInterval in quick 2.0 multimedia. Thanks ,...

View Article


qutick 2.0 Multimedia - setNotifierInterval

Hi, I am not able to use setNotifierInterval in quick 2.0. I have to call positionChanged for every 100ms in qml. But I am not able to find setNotifierInterval in quick 2.0 multimedia. Thanks ,...

View Article

Defining Qt Quick Controls Styles as a seperate stylesheet

Hi, you can’t use a single file for all styles; you need a file for Component (Style). Also you can read here [qt-project.org] to learn how to create a QML Module Hi, I have checked the QML module...

View Article

Scope of the "id:" with the TabView Control in Qt Quick?

Hi! I have the following simple QML example: import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Window 2.0   ApplicationWindow {     title: qsTr("Hello...

View Article
Browsing all 4972 articles
Browse latest View live