[Interest] Args

2017-05-03 Thread Igor Mironchik
Hello guys, I know that Qt already has its own stuff for CLI parsing. I don't remember who told it, but - more good libraries, more and more... I want to tell you about Args. Probably you know about QtArg. So QtArg is a parent of Args. Args on one side a little simpler than QtArg, but on ano

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Giuseppe D'Angelo
Il 03/05/2017 20:15, Jason H ha scritto: My calls to keys() are few, but they happen on large datasets. It sounds like I should just use QLists for keys() until Qt6. What's the key type? You mentioned qreal, QVector3D, etc.; those are terrible types for QList. Cheers, -- Giuseppe D'Angelo |

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Konstantin Tokarev
03.05.2017, 21:09, "Sean Harmer" : > Hi, > > On 03/05/2017 17:57, Jason H wrote: >>  I have a app that does a lot of numeric processing,using quint32, qreal >> mostly (and occasional QVector3D). 10k-1M items in the data set. I generally >> do know the size of the dataset before I start adding t

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Jason H
> Sent: Wednesday, May 03, 2017 at 1:53 PM > From: "Konstantin Shegunov" > To: "Jason H" > Cc: "Qt Project" > Subject: Re: [Interest] QVectors vs QLists > > I'll throw my 2 cents in, in addition to Sergio's comment on > iterator-based traversing. > > 1) If you don't absolutely need key orderi

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Sean Harmer
Hi, On 03/05/2017 17:57, Jason H wrote: I have a app that does a lot of numeric processing,using quint32, qreal mostly (and occasional QVector3D). 10k-1M items in the data set. I generally do know the size of the dataset before I start adding to it, so I call reserve() on it. Given that, and

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Konstantin Shegunov
I'll throw my 2 cents in, in addition to Sergio's comment on iterator-based traversing. 1) If you don't absolutely need key ordering, I'd suggest a hash table (e.g. QHash) due to the amortized time lookup/insertion. If you use a numerical key for the QMap, I'd definitely consider switching to a ha

Re: [Interest] QVectors vs QLists

2017-05-03 Thread Sergio Martins
On 2017-05-03 17:57, Jason H wrote: I have a app that does a lot of numeric processing,using quint32, qreal mostly (and occasional QVector3D). 10k-1M items in the data set. I generally do know the size of the dataset before I start adding to it, so I call reserve() on it. Given that, and that I'v

[Interest] QVectors vs QLists

2017-05-03 Thread Jason H
I have a app that does a lot of numeric processing,using quint32, qreal mostly (and occasional QVector3D). 10k-1M items in the data set. I generally do know the size of the dataset before I start adding to it, so I call reserve() on it. Given that, and that I've been using QMap and QVector, when

Re: [Interest] Qt "Desktop App" for Microsoft Store

2017-05-03 Thread Robert Iakobashvili
> On 2 May 2017 at 08:02, Robert Iakobashvili wrote: >> On Tue, May 2, 2017 at 9:50 AM, Maurice Kalinowski >> wrote: >>> Hi, >>> As mentioned below, you cannot “just” push a desktop app (in Microsoft >>> terminology “classic application”) to the windows store. It has to be a >>> Universal App (wh

Re: [Interest] Qt "Desktop App" for Microsoft Store

2017-05-03 Thread Ian Clark
On 2 May 2017 at 08:02, Robert Iakobashvili wrote: [snip] > > Is it correct to say that a Store app cannot be an editor opening > files in any location permitted, > writing texts, Save As for the files etc. - complete sand-boxing like at iOS? > It depends on the app type. Apps built for the Windo

[Interest] QVirtualKeyboard not working within QWebEngineView

2017-05-03 Thread Pascal Huerst
Hey everyone, I'm having issues, using QVirtualKeyboard with QWebEngineView. At least for 5.8 and 5.9 the virtual keyboard is not working for web content. It is working for other QLineEdit's in the same application, however. I searched for bugs on https://bugreports.qt-project.org but could not fi