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

Retrieving a large list of objects from C++ for Qt3D Quick display

By “let it move back to it’s position.” i mean that your icon should move back to it’s position in the list of icons and not disappear. Well you probably will need a MouseArea for each Icon, but you...

View Article



QML Gesture Plugin

I’ve got the qml gesture module in my \mingw48_32\imports\Qt\labs\gestures\ folder named “qmlgesturesplugin.dll” and “qmlgesturesplugind.dll” but it looks like my compiler can’t find it. The output of...

View Article

[SOLVED] Opening QML file from C++

Alright. Please add [solved] at the beginning of your threadtitle.

View Article

[SOLVED]QtQuick function if else condition issue

Thanks all.The code work as suggested.This topic is solved

View Article

QQuickWindow grabbing, animation issue

QML is not made for that how can you be sure? :)

View Article


Keep GridView element in front of others during animation

Hello, I’m trying to understand how to maintain an element of a GridView on top of others during a ParentAnimation. I think it’s best explained with this snippet, which I beg you to try out: import...

View Article

Qml file not getting found after adding to a resource file

Hi, I have got the following project : http://www.datafilehost.com/d/3e0d49d0 The main.cpp file in it reads as follows : #include <QGuiApplication> #include <QQuickView> int...

View Article

Qml file not getting found after adding to a resource file

By the way does qtquick2applicationviewer – the QQuickView dreived class, provide any benefits at all when writing mixed qml + c++ applications ? No. I am amazed this thing is still in use. It was...

View Article


Test if "elide" is invoked on current item of ListView

Hi, I would like to check if the currentItem of my ListView is getting “elided” so that I can perform a particular action. How can I check? I have tried checking the elided property and the clip...

View Article


Window and Controls - prevent multiple child windows

So I’ve got the following in a MenuBar:             MenuItem {              ...

View Article

Incomprehensible background qml ApplicationWindow

This screenshot comlitely illustrated my problem: Why such a gradient background? Qt 5.2.1 -Debug MSVC 2012 ×32 – Windows 7 ×64 Code: import QtQuick 2.0 import QtQuick.Controls 1.1 import...

View Article

Promoting widget to QGLWidget

Hi. I’m creating a simple gui project dropping a widdget(of type QWidget) into form.ui and then I want to promote it to QGLWidget. For some reason this class is not listed in the base class name list....

View Article

drawing problem

hello, I wrote a very simple code by QML and run it on Windows. In this code, I load slot1.qml in unit.qml by four times. But I found the third one does not draw well. Please see the below URL, where I...

View Article


How do I scroll a ListView when an image is clicked

I have a got a ListView with some images in it. Its horizontal like in the FlickrView example. I have got an arrow at the left side which when clicked should make the list scroll right I tried...

View Article

Incomprehensible background qml ApplicationWindow

can’t locate problem but that code is fine ApplicationWindow{     id: mainWindow     width:640     height: 480     visible: true...

View Article


Best option for 3D Viewer in Qt 5.0

I am writing an application that will let users pick stuff from a scrollable list of objects(represented as icons in the list). Then drop them to a 3D Viewer. Then the user clicks ‘Play’ and these...

View Article

QQuickWindow grabbing, animation issue

QML is not made for that how can you be sure? :) QML (Qt Meta Language or Qt Modeling Language2) is a JavaScript-based, declarative language for designing user interface–centric applications. And so it...

View Article


JSON.parse reports error, even despite proper parsing

Turns out this was because I was using an XMLHttpRequest for the parse data, and should have checked that the XMLHttpRequest was in a finished state before attempting to parse; eventually, it would...

View Article

AnimatedSprite: reverse property

I’m quite new to QML and QtQuick and played around with AnimatedSprite and Animations in general. The following code shows a human walking foward, then he stops and walks backwards. import QtQuick 2.0...

View Article

[Solved] ObjectModel is not a type

You’re welcome. Feel free to ask if you have got more questions.

View Article
Browsing all 4972 articles
Browse latest View live




Latest Images