[Interest] Ignore SSL errors on Android 6.0+

2017-03-27 Thread Jan 'Koviš' Struhár
Hi, my mobile app using QNetworkAccessManager to access https://www.webnotes.cz stopped working with Android 6.0+ (there were general problems with SSL solved by bundling OpenSSL libs, that is OK). Other sites that have SSL certificates well set do work well. On Linux desktop also the proble

[Interest] Cross-platform screen capture

2017-03-27 Thread Igor Mironchik
Hello, Doesn anybody know and cross-platform solution that allows to capture given rectangle but without active window (or any given window). Thank you. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/i

Re: [Interest] Is there a way to simulate serial port data?

2017-03-27 Thread Ch'Gans
On 28 March 2017 at 12:58, Murphy, Sean wrote: >> What about writing a “virtual serial port” ? >> >> QSerialPort is a QIODevice, so one thing you can do is to replace it with a >> custom QIODevice where you can write what you from e.g. a “console >> widget” to evaluate what you want from your appl

Re: [Interest] Is there a way to simulate serial port data?

2017-03-27 Thread Murphy, Sean
> What about writing a “virtual serial port” ? > > QSerialPort is a QIODevice, so one thing you can do is to replace it with a > custom QIODevice where you can write what you from e.g. a “console > widget” to evaluate what you want from your application. So you're suggesting when I want to debug

Re: [Interest] Is there a way to simulate serial port data?

2017-03-27 Thread Samuel Gaist
> On 28 Mar 2017, at 00:48, Murphy, Sean wrote: > > I've got a class that inherits from QSerialPort. The bulk of the code in the > class is parsing that I'm doing in a slot that is connected to QSerialPort's > readyRead() signal. I want to inject known data into this class as if it's > actua

Re: [Interest] Model/Views and Drag&Drop actions

2017-03-27 Thread Etienne Sandré-Chardonnal
Qt::DropActions is a bitmask. The issue I suspect is that instead of: e->dropAction() & model->supportedDropActions() we should have: e->possibleActions() & model->supportedDropActions() So that any action common to both the source model dragActions() and the destination model dropActions() can

Re: [Interest] [EXTERNAL] Re: How to make a 2D scrollable GridView

2017-03-27 Thread Lynetta Rajkovich
I can't seem to create a GridLayout that has elements off the screen. The whole notion of a GridLayout is the ability to resize. In my case the window and elements will be a fixed size like a grid of similar buttons. How do I create elements that are a fixed size such that some rows and column

Re: [Interest] Is there a way to simulate serial port data?

2017-03-27 Thread Henry Skoglund
Hi, I faced a simular situation last summer, and I used this: http://com0com.sourceforge.net/ Rgrds Henry P.S. I think it only works on Windows, though. On 2017-03-28 00:48, Murphy, Sean wrote: I've got a class that inherits from QSerialPort. The bulk of the code in the class is parsing that

[Interest] Is there a way to simulate serial port data?

2017-03-27 Thread Murphy, Sean
I've got a class that inherits from QSerialPort. The bulk of the code in the class is parsing that I'm doing in a slot that is connected to QSerialPort's readyRead() signal. I want to inject known data into this class as if it's actually coming across the serial port to validate my parsing code

[Interest] QOpenGLWidget inside QDockWidget

2017-03-27 Thread Alexandre Ribeiro
Hi, I've placed a QOpenGLWidget inside a QDockWidget and everything works as expected. However when I drag the dockwidget from the main window there's a blue flicker in the QOpenGLWidget. This blue flicker has nothing to do with my OpenGL code (right now it's merely clearing the background with r

Re: [Interest] How to make a 2D scrollable GridView

2017-03-27 Thread Majid Kamali
See Example Usage http://doc.qt.io/qt-5/qml-qtquick-flickable.html Nesting a GridLayout inside the Flickable may be useful On Mon, Mar 27, 2017 at 10:13 PM, Lynetta Rajkovich < lynetta.rajkov...@esterline.com> wrote: > Hi! > > > I need to make a Grid that is, lets say, 15 x 15 where only a 4 x >

Re: [Interest] QObject.destroyed() not working?!

2017-03-27 Thread Frank Rueter | OHUfx
Thanks Alexandru, I will try it the way you suggest. Cheers, frank On 27/03/17 9:59 PM, Alexandru Croitor wrote: Hi, I'm going to assume this is with PyQt. Aside from what Thiago already mentioned, you could try to connect a method declared outside of the class scope. So something like: de

Re: [Interest] QObject.destroyed() not working?!

2017-03-27 Thread Frank Rueter | OHUfx
Thanks Thiago, that makes sense. Cheers, frank On 27/03/17 7:48 PM, Thiago Macieira wrote: On domingo, 26 de março de 2017 18:52:48 PDT Frank Rueter | OHUfx wrote: Hi, I'm pretty sure I'm misinterpreting how this should work so maybe you guys can help: I have a QObject which I would like to

[Interest] How to make a 2D scrollable GridView

2017-03-27 Thread Lynetta Rajkovich
Hi! I need to make a Grid that is, lets say, 15 x 15 where only a 4 x 4 subset is shown in the application window at a time. Scrolling is done using the mouse scroll wheel or arrow keyboard keys. The grid size and subset size will be fixed and known. Can you please suggest an approach for t

Re: [Interest] Model/Views and Drag&Drop actions

2017-03-27 Thread Jason H
With the &, it looks like it's using a bitmask. Make sure that the dropAction() and supportedDropActions() values are arranged correctly, as a bitmask.     00100 * 00111  = 00100, return true. Therefore the only other thing is it is a mime issue?   Sent: Monday, March 27, 2017 at 9:28 AM Fro

Re: [Interest] Qt3D - Bounds of visible entities

2017-03-27 Thread Andy
On Sun, Mar 26, 2017 at 5:12 AM, Mike Krus wrote: > Hi Andy > > > On 26 Mar 2017, at 00:51, Andy wrote: > > Are there plans to add an interface to get the bounds of visible > entities (ones with geometry that is rendered)? > > > > Seems like something a lot of developers would need for moving th

[Interest] Model/Views and Drag&Drop actions

2017-03-27 Thread Etienne Sandré-Chardonnal
Dear all, I have two custom models associated with views and I would like to drag from model A and drop into model B. Model B has overloaded supportedDropActions and returns Qt::LinkAction Model A has overloaded supportedDragActions and returns Qt::MoveAction | Qt::LinkAction This does not work

Re: [Interest] QObject.destroyed() not working?!

2017-03-27 Thread Alexandru Croitor
Hi, I'm going to assume this is with PyQt. Aside from what Thiago already mentioned, you could try to connect a method declared outside of the class scope. So something like: def myDestructor(obj): pass class MyClass(object): def __init__(self): self.destroyed.connect(myDestructor) Also