[Interest] Qt Remote Objects QOBJECT_REPLICA Macro

2017-06-15 Thread Andrew Ialacci
Hello, I am trying to have the repc compiler automatically generate a repc file from an existing QObject. According to the documentation below this should be possible using the QOBJECT_REPLICA macro. However, there is no information on how to use it or where to put it in a project. QtRO Docs

[Interest] TableView in Qt Quick Controls 2

2017-06-25 Thread Andrew Ialacci
Hello, I understand that there is currently no TableView in Qt Quick Controls 2. According to this bug report, it’s slated for 5.10: https://bugreports.qt.io/browse/QTBUG-51710 Does anyone know if this is still true? Or when 5.10 will be released? Can anyone think of a way to use a GridView or

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-28 Thread Andrew Ialacci
TableView? * Will it rely on roleNames to denote columns? On 6/26/17, 6:19 PM, "Frederik Gladhorn" wrote: On søndag 25. juni 2017 10.32.27 CEST Andrew Ialacci wrote: > Hello, > > I understand that there is currently no TableView in Qt Quick Controls 2. >

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-28 Thread Andrew Ialacci
ontrols 1.4 as QQC1 import QtQuick.Controls 2.1 QQC1.TableView { // // ... Button { // this will be QtQuick Controls 2 Button } } On Wed, Jun 28, 2017 at 12:48 PM, Andrew Ialacci mailto:and...@dkai.dk>> wrote: Thank you for your time and response! I originally tried to use

[Interest] Qt Remote Objects QOBJECT_REPLICA Macro

2017-06-28 Thread Andrew Ialacci
Hello, I am trying to have the repc compiler automatically generate a repc file from an existing QObject. According to the documentation below this should be possible using the QOBJECT_REPLICA macro. However, there is no information on how to use it or where to put it in a project. QtRO Docs

Re: [Interest] JS numbers to qint64

2017-07-12 Thread Andrew Ialacci
Any fancy math, do in C++ with a floating-point library and pass to JS/QML as a string purely for the intent of displaying in the UI. The only exception should be for layout / item positioning. There are single JS file floating point libs but… Use C++ :P Disclaimer: This is just a suggestion an

Re: [Interest] Qt for Windows & openssl

2017-07-13 Thread Andrew Ialacci
It’s some licensing thing between Qt and OpenSSL. You have to download the Open SSL binaries and place them in your application folder or statically link the libraries yourself. On 7/13/17, 8:44 AM, "Interest on behalf of Alexander Ivash" wrote: Is there are reasons for not including

Re: [Interest] Qt Quick main window contents are all rendered at an offset position

2017-08-04 Thread Andrew Ialacci
You mention you have a Window QML item as the root in your main.qml file. And then inside the Window you have MainWindow custom component. Is the top level / root item inside MainWindow.qml also a Window? So, nested windows? I've been building an MDI interface with QML for a while now and have

Re: [Interest] QML Dialog -> onClosing

2017-08-21 Thread Andrew Ialacci
If using Qt Quick Controls 2 (TWO) Dialog inherits from Popup which has the signals you need https://doc.qt.io/qt-5/qml-qtquick-controls2-popup.html Sent from my iPhone On Aug 21, 2017, at 1:17 PM, Igor Mironchik mailto:igor.mironc...@gmail.com>> wrote: Hi, Let's say I have the next dialo

Re: [Interest] Dynamic QML menu from C++ data?

2017-08-28 Thread Andrew Ialacci
Use an Instantiator: Example copied from a random project https://gist.github.com/anonymous/2f803e7b49760b509d6a23c43901f52e On 8/28/17, 6:28 PM, "Interest on behalf of Murphy, Sean" wrote: I'd think this is a pretty easy thing to do, but I'm struggling to find an example that shows

Re: [Interest] propagateComposedEvents-like behavior with qt controls 2 components (no C++)

2017-09-25 Thread Andrew Ialacci
I think you can chain the signal calls using signal.connect(otherSignal) and then set the drag target to null. I had to implement something like this while writing an MDI windowing system. Admittedly though I did resort to moving 99% of the geometry manipulation and event handling to CPP. I w

Re: [Interest] move methods in QList

2017-10-10 Thread Andrew Ialacci
I personally favor QVector and use it instead of QList. There are times though when you must use a QList because some class or function requires it. For example many of the Qt JSON classes deal with QLists instead of QVectors. Take a read over this thread from SO: https://stackoverflow.com/que

Re: [Interest] Interest Digest, Vol 73, Issue 18

2017-10-17 Thread Andrew Ialacci
Ronald You reported a bug, got a response and have made your other points 50x over now. If you don’t like how Qt handles things, fork the code base and maintain it yourself. Seriously this has been going on for over a week now. Take a step back and have drink. 🍸🍍🥝🍋🍉🍑 Sent from my iPad On O

[Interest] MQTT Client Message Routing

2018-01-29 Thread Andrew Ialacci
Hello Qt Friends! When using the QMqtt library, I've noticed there are two possible ways to inspect messages received by the client from the broker. 1. QMqttClient::messageReceived(const QByteArray &message, const QMqttTopicName &topic) 2. QMqttSubscription::messageReceived(const QMqttMessage &

Re: [Interest] QDatetime issue with date beyond 2038

2018-10-05 Thread Andrew Ialacci
Might be helpful: https://en.wikipedia.org/wiki/Year_2038_problem Sent from my iPad On Oct 5, 2018, at 7:48 PM, Ramakanth Kesireddy mailto:rama.k...@gmail.com>> wrote: Hi, Am unable to set date and time(beyond 2038) using QDateTime on 32 bit linux kernel. Using QDateTime::currentdatetime(

Re: [Interest] [Qt3d] QSceneLoader in Thread

2018-10-10 Thread Andrew Ialacci
The worlds best article on the subject: https://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/ Sent from my iPad On Oct 10, 2018, at 2:11 PM, Jérôme Godbout mailto:godbo...@amotus.ca>> wrote: Make sure to check how QObject are related to a QThread.

Re: [Interest] SQL databases and threading

2018-10-11 Thread Andrew Ialacci
It is not. You should create a QObject, move that to a thread, and then work with the query inside the thread inside the QObject. I needed to do massive insertion of financial data and ended up writing a request / reply interface. Think QNetworkRequest / Reply and then a dispatcher to handle th

Re: [Interest] Segmentation fault on exiting Qt event loop

2018-12-17 Thread Andrew Ialacci
I’ve had this issue on Windows especially when destroying worker threads on an application exit. What I ended up doing was sleeping the main thread until each worker threads isRunning() return false; Something like: http://share.dkai.dk/Screen-Shot-2018-12-17-12-01-50-n9RsDe43KW.png I’d love

Re: [Interest] Segmentation fault on exiting Qt event loop

2018-12-17 Thread Andrew Ialacci
, 2018 at 12:30 PM To: Andrew Ialacci Cc: Ramakanth Kesireddy , Qt Interest Subject: Re: [Interest] Segmentation fault on exiting Qt event loop On Mon, Dec 17, 2018 at 1:26 PM Andrew Ialacci mailto:and...@dkai.dk>> wrote: I’ve had this issue on Windows especially when destroying worker t

Re: [Interest] Modern

2018-12-22 Thread Andrew Ialacci
Should have done this a long time ago... https://i.imgur.com/HmnchHN.png So long and thanks for all the fish __ On 12/22/18, 9:53 AM, "Interest on behalf of Roland Hughes" wrote: On 12/21/2018 4:37 PM, Konstantin Tokarev wrote: > 21.12.2018, 19:42, "Vlad Stelmahovsky": >>

[Interest] Installer Repositories Down

2019-03-05 Thread Andrew Ialacci
Hello, It appears the Qt installation repositories are offline. Can anyone confirm? Screenshot of failed install: http://share.dkai.dk/Screen-Shot-2019-03-05-11-22-38.83-mVQjDJ.png Have tried on a few different machines and remote VM’s. Same result. - Andrew 🍍 _