Re: [Interest] Qt Creator is so buggy and so slow...

2021-03-19 Thread Dmitry Volosnykh
I observe somewhat similar symptoms on macOS. Yet, I have no concrete info I can share to help debugging. On Fri, Mar 19, 2021 at 2:19 PM Roland Hughes wrote: > > On 3/19/21 6:00 AM, Alexander Dyagilev wrote: > > Often it just stops to suggest code, syntax highlighted stops working > > (at

Re: [Interest] [Development] [Releasing] download.qt.io is down

2021-01-22 Thread Dmitry Volosnykh
Tuukka, thank you and the team for bringing the service up and running as quickly as was possible. On Fri, Jan 22, 2021 at 5:31 PM Tuukka Turunen wrote: > Hi, > > > > Servers have been restored and open-source downloads are working again. > > > > Archive of old and historic releases is missing,

Re: [Interest] [Development] download.qt.io is down

2021-01-22 Thread Dmitry Volosnykh
Thanks for highlighting this, Giuseppe! The qt-downloader has caught up with the approach by introducing the --server option for this purpose. So that users of this tool can mitigate the risks of the outage. On Fri, Jan 22, 2021 at 2:36 PM Giuseppe

[Interest] download.qt.io is down

2021-01-18 Thread Dmitry Volosnykh
Hi all, The https://download.qt.io web site is unresponsive. Dmitry. ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] Screenshot QML Applications

2019-12-14 Thread Dmitry Volosnykh
Hi Matt, https://github.com/qmlbook/shorty might be of your interest. On Thu, Dec 12, 2019 at 5:19 AM Matt Wright wrote: > Hi, > > I'm running a QML app on an embedded Linux device running Debian. I have > seen some hits online about how to screenshot a Widgets app, but nothing > obvious on

Re: [Interest] How to build qt3d editor?

2017-01-17 Thread Dmitry Volosnykh
Hello, Larry. Would you be so kind to elaborate more on what you have tried so far and what result were achieved? Regards. On Tue, Jan 17, 2017 at 11:36 AM Larry <754833...@qq.com> wrote: > Is there anyone knows, please! > os: ubuntu 16.04 > >

Re: [Interest] How to change nested JSON object directly

2017-01-11 Thread Dmitry Volosnykh
This issue has been addressed here: QTBUG-25723 On Thu, Jan 12, 2017 at 2:14 AM jack ma wrote: > Hi, > I mean if we can don't copy a QJsonObject with toObject(), but like > something pointer, to change the nested value directly. > because my nested object may be to big,

Re: [Interest] Creating Q_GADGET from qml

2016-11-25 Thread Dmitry Volosnykh
Hello, Immanuel! I think you have missed this documentation page: http://doc.qt.io/qt-5/positioning-cpp-qml.html Quote: Using QGeoCoordinate as an example, the C++ types are directly exposed to the QML environment via its meta type: qRegisterMetaType(); QMetaType::registerEqualsComparator();

Re: [Interest] how to install qt enterprise using command line only?

2016-07-06 Thread Dmitry Volosnykh
Have you considered specifying option with a single leading dash? On Wed, Jul 6, 2016 at 2:45 PM Лагнер, Сергей wrote: > ~/Downloads$ ./qt-enterprise-linux-x64-android-5.6.1-1.run --platform > minimal > Unknown option: platform > > There is no such option in executable

Re: [Interest] Utilizing the GPU, how to start?

2016-07-06 Thread Dmitry Volosnykh
John, here you are: https://blog.qt.io/?s=vulkan=en On Wed, Jul 6, 2016 at 11:31 AM John C. Turnbull wrote: > Just out of interest, has anyone within the Qt community or company > considered Vulkan? > > It looks to me as though the future of low level graphics APIs is

Re: [Interest] Row, Column, Repeater, and ListView spacer delegate?

2016-06-29 Thread Dmitry Volosnykh
Unfortunately, spacer is not configurable in a straightforward manner at the moment. You have to implement some workaround. You may want to file a suggestion to add such functionality at bugreports.qt.io. On Wed, Jun 29, 2016 at 7:39 PM Jason H wrote: > It would be really cool if

Re: [Interest] Problem with Loader loaded items showing

2016-06-29 Thread Dmitry Volosnykh
Hi, Jason, you'd better provide complete example of your issue. Anyway, Loader is an Item itself. Have you positioned it accordingly? On Wed, Jun 29, 2016 at 6:44 PM Jason H wrote: > I had a working app with a menu that slides in. > I converted it to use a Loader to load the area

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Dmitry Volosnykh
source and just assumes it's a > correctly formatted output of rcc that at least contains some header with > size? In which case I certainly can use it, and it will solve my problems, > but then it seems unsafe to me. > > > 2016-06-17 12:45 GMT+03:00 Dmitry Volosnykh <dmitry.

Re: [Interest] QtCreator 3.6.1 on Linux

2016-06-08 Thread Dmitry Volosnykh
That's true for me as well running QtCreator 4.0.0 on Ubuntu 14.04. On Wed, Jun 8, 2016 at 9:54 AM Igor Mironchik wrote: > Hi, > > Do you guys have the same problem with QtCreator 3.6.1 on Linux as me: > > guess that you have opened in QtCreator some source files. When

Re: [Interest] Clean way to define and categorize constants in QML

2016-04-29 Thread Dmitry Volosnykh
Using such approach you have to write something like readonly property QtObject backgroundColor: QtObject { ... On Fri, Apr 29, 2016 at 2:04 PM Viktória Nemkin wrote: > Hello! > > What is a clean way to define and categorize constants in QML? > > I have came up with

Re: [Interest] [QtQuick] Interaction with user from C++

2016-04-26 Thread Dmitry Volosnykh
Jérôme, thank you for your input. Just for self education... Did you face some problems with such approach which you may want to share with us? Any UI performance issues since you may have blocked scene renderer? On Tue, Apr 26, 2016 at 3:39 PM Jérôme Godbout wrote: > We

Re: [Interest] [QtQuick] Interaction with user from C++

2016-04-26 Thread Dmitry Volosnykh
ndation book/documents to understand declarative programming? > > Thank you for your helps. > Sina > > 2016-04-26 13:07 GMT+03:00 Dmitry Volosnykh <dmitry.volosn...@gmail.com>: > >> > Well the problem is ... while using QFileDialog's and QMessageBox's >> static

Re: [Interest] [QtQuick] Interaction with user from C++

2016-04-26 Thread Dmitry Volosnykh
> FileDialog's open function would not return the file URL while QFileDialog::getSaveFileName would return it While FileDialog.open() does not return anythying, you still able to get file's URL via fileUrl property of FileDialog instance like follows: FileDialog { id: fileDialog onAccepted:

Re: [Interest] [QtQuick] Interaction with user from C++

2016-04-26 Thread Dmitry Volosnykh
Hi, Sina. You may try to wrap those C++-side static methods with intermediary class that is exposed to QML in a usual way. As far as I remember there should be some API for opening files as well as for message notifications. But that will require you to import QtQuick.Controls module. Please,

Re: [Interest] Diffusion of beta versions

2016-04-22 Thread Dmitry Volosnykh
+1 from me On Fri, Apr 22, 2016 at 3:51 PM Xavier Bigand wrote: > Is there a particular raison to not see beta version in the Qt Maintenance > Tool? > > I would prefer to be able to use the maintenance tool to download preview > versions. The last time I tried to

Re: [Interest] QAbstractItemModel::layoutAboutToBeChanged

2016-03-23 Thread Dmitry Volosnykh
Bill, for example, you may have sorted rows. In this case all items are still up to date, but they are rearranged visually. So, the view may do some optimisations upon rendering this case, since the only thing it needs is to reposition old items without the need to re-read theirs data. On Thu,

Re: [Interest] QML id property to string?

2016-03-10 Thread Dmitry Volosnykh
I feel the same need frequently, too. Without such feature I have to set objectName by copy-pasting and qouting id. This is quite annoying. On Thu, Mar 10, 2016 at 8:08 PM Jason H wrote: > A few times now, I've wanted to display the id as a string. Usually when > something goes

Re: [Interest] Dynamic translations for mobile apps at runtime?

2016-03-03 Thread Dmitry Volosnykh
You will have the same overhead whenever the text to translate changes. If it is static during the application life cycle then this should not be an issue either. On Thu, Mar 3, 2016 at 11:41 PM Jérôme Godbout wrote: > Nice, I didn't knew about "-tr-function-alias", indeed

Re: [Interest] C++ / QML headaches

2016-02-11 Thread Dmitry Volosnykh
Willem, try removing Q_INVOKABLE before VendorModel() method. Withouth this moc-related "keyword" VendorModel() method will remain "visible" to moc since it is declared as a READ-accessor inside corresponding Q_PROPERTY macro. On Fri, Feb 12, 2016 at 9:29 AM Willem Ferguson <

Re: [Interest] QtArg version 2.0.0

2016-01-26 Thread Dmitry Volosnykh
Igor, as far as I can see form documentation QCommandLineParser is able to support commands too. For example, see http://doc.qt.io/qt-5/qcommandlineparser.html#clearPositionalArguments. How does you library compare to just mentioned functionality? If it does something more and/or better, have you

Re: [Interest] QtArg version 2.0.0

2016-01-26 Thread Dmitry Volosnykh
te: > Hi, > > > On 26.01.2016 15:21, Dmitry Volosnykh wrote: > > Igor, as far as I can see form documentation QCommandLineParser is able to > support commands too. For example, see > http://doc.qt.io/qt-5/qcommandlineparser.html#clearPositionalArguments. > How does you library com

Re: [Interest] Qt component repositories

2016-01-26 Thread Dmitry Volosnykh
Igor, inqlude should provide mentioned functionality, too. See http://inqlude.org/get.html On Tue, Jan 26, 2016 at 4:01 PM Igor Mironchik wrote: > > > On 26.01.2016 15:24, André Somers wrote: > > > > Op 26/01/2016 om 13:00 schreef Ben Lau: > > > > Moreover, will you

[Interest] Online installer issue

2016-01-14 Thread Dmitry Volosnykh
After skipping login page installer fails with network error (see screenshot in attach[image: Screenshot from 2016-01-14 10:57:55.png]ments). ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QQuickTextNode not reachable from QQuickItem

2016-01-14 Thread Dmitry Volosnykh
Hi, Mark. I guess you should implement it without using QQuickTextNode directly. Instead, you could try to put text in a usual way on top of your custom item. Is there anything that prevents you from achieving your goal this way? Regards, Dmitry. On Thu, Jan 14, 2016 at 11:32 PM mark diener

Re: [Interest] Calling C++ from QML (without objects)

2015-11-05 Thread Dmitry Volosnykh
I think, you have only option to wrap it with QObject that you expose to QML. On Thu, Nov 5, 2015 at 9:17 PM, Jason H wrote: > I want to provide a wrapper around QMessageAuthenticationCode::hash() > > But I think I need an object for it. Can I just expose it as a function > some

Re: [Interest] Can QML model specify a range including negative numbers? For example -180 to +180 ?

2015-11-04 Thread Dmitry Volosnykh
You'd better provide your implementation of TumblerColumn component. Despite that fact, and assuming you somehow manage to know what value was chosen, I'd suggest (as a quick attempt) to set model: 361, and the shift values by -181. On Wed, Nov 4, 2015 at 5:53 PM, Edward Sutton

Re: [Interest] Linguist does not show several input field for strings with plural numbers

2015-10-26 Thread Dmitry Volosnykh
tried Linguist 5.6.0 built with Qt from the repo. Most probably, not the latest revision. On Mon, Oct 26, 2015 at 12:14 PM, Dmitry Volosnykh < dmitry.volosn...@gmail.com> wrote: > I have several strings defined in .qml file and marked with QT_TR_NOOP. > The placeholder I use is %n like

Re: [Interest] Linguist does not show several input field for strings with plural numbers

2015-10-26 Thread Dmitry Volosnykh
Well, as far as I can see the problem is on the lupdate side. It just does not add numerus="yes" attribute. Thus, Linguist does not interpret this message as the one with plural form. On Mon, Oct 26, 2015 at 1:32 PM, Dmitry Volosnykh < dmitry.volosn...@gmail.com> wrote: > I fa

[Interest] Linguist does not show several input field for strings with plural numbers

2015-10-26 Thread Dmitry Volosnykh
I have several strings defined in .qml file and marked with QT_TR_NOOP. The placeholder I use is %n like the docs suggest. After running lupdate tool on the project file I open generated .ts files in Linguist which does not recognize them as ones which should be translated according to translation

[Interest] How to use PathView's itemAt() function?

2015-08-31 Thread Dmitry Volosnykh
Docs say that I should pass x and y in content coordinates, but unlike ListView, the PathView does not inherit from Flickable, so it does not have any contentItem property. Using x and y in PathView's coordinate system I get null. Regards, Dmitry. ___

Re: [Interest] QML ListView: automatically change width

2015-08-16 Thread Dmitry Volosnykh
Another way might be using childrenRect.width property. On Sun, Aug 16, 2015 at 6:22 PM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi, On 16.08.2015 17:27, Dmitry Volosnykh wrote: Did you try to bind height to contentHeight? Nice idea. It works but I receive next warning: QML

Re: [Interest] QML ListView: automatically change width

2015-08-16 Thread Dmitry Volosnykh
Did you try to bind height to contentHeight? On Sun, Aug 16, 2015 at 5:23 PM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi guys, How can I automatically change width of the QML ListView to fit all content? -- Best Regards, Igor Mironchik.

Re: [Interest] QML: How to set verticalCenterOffset...

2015-08-16 Thread Dmitry Volosnykh
You'd better provide your example so that we could run it with qmlscene. On Sun, Aug 16, 2015 at 9:08 PM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi, I'm trying to center ListView in a Rectangle. I do: anchors.centerIn: parent But it moves ListView under the real center, so I

Re: [Interest] QML: How to set verticalCenterOffset...

2015-08-16 Thread Dmitry Volosnykh
Since you want all list's items to be visible, I'd suggest you to use Row + Repeater combination, unless you want to exploit ListView's animation facilities. On Sun, Aug 16, 2015 at 10:06 PM, Dmitry Volosnykh dmitry.volosn...@gmail.com wrote: Your issue is the result of the fact that ListView

Re: [Interest] QML: How to set verticalCenterOffset...

2015-08-16 Thread Dmitry Volosnykh
... On 16.08.2015 21:40, Dmitry Volosnykh wrote: You'd better provide your example so that we could run it with qmlscene. On Sun, Aug 16, 2015 at 9:08 PM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi, I'm trying to center ListView in a Rectangle. I do: anchors.centerIn: parent But it moves

Re: [Interest] PropertyAction doesn't work with anchors

2015-08-05 Thread Dmitry Volosnykh
What if you specify a single property: anchors and set it to object value: { bottom: 100; top: 100 } PS. Just a suggestion. Have not done something similar by myself. On Wed, Aug 5, 2015 at 2:33 AM, Ruslan Moukhlynin rus...@khvmntk.ru wrote: Suppose we have following code: Rectangle {

Re: [Interest] Qt mobile apps v native

2015-07-10 Thread Dmitry Volosnykh
John, if there are good examples of mobile applications, I believe they should be listed here: http://showroom.qt.io On Sat, Jul 11, 2015 at 5:21 AM, John C. Turnbull ozem...@ozemail.com.au wrote: Amongst all the debate around the Indie license, some mention was made of Qt Mobile not quite

Re: [Interest] Is moc obsolete?

2015-07-08 Thread Dmitry Volosnykh
Igor, there was quite a hot discussion of this project in development mailing list. Follow here: http://lists.qt-project.org/pipermail/development/2015-June/022164.html On Wed, Jul 8, 2015 at 9:57 AM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi, Does anybody know if Qt plans to remove

Re: [Interest] QML ListView/Model currentIndexChanges not firing for synamic models

2015-06-29 Thread Dmitry Volosnykh
, 2015 at 1:16 PM *From:* Dmitry Volosnykh dmitry.volosn...@gmail.com *To:* Jason H jh...@gmx.com *Cc:* interest@qt-project.org interest@qt-project.org *Subject:* Re: [Interest] QML ListView/Model currentIndexChanges not firing for synamic models Could you provide complete example? On Mon, Jun

Re: [Interest] QML Inspector?

2015-06-25 Thread Dmitry Volosnykh
There is also QSG_VISUALIZE={batches,clip,overdraw} More on that here: http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph-renderer.html On Thu, Jun 25, 2015 at 10:58 PM, Jason H jh...@gmx.com wrote: This.is.awesome! Thanks Giuseppe! Sent: Thursday, June 25, 2015 at 3:36 PM From:

[Interest] QML engine. Is CppOwnership allowed for singletons?

2015-06-17 Thread Dmitry Volosnykh
Documentation states that A QObject singleton type instance returned from a singleton type provider is owned by the QML engine. For this reason, the singleton type provider function should not be implemented as a singleton factory. I need to use that same singleton object on the C++ side beside

Re: [Interest] Memory leak

2015-06-12 Thread Dmitry Volosnykh
In your case the 'temp' object will be deleted upon quitting function foo(), so the signalTriggered() is never emitted. In previous version, it would have been living longer because of memory leak you mentioned. On Fri, Jun 12, 2015 at 4:52 PM, Berkay Elbir berkayel...@gmail.com wrote: Hello

Re: [Interest] Any good (e)books yet on QML?

2015-06-04 Thread Dmitry Volosnykh
http://qmlbook.github.io/ On Thu, Jun 4, 2015 at 8:48 PM, Bob Hood bho...@comcast.net wrote: I've been checking occasionally, and I've yet to see anything being published on learning QML. Does anybody know of one, or if one is in the works? ___

Re: [Interest] SingletonType functions not visible in QML

2015-05-22 Thread Dmitry Volosnykh
Also try naming your functions with first letter lowercased. On Fri, May 22, 2015 at 5:06 PM, Ben Lau xben...@gmail.com wrote: On 22 May 2015 at 21:56, mark diener rpzrpz...@gmail.com wrote: Hello: I have a test qmlRegisterSingletonType project as listed below. The singleton Q_INVOKABLE

Re: [Interest] SingletonType functions not visible in QML

2015-05-22 Thread Dmitry Volosnykh
Samuel, what you ask is explained here: http://doc.qt.io/qt-5/qqmlengine.html#qmlRegisterSingletonType-2 citation: NOTE: A QObject singleton type instance returned from a singleton type provider is owned by the QML engine. For this reason, the singleton type provider function should not be

Re: [Interest] SingletonType functions not visible in QML

2015-05-22 Thread Dmitry Volosnykh
, but I am usually mistaken. But I guess the static allocation will remove all doubt? Ben Lau - Thank you Dmitry Volosnykh - Thank you Mark On 5/22/2015 8:35 AM, Samuel Stirtzel wrote: 2015-05-22 16:30 GMT+02:00 Dmitry Volosnykh dmitry.volosn...@gmail.com : Samuel, what you ask

Re: [Interest] qsort() Obsolete?

2015-04-17 Thread Dmitry Volosnykh
As far as I know, a plenty of methods from QtAlgorithms are marked as obsolete since Qt 5.2. Regarding qSort() you may refer to official documentation: http://doc.qt.io/qt-5/qtalgorithms-obsolete.html#qSort. Also, you may read more about this here:

[Interest] How to force Transition's animations to complete?

2015-04-09 Thread Dmitry Volosnykh
There is Animation.complete() method which is intended to get final property values. What is a proper way to do the same with Transition? I've tried to loop through Transition.animations list property and to reference its single animation directly by id, then called complete() method. But did not

Re: [Interest] Expected Release Date - Qt 5.4.1

2015-02-17 Thread Dmitry Volosnykh
You may see it here: http://qt-project.org/wiki/Qt-5.4-release On Tue, Feb 17, 2015 at 4:17 PM, Stefan Walter stefan.wal...@lisec.com wrote: Hi, I would like to upgrade to Qt 5.4, but I am thinking to wait as it seems that 5.4.1 is around the corner. Can someone give me an expected

Re: [Interest] Building the latest Qt 5.X

2015-01-22 Thread Dmitry Volosnykh
Scott, here is an article on how to build Qt 5: http://qt-project.org/wiki/Building_Qt_5_from_Git PS. It is strange that you have not found it by yourself since it is the first result given by Google on query 'build qt5 from git'. Regards, Dmitry. On Fri, Jan 23, 2015 at 7:15 AM, Scott Aron

Re: [Interest] Building the latest Qt 5.X

2015-01-22 Thread Dmitry Volosnykh
from git J Since we deploy this on multiple developers boxes, we tent to automate the build process, so a prepacked download file (tgz/zip) works best Scott *From:* Dmitry Volosnykh [mailto:dmitry.volosn...@gmail.com] *Sent:* Thursday, January 22, 2015 9:21 PM *To:* Scott Aron Bloom *Cc

[Interest] Column's subitem doesn't show up again once being hidden

2015-01-20 Thread Dmitry Volosnykh
Hello, I have a movie description which provides a number of text properties like actors, producer, etc. plus a poster. In a short description of movie I'd like to show only that number of properties (with text limited to a small number of lines) which fit in the vertical area with the height as

[Interest] Text elide with custom layout

2015-01-19 Thread Dmitry Volosnykh
Hello, everyone! What I am trying to achieve is making a some kind of details widget which contains an image located at the top right corner and remaining area is used to display a list of properties, i.e. grid with left column containing name of the property and the right one contains its value.

Re: [Interest] XYZ is instantiated recursively

2015-01-15 Thread Dmitry Volosnykh
property alias parameters: parameters.model property alias devices: devices.model ListView { id: parameters } Device { id: devices } } Qml output: Device is istantiated recursively Regards, Nuno On 15 Jan 2015, at 10:00, Dmitry Volosnykh dmitry.volosn...@gmail.com wrote: Nuno

Re: [Interest] XYZ is instantiated recursively

2015-01-15 Thread Dmitry Volosnykh
: modelData.devices } // Device.qml Rectangle { id: root property alias parameters: parameters.model property alias devices: devices.model ListView { id: parameters } Device { id: devices } } Qml output: Device is istantiated recursively Regards, Nuno On 15 Jan 2015, at 10:00, Dmitry

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
Keith, thank you for your suggestion. At least I've missed this feature in several places: The value of the QML property will be updated after the animation has finished. The property is not updated while the animation is running. Alas, it did not solve my issue. Honestly speaking, I did not

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
: On Tuesday 13 January 2015 23:06:40 Dmitry Volosnykh wrote: Sean, thanks for your input. I have NVidia GeForce 9800M GTX, and VSync is enabled. Double-checked that. Another enabled options: Allow Flipping and Use Conformant Texture Clamping. Do not know what

Re: [Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
axis y axis) HDMI-0 disconnected (normal left inverted right x axis y axis) I guess, it means runs on 60Hz refresh rate. On Tue, Jan 13, 2015 at 9:35 PM, Sean Harmer sean.har...@kdab.com wrote: On Tuesday 13 January 2015 17:02:40 Dmitry Volosnykh wrote: I've tried to capture the issue: see

[Interest] QML animation flickering on Ubuntu

2015-01-13 Thread Dmitry Volosnykh
I've tried to capture the issue: see http://youtu.be/KUNyk2YWBaY The flickering is more obvious in this video since capturing software affecting performance. When running application with no video recording there's no visual artifacts for about 15 seconds. Then the top of the green bar visually

Re: [Interest] QML: onLoaded signal for QQuickWindow or QQmlApplicationEngine

2015-01-12 Thread Dmitry Volosnykh
Then you may try to expose some C++ class which has some slot (See Integrating QML and C++ http://doc.qt.io/qt-5/qtqml-cppintegration-topic.html). This slot can be called from Component.onCompleted. On Mon, Jan 12, 2015 at 9:32 AM, Dmitry Volosnykh dmitry.volosn...@gmail.com wrote: Try to do

Re: [Interest] QML ScrollView, programmatic scroll?

2015-01-12 Thread Dmitry Volosnykh
Did you try flickable.contentY = 0? On Mon, Jan 12, 2015 at 5:06 PM, Harri Pasanen ha...@mpaja.com wrote: Hi, Is the a way to set the ScrollView scroll amount? Actually, for me going to beginning would suffice at this point. I have something like below ScrollView { id:

Re: [Interest] QML: onLoaded signal for QQuickWindow or QQmlApplicationEngine

2015-01-11 Thread Dmitry Volosnykh
Try to do that inside Component.onCompleted handler. Note that, however, if you use images located remotely, then you should wait them to be loaded. On Jan 12, 2015 9:17 AM, ruslan rus...@khvmntk.ru wrote: Hello all! Is there any way to know when QML data was loaded into engine? In my QML

Re: [Interest] Connecting output of an external process to a QML component

2014-12-31 Thread Dmitry Volosnykh
Daniel, as per recognition of signal on the QML side, try making the first letter non-capitalized, i.e. call it executionFinished instead of ExecutionFinished. I guess that should help. If you don't see qDebug's output inside the readyToRead() slot, then it should be your first point of

Re: [Interest] QtQuick 2 performance issue

2014-12-28 Thread Dmitry Volosnykh
I do not experience the same issue on Mac OS X 10.10. PS. Sorry for bumping this up. Is this question out of scope of mailing list? On Fri, Dec 26, 2014 at 2:27 PM, Dmitry Volosnykh dmitry.volosn...@gmail.com wrote: Here is example application: import QtQuick 2.0 PathView { width

Re: [Interest] QML: Use singleton types instead of pragma library scripts

2014-12-26 Thread Dmitry Volosnykh
Dmitry, you can read more on that in this wiki article: http://qt-project.org/wiki/QmlStyling Primarily, you are interested in section Nesting QtObjects, but reading the whole article would be useful too. In our application, we found it more convenient to do that in slightly different manner. We

[Interest] QtQuick 2 performance issue

2014-12-26 Thread Dmitry Volosnykh
Hi, I've composed a simple example with a set of squares constantly looping from left to right. Unfortunately, the do not run smoothly. Jiggling at start might seem reasonable due to QML engine performing some kind of initialization (do not know its internals). However, after a while when

Re: [Interest] QtQuick 2 performance issue

2014-12-26 Thread Dmitry Volosnykh
PathLine { x: width + 150 relativeY: 0 } } NumberAnimation on offset { from: 0 to: count loops: Animation.Infinite duration: 4000 Component.onCompleted: start() } } On Fri, Dec 26, 2014 at 2:19 PM, Dmitry

[Interest] Behavior on parent with ParentAnimation

2014-12-24 Thread Dmitry Volosnykh
Documentation mentions only usage with states, transitions and ParentChange. Is it possible to use ParentAnimation inside Behavior or even as a standalone animation that is launched manually? Here's modified example from ParentAnimation's web page: import QtQuick 2.0 Item { objectName: root

Re: [Interest] New connection syntax

2014-12-15 Thread Dmitry Volosnykh
Igor, have you read New Signal Slot Syntax in Qt 5 article ( http://qt-project.org/wiki/New_Signal_Slot_Syntax)? It might shed light on some of your questions. On Tue, Dec 16, 2014 at 10:49 AM, Igor Mironchik igor.mironc...@gmail.com wrote: Hi guys, Qt has cool new syntax now. But some things