[Interest] create delegate modelData

2016-07-14 Thread Kevin Mcintyre
Below is psuedo code...am I doing something wrong - or is modelData reserved? //This works. -- ~repeater.qml Item { Repeater { model: [ ["example"], ] delegate: Qt.createComponent("maybe_delegate.qml") } } -- maybe_delegate.qml Item { objectName:

Re: [Interest] [QDoc] Link to to Derived Project

2016-07-14 Thread Konstantin Podsvirov
14.07.2016, 21:41, "Konstantin Podsvirov" : > Hello QDoc experts! > > I develop osgQtQuick project: > http://github.com/podsvirov/osgqtquick > > I split documentation to several projects for each module/library. > > All will be good with Qt 5.3 qdoc executable, but with

[Interest] [QDoc] Link to to Derived Project

2016-07-14 Thread Konstantin Podsvirov
Hello QDoc experts! I develop osgQtQuick project: http://github.com/podsvirov/osgqtquick I split documentation to several projects for each module/library. All will be good with Qt 5.3 qdoc executable, but with Qt 5.4+ (5.5, 5.6) it's don't work... All documentation configuration files in

Re: [Interest] [QML] Qt.formatDateTime() and AM/PM

2016-07-14 Thread Kristoffersen, Even (NO14)
Elvis: Tack Rainer: Danke Maybe the format function uses the system locale instead of default QLocale, that would explain it. -Even From: Interest [mailto:interest-bounces+even.kristoffersen=honeywell@qt-project.org] On Behalf Of Rainer Wiesenfarth Sent: 14. juli 2016 15:12 To:

Re: [Interest] [QML] Qt.formatDateTime() and AM/PM

2016-07-14 Thread Rainer Wiesenfarth
2016-07-14 14:31 GMT+02:00 Elvis Stansvik : > estan@newton:~$ cat test.qml > import QtQuick 2.0 > > Item { > Component.onCompleted: console.info(Qt.formatDateTime(new Date(), > "hh:mm:ss AP")); > } > estan@newton:~$ > ​I am able to reproduce the problem with 5.6.0 on

[Interest] Building Qt/Android on Windows

2016-07-14 Thread Oleg Evseev
Hi, Trying to build Qt/Android 5.7 on Windows 7 SP1 x64 using this instruction https://wiki.qt.io/Building_qt-android_on_windows Set environment variables: set "ANDROID_API_VERSION=android-23" set "ANDROID_SDK_ROOT="d:\Android\sdk"" set "ANDROID_TARGET_ARCH=armeabi-v7a" set

Re: [Interest] [QML] Qt.formatDateTime() and AM/PM

2016-07-14 Thread Elvis Stansvik
2016-07-14 11:13 GMT+02:00 Kristoffersen, Even (NO14) : > Hello, > > I'm having some issue with trying to display a 12 hour clock with am/pm > suffix. > > Documentation (http://doc.qt.io/qt-5/qml-qtqml-qt.html#formatDateTime-method) > says: > "AP use AM/PM

[Interest] QMidSubWindow in dark fusion style

2016-07-14 Thread Günter Michel
I try to use a dark theme in fusion style which uses QMdiSubwindow. In the attached screenshot you see a blurry title text and a white line on the left Window side. I'm using Win10 with Qt5.6.0. Do you have suggestions for improvement? Thanks in advance -- MES Industrieautomation GmbH

[Interest] [QML] Qt.formatDateTime() and AM/PM

2016-07-14 Thread Kristoffersen, Even (NO14)
Hello, I'm having some issue with trying to display a 12 hour clock with am/pm suffix. Documentation (http://doc.qt.io/qt-5/qml-qtqml-qt.html#formatDateTime-method) says: "AP use AM/PM display. AP will be replaced by either "AM" or "PM"." However neither of the following work as described

[Interest] Managing memory with QObject*-models exposed to QML

2016-07-14 Thread Ola Røer Thorsen
I've found that creating C++ models containing a list of QObject* based on QAbstractListModels and using them in Quick views such as ListView is very useful. I'm not the only one, there are several implementations of "QObjectListModel" around, and I've got my own as well. On quite rare ocations I