owTvQtWidgetShow refactoring
All threads resolved!
All threads resolved!
Compare changes
@@ -20,99 +20,133 @@
Refactoring owTvQtWidgetShow in order to optimize processing time such as described in #1778.
This test loads all OTB-applications (one dynamic library per OTB-Application) and displays their GUI (loading of Qt dynamic-libraries). Since each OTB-applications command-line is already tested individually, this test only ensures that the GUI window could be displayed and, then, could be reduced to displaying only one OTB-Application : TestApplication
.
The test-driver https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/blob/develop/Modules/Wrappers/QtWidget/test/otbWrapperQtWidgetShowWidget.cxx has been optimized as following :
TestApplication
(Main improvement)QDockWidget
for otb::Wrapper::QtProgressReport
by single Layout lowers Qt resources usageThe processing time of this test falls from 111.65s+ (fastest platform) to:
TestApplication
could be reviewed and upgraded in order to include Qt widgets of all parameters.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: