Martin Falk
Martin Falk
Closing the dialog occasionally results in a crash.
The internal representation of a spinbox is always double. What's shown should be rounded for int types. Seems that the internal logic is flawed... Also doesn't work for `int`. https://github.com/inviwo/inviwo/blob/cb0709fddc1c73ecd24d35fcf775eb84f7ab5195/modules/qtwidgets/include/modules/qtwidgets/properties/ordinalspinboxwidget.h#L133-L146
Maybe, need to look into this. However, `double reprToEditor(T val)` looks strange with no difference between if and else statements. https://github.com/inviwo/inviwo/blob/5728b3368984bd19446d8c74f9981c0e9442f606/modules/qtwidgets/include/modules/qtwidgets/properties/ordinalspinboxwidget.h#L102-L116
Regarding default background, having something different than a black-white gradient would be preferable. But that doesn't solve the issue with a white background when using the plot somewhere else afterward.
Tested with Qt 5.9.1 and 5.11.1
There is a reported Qt Bug referring to problems with `QPushButton::setEnabled()` on MacOS see https://bugreports.qt.io/browse/QTBUG-69740?
Are there any other build errors? It looks like qt metaobject compiler (moc) did not run successfully.
Have you tried compiling without the vectorfield modules?
@ResearchDaniel it is not the fault of the vector vis modules. There is also no dependency towards Qt. It appears that the qtwidgets module fails to build properly. I am...
I just did a clean checkout (`git clone --recurse-submodules git://...`), no modification of the CMake options, and it compiled successfully. Environment information * Operating System: Windows 10 * Compiler/IDE: VisualStudio...