[Solved]Get ListModel count outside of delegate...
Thanks for your quick response! I am impressed by the speed I can get help from this forum.
View ArticleMultiTouch ASSERT: "itemForTouchPointId.isEmpty()"
Hello, i have problems with Qt5.1.1 on an embedded linux device. When i use a MouseArea Element and i touch with multiple fingers on the display the programm aborts with the following message: ASSERT:...
View ArticleHow to make QQuickView scrollable?
Ok, thank you for answer. Meanwhile I decide to use QGraphicsScene and set QQuickView aside, in spite of advantages like QML 2.0. I set this thread not as solved, in case somebody else still searching...
View ArticleSocketcan in QTQuick
Does anyone has a sample or example of Socketcan in QTQuick without using qwt just a simple working one. I am trying to use it and develope a software for embedded linux system.
View ArticleSocketcan in QTQuick
socketcan is like a regular socket – you can use a QSocketNotifier and the usual IO classes offered by Qt, that can deal with a socket descriptor. But as you don’t want to use Qwt your question seems...
View ArticleComboBox is empty when loaded by asynchronous Loader
How do you release “cbPage” loaded by the loader before you load “cbPage” again by loader?
View ArticleGet 3D coordinate of mouse position from onClicked in QML
I created a 3D room by using Quad in QML. It looks like this, view from the top I would like to implement the “add furniture” function. When I click on the ground of the room, a table will appear at...
View Article[solved] Collision detect of items doesn't work or suported in Quick 2.0!
See https://bugreports.qt-project.org/browse/QTBUG-34712 It a bug in Item.contains() :-(
View ArticleHow to resize QQuickView?
Hi, I tried to set the size of a QQuickView window in a container widget, but it doesn’t resize. I would like to fill complete container widget with QQuickView window, like a foil over a ground. Also...
View Articlei have a question about rectangle, thanka!
in my program , when first run the program ,the rectangle read the listmodel’s data. i want to click the button in the rectangle to reste the data that rectangle readed. how to make it? for example:...
View Articlei have a question about rectangle, thanka!
Hi, Can you explain what do you mean by reset ? Do you want to default it to 0 ? Then just access the Rectangle using its id and set X and Y to 0.
View ArticleWebView has Weird question on Qt 5 (size problem)
My code was as simple as those: WebView { id:...
View ArticleDefine ListElement at an external file
hello I want define the ListElement in different file and use code like this: MyListModel.qml import QtQuick 2.0 ListModel { dynamicRoles: true ...
View ArticleChange implementation according to different platform
ex : Rectangle{ android{ width: 320 height: 240 } win32{ width: 640 height: 480 } } I remember I saw something like this before, but can’t find it now(what keyword?).
View ArticleWhat is the associate type of QList in qml?
class whatever: public QObject { Q_OBJECT public: explicit generalUnitConverter(QObject *parent = nullptr); ...
View Articleinitialize error of ComboBox : Cannot read property 'constructor' of undefined
When I try to initialize the model of ComboBox, weird error pop out import QtQuick 2.2 import QtQuick.Controls 1.1 Rectangle { width: 100 height:...
View ArticleHow to capture an QML child element to an png?
Hi, I see this method: [stackoverflow.com] but it doesn’t work. I substitue QDeclarativeItem by QQuickItem: void Capturer::save(QQuickItem *item) { QPixmap...
View ArticleHow to capture an QML child element to an png?
I also try this method. [qt-project.org] Don’t work. Item is null. I try with QML Rectangle and QML Image as imageObj.
View ArticleModule QtAudioEngine is not installed
Hello all! I have trouble situation with qml audio engine. When i import QtAudioEngine 1.0 and click Run i have this: module “QtAudioEngine” is not installed I tried find audioengine module in QtDir,...
View Article