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

Refresh blur effect

If you are using things like FastBlur and friends, they can be controlled simply by using NumberAnimation, so you have full control over when the animation should run. It’s hard to be more specific...

View Article


Input video data from C++ to QML Video Player

I am looking for a best way to implement a video player application in QML. Almost all QML examples are reading files from filesystem or web: MediaPlayer {     id: mediaplayer...

View Article


Input video data from C++ to QML Video Player

How about passing the data from C++ to QML using the QmlEngine rootcontext(). You can look at here [qt-project.org] I have not tried with MediaPlayer class. C++ and QML interaction is very much feasible.

View Article

Qml Canvas in SplitView: on resizing the canvas the context disappear

Dear friends, i hope somebody can help me. I use a canvas in a splitview. the canvas item has minWidth , so that i can shrink it to minimum width. But here came an error. Than i resize (use the...

View Article

OpenGL/Qt Quick Scene Graph and mouse interaction

It’s me again. it was a mistake from my side to use mouseMoveEvent method. I had to use void QQuickItem::hoverMoveEvent(QHoverEvent * event)

View Article


QtQuick Action in C++ (or at least a separate .qml file)

When I deploy my app, I want the users to be able to customise the GUI, but not change/break the functionality. Is it possible to create QtQuick Action objects in C++? I’ve tried using QAction, but...

View Article

Sorting in pure qml.

Hello, I have a TableView showing a ListModel. A few string and number columns are shown. The member “sortIndicatorVisible” is set to true. Now there are sort Indicators visible, but clicking them has...

View Article

XMLHttpRequest() not working properly with XmlListModel

I am using XMLHttpRequest() to get xml data from a webpage and use it in a XmlListModel. The problem that I got seems to be that XmlListModel only gets a small portion of the data as .responseText...

View Article


Problems laying out a splitter application

I’ve been pulling my hair out trying to get the layout of my qml application correct. My app has 2 splitters – a vertical splitter that splits the window into a top and bottom half, and a horizontal...

View Article


How to create the iPhone Contacts header scroll Effect In QML

I would like to create scroll effect list like in iphone contact list (freeze header) from 4 different list view. How can i do this ?

View Article

QtQuick Action in C++ (or at least a separate .qml file)

2nd option is definitely possible. Define actions in different file with Ids. Use this ids to associate. First option is doubtful.

View Article

QtQuick Action in C++ (or at least a separate .qml file)

How do I define more than one action in a single file? There can only be one root object? What can i use for a container?

View Article

How to manipulate with Canvas image in C++ code?

Hello! I have used Qt 4.8.4 and have had C++ component which have been derived from QDeclarativeItem with my method “void paint(QPainter *p, const QStyleOptionGraphicsItem *s, QWidget *w);” I moved my...

View Article


QQuickPaintedItem

Hello all !!! I have a qml file on which I want to display the spectrum and the input for the player comes from qml. I am trying to re-implement spectrum analyzer example (<Qt...

View Article

QQuickPaintedItem

Hi, paint() needs to called when ever your data changes unlike paintevent(). Use a QTimer to update it and make sure the data is changing or else it will just paint the same thing.

View Article


How to manipulate with Canvas image in C++ code?

http://qt-project.org/doc/qt-5/qml-qtquick-canvas.html#save-method bool save(string filename) Save the current canvas content into an image file filename. The saved image format is automatically...

View Article

Qml Canvas in SplitView: on resizing the canvas the context disappear

I did it. Following Code solve my problem: Canvas{ ... onWidthChanged: { var ctx = getContext('2d'); ctx.reset(); [draw some stuff] } } Bux52

View Article


Qml Buttons and onClicked

Right now I have Qml code sending a signal to my c++ code that sends a true or false. When the button is clicked it sends a signal containing true. This is working how I want it to but I would like to...

View Article

Qml Buttons and onClicked

You can use the signal handler onPressedChanged

View Article

Refresh blur effect

Try like this… Image {   id: myImage   property bool effectEnabled: true     id: backgroundImage   anchors.fill: parent   source:...

View Article
Browsing all 4972 articles
Browse latest View live