how to create and access database
Hi, I woiuld suggest to read this model view tutorial [qt-project.org] it has many links to usefull information Have a close look at QFileSystemModel
View Article[solved] Find a quick item by name
Dear all, I’ve read that from C++ is possible to find a QuickItem by name http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html. But, is it possible to find an item by...
View ArticleGet all the children form an element, even the "outerly added children"
Maybe the Items added to the Button in you main.qml are not added to the button directly but to a new Item, I am not sure how QML works if you create objects from QML files but you might create a new...
View ArticleQML dropdown list with images
Hi guys :) I have a drop down list like this: In red area instead of text “en”, “sp”, fr” I would like to place flag icons and keep key values as it is (“en”, “sp”, fr”), but couldn’t find any useful...
View ArticleVariants in external QML file not initialized when on changed handlers called
This seems inconsistent behaviour, can someone please tell me why this breaks and how to get around it? Starting with a default qtquick 2 application I add the following to the top level Rectangle in...
View ArticleRSS Feed Display - not quite right!!
Hi All, Can anyone help me tidy the code below, basically it pulls an RSS feed from the BBC and displays it in a list view. However there are a few issues that I cannot get my head around… 1. The timer...
View ArticleAppling Color transformation in a QDeclarativeView
Hello, I am developping a application based on QDelarativeViews which are displaying QML. I am using QT 4.8.4 and QTQuick 1.1 2 years project already and switching to QT 5.xis not really an option. I...
View ArticleHow break pop window of StackView?
I want catch poping window of StackView and break it, by user, for example. Like this: import QtQuick 2.2 import QtQuick.Controls 1.1 as Controls Controls.Stack.onStatusChanged: {...
View ArticleBlocking behavior Quick qt 5.2.1: random crash on Image elements when caching...
pincopallapino – could you post your qml code – or a sample here ?
View ArticleHow make rectangle cut from Image by ShaderEffect?
There is some example how make cut from Image rectangle by ShaderEffect. I want rectangle hole in Image with opacity = 0. If possible show me worked example. Thanks
View ArticleResizing window issue
Hi all, I have added the below lines to remove the title bar of the application window. It works fine, but now the resizing of the window is not happening. Is there any other way i can access the...
View ArticleDisplaying the same QML Item multiple times
Hi, is it possible to multiple instances of the same object in QML? I would like to display it multiple times and when I interact with one instance, it updates all the other instances. Thanks for any...
View ArticleQML date and time manipulation
thanks i try something like this : function getDistance(time1) // time1 another date which i make by gettoday() { ...
View ArticleDisplaying the same QML Item multiple times
Hi, I don’t think you can display the “same” item multiple times, that doesn’t work in any GUI app as far as I know (i mean really the same item not a copy or identical looking). You can of course...
View ArticleRSS Feed Display - not quite right!!
Hi, is there a reason you came up with your own property and function for the current index? The ListView already has a property currentIndex and also a function incrementCurrentIndex(), maybe you...
View ArticleQML Screen incorrect properties at application start up
I need correct screen sizes at start but if i do this code: import QtQuick 2.0 import QtQuick.Window 2.0 Rectangle { MouseArea { ...
View Article