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

Object rotating twice on Transition

I believe I did, it’s commented out. I deleted the comment just to be sure. [gist.github.com] Any other idea about what might be the problem?

View Article


List View Zooming

Hello, I’m trying to make a lightweight pdf-like viewer based on a proprietary format. I’m relatively new to Qt (strict hobby), and I was thinking of using list view to render each page. My issue is...

View Article


[SOLVED] Object rotating twice on Transition

That’s exactly it, works perfectly now. Thank you. I added the code below in case someone has the same problem: import QtQuick 2.2 import QtQuick.Window 2.1   Window {    ...

View Article

Button Click Signal to make a pop- up window

Hi, I saw a couple of topics about this but I didn’t exactly understand so I’m making this one to ask. I’m using Qt Quick and as suggested in the tutorial I made different .qml for every button. I want...

View Article

using rainyday.js in QtQuick app

Rainyday.js is JavaScript library that makes use of the HTML5 canvas to render an animation of raindrops falling on a glass surface can i use it as QML type or something like that? Link [github.com]...

View Article


Button Click Signal to make a pop- up window

Hi, You could use Dialog [qt-project.org] component as a Popup Window. Use open() [qt-project.org] to show it. I want when the button is clicked to make a window pop- up. What should I write after...

View Article

using rainyday.js in QtQuick app

Hi, I don’t think so it could be used. The first major obstruction here would be use of window object which is used in that js. Check this [qt-project.org] for more details.

View Article

How to simulate Home Key pressing in Android

Keys.onReleased: {     if (event.key === Qt.Key_Back)     {         // Here I just want to send home key pressed signal...

View Article


Button Click Signal to make a pop- up window

Yes now I understand, thank you.

View Article


List View Zooming

Hmm, i think as main container is StackView [qt-project.org] a good element. For the pages use a flickable container [qt-project.org] with a child item to render the content. Change the size of the...

View Article

StackView & Transitions

import QtQuick 2.2 import QtQuick.Window 2.1 import QtQuick.Controls 1.1   Window {     id: window       visible: true     width:...

View Article

How to enable scrolling in the TextArea on the touchscreen devices

Hello all! I have such code: TextArea {             id: inp             anchors.fill: parent...

View Article

What operation costs more - Image loading or image resizing ?

I have QML Image element. What operation is more expensive (Performance) – Loading an image that isn’t cached (calling the Image Provider) or using an image that is already in the cache but needes to...

View Article


TextEdit on ListView don't keep text after scrolling.

Hi everybody! I’m having an issue with my QtQuick / QML app. It happens on desktop an android. I have list of fields to be completed with data. The fields are listed on a ListView and each one have a...

View Article

Default Controls Style not the same as no style given

Hi, I have a question regarding the default style used by Controls (under Windows 7 / 8, not tested under other platforms). When I create a Slider {} or make a Slider { style: SliderStyle {} } I don’t...

View Article


Missing QTWinFormsExtra in Sample MediaPlayer

Hey there, I wanted to view the MediaPlayer Sample in QtDesigner and compile it. But before compiling finishes the error comes up: “QTWinFormsExtra” could not be found… Can anyone tell me where to find...

View Article

QML Design, required C++ logic?

Is it possible to make all logic in QML or do I have restrictions against C++ code? I want to make a alarm buzzer for my Raspberry Pi – for this I need some logic in setting up an alarm (cron job), set...

View Article


Playing RTSP Video with QML over windows

Hello everyone! I am trying to play a RTSP stream in QML into a Video tag as following: Repeater {     model: 8       Video {    ...

View Article

QML Design, required C++ logic?

You might wrap you qml app into a shell script. Pipe the input of a crontab file to your app and pipe the output back to the crontab file and call crontab, e.g.: cat MyCrontab.txt | xargs...

View Article

TextEdit on ListView don't keep text after scrolling.

I have tried your code too. The rectangles where only for visual separation. After writing some text in all the TextEdit elements an playing a little with the scroll the content of many of them just...

View Article
Browsing all 4972 articles
Browse latest View live