[Interest] QGraphicsView: selection area drawing

2014-03-26 Thread Christian Gagneraud
Hi there, I've implementing a "zoom area" tool on a QGraphicsView, while dragging the mouse it draws the zoom area in a (visually) similar way as the RubberBandDrag selection area. I've looked into the source code of QGraphicsView but couldn't find which color is used to draw it. I've pinned do

[Interest] Installing several binary packages of the same version

2014-03-26 Thread Dmitrii Volosnykh
I am trying to install Qt 5.3 Beta for MSVC either 2010 or 2012. However, I end up with a single entry in Control Panel\Programs\Programs and Features list. I guess, I will have to uninstall the later one manually. Is that enough? Anyway, I'd like them to be distinguished (at least, let the entry n

[Interest] android home button

2014-03-26 Thread nicola
Hi, i'm wrote this post https://qt-project.org/forums/viewthread/40244/, i don't found a solution yet. Has someone a solution? I'm using 5.3 beta, and i think that the catch oh windowstate should to be a "must". BR Nicola ___ Inter

Re: [Interest] efficient drawing advice

2014-03-26 Thread william.croc...@analog.com
On 03/26/2014 10:04 AM, André Somers wrote: > william.croc...@analog.com schreef op 26-3-2014 14:56: >>> I too have a similar requirements for monotonic data plots. How do you >>> store the full million points data? >> QVector x, y; > Is that really the quickest? This means that points have to be

Re: [Interest] efficient drawing advice

2014-03-26 Thread André Somers
william.croc...@analog.com schreef op 26-3-2014 14:56: >> I too have a similar requirements for monotonic data plots. How do you >> store the full million points data? > QVector x, y; Is that really the quickest? This means that points have to be fetched from two different memory locations all the

Re: [Interest] efficient drawing advice

2014-03-26 Thread william.croc...@analog.com
> > I too have a similar requirements for monotonic data plots. How do you > store the full million points data? QVector x, y; >Do you keep all points in memory so > that it is readily available when the user zooms? > Yes. Bill ___ Interest mailing

Re: [Interest] efficient drawing advice

2014-03-26 Thread william.croc...@analog.com
> > However as others have already pointed out "with the usual tricks" > (Clever Clipping(tm), Level of Detail, ...) today's CPUs should also be >able to render lines with several thousands of segments... > I though I was done until I tried to send something to a printer. What works on the screen

Re: [Interest] efficient drawing advice

2014-03-26 Thread Till Oliver Knoll
Am 26.03.2014 um 13:32 schrieb Rayner Pupo : > maybe using shaders you can boost you representation In modern OpenGL (read: anything >= OpenGL 3) "shaders" are not an "optional thing to boost performance", they are a necessity to "get things going" in the first place ;) So your advise must rea

Re: [Interest] efficient drawing advice

2014-03-26 Thread Sean Harmer
On Wednesday 26 March 2014 10:35:05 Graham Labdon wrote: > Hi > My application needs to display a series of 'traces'. > Each trace will consist of 5000+ points and there can be up to 50 traces. > I would be grateful of some pointers on how to do this in the most efficient > way - QPainter on a widg

Re: [Interest] efficient drawing advice

2014-03-26 Thread Syam Krishnan
On 03/26/2014 04:43 PM, william.croc...@analog.com wrote: > > Create trace abstracts (with reduced point counts) for the purposes of > drawing. > In the extreme case, if a trace is close enough to a straight line (given > the resolution of the display) the trace could be abstracted as 2 points. >

[Interest] efficient drawing advice

2014-03-26 Thread Rayner Pupo
maybe using shaders you can boost you representation I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu _

Re: [Interest] efficient drawing advice

2014-03-26 Thread william.croc...@analog.com
On 03/26/2014 06:35 AM, Graham Labdon wrote: > Hi > My application needs to display a series of 'traces'. > Each trace will consist of 5000+ points and there can be up to 50 traces. > I would be grateful of some pointers on how to do this in the most efficient > way - > QPainter on a widget > Use

[Interest] efficient drawing advice

2014-03-26 Thread Graham Labdon
Hi My application needs to display a series of 'traces'. Each trace will consist of 5000+ points and there can be up to 50 traces. I would be grateful of some pointers on how to do this in the most efficient way - QPainter on a widget Use of OpenGL QGraphicsScene Which of these will be the most ef