Request for Changes-18: Improve browse button of OTB-applications parameters

From OTBWiki
Jump to: navigation, search

[Request for Changes - 18] Improve browse button of OTB-applications parameters

Status

  • Author: Stéphane ALBERT
  • Additional Contributors (if different than authors)
  • Submitted on 04.11.2015
  • Proposed target release 5.2
  • Adopted: +3 from Jordi, Rémi and Manuel
  • Merged: cd2a012336751b6d332740912909605d4a701d1e
  • Branch: [1]

Summary

This RFC:

  1. uses the value of the protected QLineEdit widget of the OTB-application parameter to initialize the QFileDialog directory of the browse button;
  2. adds some public ::GetInput() getters in order for client code (such as Monteverdi) to initialize OTB-application widgets;
  3. moves some proctected ::SetFileName() setters into public slots section in order for client code (such as Monteverdi) to initialize OTB-application parameters.

Rationale

Implementation details

Classes and files

otb::Wrapper::QtFileSelectionWidget

otb::Wrapper::QtWidgetInputFilenameParameter
otb::Wrapper::QtWidgetInputImageParameter
otb::Wrapper::QtWidgetInputProcessXMLParameter
otb::Wrapper::QtWidgetInputVectorDataParameter

otb::Wrapper::QtWidgetOutputFilenameParameter
otb::Wrapper::QtWidgetOutputImageParameter
otb::Wrapper::QtWidgetOutputProcessXMLParameter
otb::Wrapper::QtWidgetOutputVectorDataParameter

Applications

All OTB-applications using above-mentioned parameters.

Tests

(no impact)

Documentation

Additional notes