Re: [Interest] Connect to signal QProcess::finished on MSVC 2017

2019-05-14 Thread Konstantin Shegunov
On Wed, May 15, 2019 at 4:37 AM jlk wrote: > However, on MSVC 2017, I've now read about a bug (in the > C++ standard requirements, I guess) that prevents qOverload from > working. Could someone suggest a workaround for my case? > If you can't use qOverload or QOverload<...>::of(), then you have

[Interest] Connect to signal QProcess::finished on MSVC 2017

2019-05-14 Thread jlk
  I'm trying to connect the QProcess::finished signal to a lambda function in Qt 5.12.3. I found that I had to use qOverload to explicitly specify the signal arguments in order to make the connection without a compiler error. However, on MSVC 2017, I've now read about a bug (in the C++

Re: [Interest] Don't get expected result from drawing StaticText with HTML

2019-05-14 Thread Martin Marmsoler
Hi Giuseppe, thank you for your reply. Im trying to find a Bug in Labplot, so I have to try to create a minimal project. I tried with QTextDocument and it seems to work fine. QTextDocument document; document.setHtml(staticText.text()); //painter->drawStaticText(QPoint(-w/2,-h/2), staticText);

Re: [Interest] Don't get expected result from drawing StaticText with HTML

2019-05-14 Thread Giuseppe D'Angelo via Interest
Hi, On 14/05/2019 20:07, Martin Marmsoler wrote: I store this String in a QStaticText (staticText)and draw this text with painter->drawStaticText(QPoint(-w/2,-h/2),staticText); But the result is that the hole text is red and not only the part "arke" Which Qt version are you using, under

Re: [Interest] QFile/QDir: force move mode only?

2019-05-14 Thread Jason H
> Sent: Tuesday, May 14, 2019 at 10:15 AM > From: "Giuseppe D'Angelo via Interest" > To: interest@qt-project.org > Subject: Re: [Interest] QFile/QDir: force move mode only? > > Hi, > > On 14/05/2019 15:47, Jason H wrote: > > I'd rather static bool QFile::isAtomicRename(const QString , cont > >

[Interest] Don't get expected result from drawing StaticText with HTML

2019-05-14 Thread Martin Marmsoler
Hello, I'm trying to draw a static text from html code received from a QTextEdit. The first time I set the text normaly without html: teLabel->setText("Textmarke"); then I mark in the TextEdit field the part "arke" of the above text and change the color with teLabel->setTextColor(color);

Re: [Interest] QFile/QDir: force move mode only?

2019-05-14 Thread Giuseppe D'Angelo via Interest
Hi, On 14/05/2019 15:47, Jason H wrote: I'd rather static bool QFile::isAtomicRename(const QString , cont QString ); So that the software can plan accordingly. Blindly executing won't allow the software to accomodate non-atomic renames (i.e. Display an alternate UI). It would also be nice if

Re: [Interest] QFile/QDir: force move mode only?

2019-05-14 Thread Jason H
I'd rather static bool QFile::isAtomicRename(const QString , cont QString ); So that the software can plan accordingly. Blindly executing won't allow the software to accomodate non-atomic renames (i.e. Display an alternate UI). It would also be nice if there was an atomic-esque non-atomic