Rewrite numerical parameter widgets of otbgui to provide several improvements.
Before:
After:
Qt5Svg
dependency to SuperBuild (needed to read the svg icon file).Better otbgui UX.
M Modules/ThirdParty/Qt/CMakeLists.txt
M Modules/ThirdParty/Qt/otb-module-init.cmake
M Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetFloatParameter.h
M Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetIntParameter.h
M Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetModel.h
M Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetParameterBase.h
A Modules/Wrappers/QtWidget/include/otbWrapperQtWidgetSpinBoxes.h
M Modules/Wrappers/QtWidget/src/CMakeLists.txt
M Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetFloatParameter.cxx
A Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetIcons.qrc
M Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetIntParameter.cxx
M Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterBase.cxx
M Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterGroup.cxx
A Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetSpinBoxes.cxx
M SuperBuild/CMake/External_qt5.cmake
A Utilities/Data/Icons/mIconClearText.svg
A Utilities/Data/Icons/mIconClearTextHover.svg
NA.
NA.
NA.
otbWrapperQtWidgetIntParameter
and otbWrapperQtWidgetFloatParameter
. This is not addressed by this MR. Unfortunately I think that the fix is more complex than simply moving the common code to a base class. Might be possible with multiple inheritance of an interface common to QtWidgetSpinBox
and QtWidgetDoubleSpinBox
.The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement