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

Custom dialog

Hello all, I would like to create my own dialog class in QtQuick2. From which Quick element I could create it? Should I create it from scratch? Joaquim Duran

View Article


Passing parameters between windows

Hello and welcome to devnet, i would go ahead and use signals for that. For example: Creating the component: var component = Qt.createComponent("detail_dialog.qml.qml"); dialog =...

View Article


how to to Audio Recording from microphone to wav file in Qt

Can you upload a sample .wav file somewhere?

View Article

Access dynamic created ListModel elements from C++!

Hi Andre, Yes, it depends :) And I find another way to play with ListView model 1. qmlRegisterType a customized C++ Model such as:...

View Article

Custom dialog

Looking in the source code of Qt, I’ve created this example: import QtQuick 2.0 import QtQuick.Dialogs 1.1 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1   Rectangle {  ...

View Article


[solved] Custom dialog

And another sample, based on window: import QtQuick 2.0 import QtQuick.Controls 1.1 import QtQuick.Layouts 1.1 import QtQuick.Window 2.0     Rectangle {     width:...

View Article

Passing parameters between windows

ok I solved without knowing it. the data is from this javascript function. in the dialog was enough for me to do so:         Text {      ...

View Article

Problem Using Directory Import for QML Files

I searched the forums and doc, and can’t figure this one out… I’m using Qt Creator 3.1.81 based on Qt 5.2.2 (Mac) with QtQuick 2.1 I’m trying to use a user-defined object type: import...

View Article


how to to Audio Recording from microphone to wav file in Qt

hey i have no idea how to upload my .wav file here….. tell me your mail id …i can send my .wav file on your mail id. thanks for ur reply…

View Article


Resizing QML controls

Hi all, I am working on a project where we are using QML controls. We are using QQuickView to show the main QML file. Everything is fine except the resizing behaviour. I was trying to achieve this, but...

View Article

Resizing QML controls

This is what GridLayout is for: http://qt-project.org/doc/qt-5.1/qtquicklayouts/qml-qtquick-layouts1-gridlayout.html There is also an example that shows how to use it here:...

View Article

Injecting Events From C++

Hi all… I just discovered QtQuick a couple of weeks ago… and it seems awesome! :) However, I have a small problem integrating it into my existing Qt application. My application is designed in such way...

View Article

Injecting Events From C++

Do you know about all the children or not? If it should only notify the children you basically know you can access the id of your children and some function from your children which handles the...

View Article


Move particles through a custom path

Hi all; I’m trying to create a scene in which several “open pipes” conduct the particles, just like if particles were water. It’s just a demo in which I’m learning the how’s of some Qt Quick elements,...

View Article

Wacom and Qt Quick 2

In the photosurface example, they are using the mouse wheel. I believe that Wacom converts touch events into mouse wheel events… I am using Windows 7 + Wacom Bamboo with Qt 5.2.1 for MSVC2012. I need...

View Article


Crash application with ButtonStyle QtQuickControls

Hello. I tried use QtQuickControls Button with ButtonStyle (QtQuick.Controls.Styles). When programm start, it crash. (System: Windows 8.1 Qt: 5.2.1 mingw48) But without ButtonStyle(with standart...

View Article

Passing class object inside Q_PROPERTY and bind it with the QML file

Hello, Is it possible to pass a class instance to Q_PROPERTY and bind it with the QML file. Also if that happens, how can we get the members defined inside the class in the QML file. Ansif

View Article


Resizing Main Windows QML

Oh alright, so you basically want the part with the resizing, you already got your part done with the clicking? For the resizing part you’ll still need a resize function in your mainwindow class. Let’s...

View Article

qml ListView currentIndex Issue

You could go ahead and change the listView directly by just setting this property in your ListView: currentIndex: myclassData.cIndex

View Article

Crash application with ButtonStyle QtQuickControls

You’re welcome, glad i could help you with that. :) You could report this bug to Bugreports [bugreports.qt-project.org] . Maybe it’ll help you or other people.

View Article
Browsing all 4972 articles
Browse latest View live