Re: [Interest] Replacing QScript with QML

2017-02-15 Thread Ian Geiser
On Wed, 15 Feb 2017 13:55:33 -0500 Jérôme Godbout wrote > You could create a singelton Factory that will create the objects into > javascripts and wrap the whole creation into a simple functions, you can > also make a map from object name to the actual Qml Component. Just make

Re: [Interest] Replacing QScript with QML

2017-02-15 Thread Ian Geiser
On Tue, 14 Feb 2017 11:06:36 -0500 Jason H wrote > > > > Sent: Tuesday, February 14, 2017 at 10:14 AM > > From: "Ian Geiser" > > To: Interest@qt-project.org > > Subject: [Interest] Replacing QScript with QML > > > &g

[Interest] Replacing QScript with QML

2017-02-14 Thread Ian Geiser
Greetings, I am ported a non-gui Qt4 QScript apt to Qt5 and would like to replace the QScript component with QML. I am struggling with quite a few rudimentary things though. My biggest problem is custom Javascript types: I made everything a QObject based class, but allocating these objects

[Interest] boot2qt for production

2016-12-12 Thread Ian Geiser
Greetings, is there documentation on how to extend boot2qt for a production appliance? I see lots of good docs on Yocto and Qt for development, but nothing really on the hard stuff like factory image deployment, updating and injecting custom binaries. Is this something that it is an exercise t

[Interest] QQuickPaintedItem vs QML Canvas

2016-11-29 Thread Ian Geiser
I have a 2D bullet graph done in QWidgets, but I would like to use it in QML. I am wondering if it is better to do the component as a QQuickPaintedItem or to just do it in the QML canvas API. Are there any key differences in performance between the two?

[Interest] Problem with Qt Charts in 5.7

2016-11-07 Thread Ian Geiser
Greetings, I am trying to emulate a sparkline with Qt Charts but for some reason I cannot get the width of the chart to extend to both the right and left margins. Even when I set them to "0". Top and Bottom margins seem to have an impact on the height of the chart though. It almost looks as

Re: [Interest] New QML component

2016-10-17 Thread Ian Geiser
On Mon, 17 Oct 2016 13:12:48 -0400 Ben Lau wrote > $ qpm list | wc -l > > 40 > Now it has 40 packages available in qpm. > https://www.qpm.io/packages.html I will have to take a serious look at it then. > Another choice is : https://inqlude.org I never knew about

Re: [Interest] New QML component

2016-10-17 Thread Ian Geiser
/www.qpm.io/packages.html > > > > Another choice is : https://inqlude.org > > > > On 18 October 2016 at 00:35, Ian Geiser wrote: > >> Hey all, I just wanted to see where people post new Qt components so > >> others can find them and know abou

Re: [Interest] New QML component

2016-10-17 Thread Ian Geiser
On Mon, 17 Oct 2016 14:15:04 -0400 André Somers wrote > > > Op 17/10/2016 om 18:35 schreef Ian Geiser: > > Hey all, I just wanted to see where people post new Qt components so > > others can find them and know about them. I have read about qpm, bu

Re: [Interest] New QML component

2016-10-17 Thread Ian Geiser
On Mon, 17 Oct 2016 12:37:50 -0400 Vlad Stelmahovsky wrote > hmm. QtQuickControls 2 ? It's not really a control. It's a non-GUI component for interfacing with an IoT device. ___ Interest mailing list Interest@qt-project.org http://list

[Interest] New QML component

2016-10-17 Thread Ian Geiser
Hey all, I just wanted to see where people post new Qt components so others can find them and know about them. I have read about qpm, but I am not sure how popular that is yet. There used to be freshmeat.net, but that is now dead it seems. Any suggestions? Thanks! _

Re: [Interest] Replacement for Qt Script

2016-04-21 Thread Ian Geiser
On Thu, 21 Apr 2016 05:21:43 -0400 Ben Lau wrote > > > On 18 April 2016 at 23:38, Ian Geiser wrote: >   On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote >  > > ttps://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Ian Geiser
On Mon, 18 Apr 2016 11:06:59 -0400 Jason H wrote > ttps://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 > > > > I saw this thread, but it did not seem to offer a clear detail other than > > to use QJSEngine and QJSValue directly. Specifically I use

Re: [Interest] Replacement for Qt Script

2016-04-18 Thread Ian Geiser
On Mon, 18 Apr 2016 09:40:12 -0400 Scott Aron Bloom wrote > The forum had a great thread on this > > https://forum.qt.io/topic/52306/qt-5-5-qt-script-deprecated-what-is-replacement/12 I saw this thread, but it did not seem to offer a clear detail other than to use QJSEngine a

[Interest] Replacement for Qt Script

2016-04-18 Thread Ian Geiser
Greetings, I have used QtScript in a non-gui application before to write plugins for the application. This was really slick and worked well. I am working on a new application and wish again to use QtScript in a non-gui context. I am given the impression QtScript is deprecated and it is to be