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

2019-01-07 Thread Thiago Macieira
On Sunday, 6 January 2019 14:16:38 PST Roland Hughes wrote: > > And those devices still have an input mechanism: their scanner ports. It's > > possible to send malformed data to their I/O pins to cause an exploit. > > Heck, it's theoretically possible to do that with the scanning head > > itself: p

Re: [Interest] Qt5 porting woes - metatype with private ctor

2019-01-07 Thread Giuseppe D'Angelo via Interest
Il 07/01/19 21:57, Matthew Woehlke ha scritto: In Qt4, I implemented this by granting special access to qMetaTypeConstructHelper to allow Qt's guts to access the "copy" constructor (which is actually a move ctor, but this code predates C++11). However, it seems in Qt5 I have to poke into the QtMe

Re: [Interest] Qt5 porting woes - metatype with private ctor

2019-01-07 Thread Thiago Macieira
On Monday, 7 January 2019 12:57:56 PST Matthew Woehlke wrote: > Can I use std::unique_ptr in a signal? No. If you connected two slots to the signal, which one would get the pointer? The problem is that the answer makes no sense, which means move-only types make no sense in signal parameters. --

Re: [Interest] QComboBox - rect of actual menu vs widget area

2019-01-07 Thread Frank Rueter | OHUfx
Thanks, will check it out and try to transfer to PySide2 On 8/01/19 9:43 AM, Matthew Woehlke wrote: On 29/12/2018 07.54, Roland Hughes wrote: Method 1: show/hide interesting widget Place a label with the animated GIF at the exact same spot as the combo box. An *animated GIF*? Ugh. No anti-ali

Re: [Interest] QComboBox - rect of actual menu vs widget area

2019-01-07 Thread Frank Rueter | OHUfx
Thanks. I am not sure I agree with your dislike of overriding the paint method. I have actually had to do this a lot for custom UIs an in some cases even did it to make widgets more efficient. I do agree that I prefer not to in cases like this though, so thanks for your suggestions. Cheers,

[Interest] Qt5 porting woes - metatype with private ctor

2019-01-07 Thread Matthew Woehlke
I have a class¹ that implements a "transferable" pointer. The idea is that it is memory-managed, but can be used in signals/slots without the overhead of an atomic reference count. It is a "throw it over the wall" type of thing, the idea being that once it is emitted as a signal argument, the calle

Re: [Interest] Crazy idea 2019-1

2019-01-07 Thread Roland Hughes
On 1/7/2019 11:49 AM, Jason H wrote: Similar to QtQuartely (anyone remember that?) Ah yes...QtQuarterly. So that's my idea. I'd expect it implemented as a section before "Detailed Description" as "Relevant Articles" which is a link of the title to the content (contained in Qt, not online, b

Re: [Interest] QComboBox - rect of actual menu vs widget area

2019-01-07 Thread Matthew Woehlke
On 29/12/2018 07.54, Roland Hughes wrote: > Method 1: show/hide interesting widget > > Place a label with the animated GIF at the exact same spot as the combo > box. An *animated GIF*? Ugh. No anti-aliasing, won't follow the color scheme... A better option would be to use a "busy indicator" widg

[Interest] Crazy idea 2019-1

2019-01-07 Thread Jason H
I'm now numbering my crazy ideas. That may in itself be a crazy idea, if so, that's 2019-0. 2019-1 is that Qt Blog posts (blog.qt.io) should be included in the documentation ,cross-referenced with the classes mentioned within. For example, http://blog.qt.io/blog/2017/01/20/inside-qimage-touch-q

[Interest] Understanding High DPI and QQuickFramebufferObject

2019-01-07 Thread Furkan Üzümcü
Hello all. I’m trying Qt::AA_EnableHighDpiScaling with app that has a  QQuickFramebufferObject. Now, I create the FBO inside  createFramebufferObject(const Size &size). The value of the passed in size is twice the size of the QQuickItem that contains FBO. Now, I have the item size set to 100x100

Re: [Interest] Interest Digest, Vol 88, Issue 2

2019-01-07 Thread Ramakanth Kesireddy
Yes spinning a system thread(pthread) and then creating the application object. On sigterm, quitting the application using quit() and just before quit() deleting QApplication Instance and then pthread is cleaned up using pthread_cancel On Sat, 5 Jan, 2019, 07:42 Konstantin Shegunov On Thu, Jan 3,