@mrjj Sorry for not mentioning this before, I already tried a Gaussian Blur, it didn't help.
The data is have is in the form: (xCood, yCood, zCood, value)
For the first phase I am ignoring zCood.
The problem comes with the sample data granuality as data is something like:
I have a canvas of 1500x1500
The image before gaussian (The border is part of a layer above the image, so they aren't going anywhere soon):
After Gaussian Blurring (and some some interpolation on my part)(the data is a little different in both cases and I have done this in a separate application):
As you can see, the output still has some boxiness to it. Also, doing it like this is just removing the sharpness of the image [it is eventually meant to be used to visualize input data not be a sunset image. Not to mention I am going too far with the blurring here making it really heavy for a repaint].
Forgot to mention, I am using a continuous hue change here w.r.t value. But it seems that the proposal is for limited number of colors making the output even more blocky and blurring even more useless.
I eventually used the 2D shader for openGL.
At the end, I would like both possibilities implemented. Having the controls under the video, allows you to see every pixel of the screen while still being able to manipulate the controls. For instance, in some cases, you may want to examine frame by frame a specific section of the video that would appear under the controls else.
and you have to put QLayout::SetFixedSize as arg of SizeConstraint
Here is the doc explanation:
sizeConstraint : SizeConstraint
This property holds the resize mode of the layout.
The possible values are:
Constant Value Description
QLayout::SetDefaultConstraint 0 The main widget's minimum size is set to minimumSize(), unless the widget already has a minimum size.
QLayout::SetFixedSize 3 The main widget's size is set to sizeHint(); it cannot be resized at all.
QLayout::SetMinimumSize 2 The main widget's minimum size is set to minimumSize(); it cannot be smaller.
QLayout::SetMaximumSize 4 The main widget's maximum size is set to maximumSize(); it cannot be larger.
QLayout::SetMinAndMaxSize 5 The main widget's minimum size is set to minimumSize() and its maximum size is set to maximumSize().
QLayout::SetNoConstraint 1 The widget is not constrained.
I am not sure what you are referring to as you app window, but provided that it too is a QWidget you can use QWidget::changeEvent(QEvent* event). In there you can check the event to figure out whether the widget got minimized, maximized or just resized.
From there you can just pass the information to you video player widget and handle it appropriately.
Did you put some actions within your menubar? IF not, the menubar is there, but empty, so almost invisible.
If you are using the designer, it should be easy enough. Setting a layout is just clicking the top icons which layout you need. The resizing in designer is the resize you get in your end program.
What happens if you open up an example and run it?
Is there any difference between debug and release versions?
well people seems to be able to 100% control it
using layout and QSizePolicy (sizePolicy ) and others settings, but I guess its a trial and error process.
I have never seen option for settings as %. (only in my wet dreams)
or you can override
virtual void resizeEvent(QResizeEvent *e);
and size the widgets yourself.
Or you can write a custom layout.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.