[Interest] Overriding list properties in QML at initialisation

2019-08-13 Thread Unai IRIGOYEN
Hello, I'm using QML for some years now but recently I have found a behaviour which may be a bug or at least makes list property initialisation inconsistent with the way other types are handled. The behaviour can be traced back to (at least) Qt 5.2 and is still present in Qt 5.13. If I create a cla

Re: [Interest] Qt Docker images for Windows

2019-08-13 Thread Richard Weickelt
> TL;DR: I created a Windows Docker image containing with Qt open-source > installations at https://hub.docker.com/r/keneanung/qt-windows > > After some research, I didn't find any images for Windows that > included Qt, the preferred method seems to be cross-compiling, and > thus I created a vers

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-13 Thread Murphy, Sean
> Hmm, about that extra step, to remember the filter stuff, since you already > have a custom line edit class, why not embed the MouseFilter class inside it? > I mean, the filter does not have to reside in MainWindow, it needs only the > qApp pointer, so you could wire it up in your custom line edi

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-13 Thread Henry Skoglund
Hmm, about that extra step, to remember the filter stuff, since you already have a custom line edit class, why not embed the MouseFilter class inside it? I mean, the filter does not have to reside in MainWindow, it needs only the qApp pointer, so you could wire it up in your custom line edit's

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-13 Thread Murphy, Sean
> Hi, had a similar problem, couldn't find any other solution than using an > event filter, but it turned out being not so bad, made a small class: > > In my MainWindow I have an instance of that class, and in MainWindows's > ctor I initialize it: > > MouseFilter mf; > ... > mf.setWidget(ui->line

Re: [Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-13 Thread Henry Skoglund
Hi, had a similar problem, couldn't find any other solution than using an event filter, but it turned out being not so bad, made a small class: #include "qevent.h" class MouseFilter : public QObject {     Q_OBJECT     QWidget* pW;  // ptr to widget to check for inside/outside mouse clicks    

Re: [Interest] Lar's Technical Vision blog post

2019-08-13 Thread Vlad Stelmahovsky
nope. Qt6 efforts to be efficient on both low level HW and on high level HW, which is impossible w/o c++ backend noone care about making web developers happy (besides web developers themselves :) ) Flutter rather compete with Java-based apps, where it will gains from performance perspective, but..a

[Interest] Finish QLineEdit editing when user clicks anywhere outside the QLineEdit

2019-08-13 Thread Murphy, Sean
I'm trying to create a custom QLineEdit where while editing, the user can click anywhere *outside* the QLineEdit to finish editing. The default QLineEdit behavior appears to be that once the user has clicked inside the QLineEdit and begins editing the text, if the user then clicks on some other

[Interest] Lar's Technical Vision blog post

2019-08-13 Thread Jason H
https://blog.qt.io/blog/2019/08/07/technical-vision-qt-6/ I am wondering if there will be a follow up or response thread? There's a lot of good feedback. It was good to see inside Lars's head, and what is not. I think he got a lot right, thought I'm scratching my head on the AI comment. There's

[Interest] Qt Docker images for Windows

2019-08-13 Thread Florian Scheel
Hello all, TL;DR: I created a Windows Docker image containing with Qt open-source installations at https://hub.docker.com/r/keneanung/qt-windows The longer story: The project I participate in (https://github.com/Mudlet/Mudlet) tries to make itself a bit less dependent on CI service providers and