Skip to content
Snippets Groups Projects
Commit 0f08fa36 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: add the RAMParmeter QtWidget to the parameter factory

parent a222d8cc
Branches
Tags
No related merge requests found
......@@ -38,6 +38,7 @@
#include "otbWrapperQtWidgetDirectoryParameter.h"
#include "otbWrapperQtWidgetParameterGroup.h"
#include "otbWrapperQtWidgetInputVectorDataListParameter.h"
#include "otbWrapperQtWidgetRAMParameter.h"
namespace otb
{
......@@ -104,6 +105,7 @@ QtWidgetParameterFactory::CreateQtWidget( Parameter* param, QtWidgetModel* model
CREATEWIDGET(OutputVectorDataParameter, QtWidgetOutputVectorDataParameter)
CREATEWIDGET(EmptyParameter, QtWidgetEmptyParameter)
CREATEWIDGET(ParameterGroup, QtWidgetParameterGroup)
CREATEWIDGET(RAMParameter, QtWidgetRAMParameter)
#undef CREATEWIDGET
......
......@@ -97,7 +97,8 @@ void QtWidgetParameterGroup::DoCreateWidget()
// Make sense only for NumericalParameter
if (dynamic_cast<IntParameter*>(param)
|| dynamic_cast<FloatParameter*>(param)
|| dynamic_cast<RadiusParameter*>(param) )
|| dynamic_cast<RadiusParameter*>(param)
/*|| dynamic_cast<RAMParameter*>(param)*/)
{
QPushButton* resetButton = new QPushButton;
resetButton->setText("Reset");
......
......@@ -22,6 +22,7 @@
#include "otbWrapperParameterGroup.h"
#include "otbWrapperNumericalParameter.h"
#include "otbWrapperRadiusParameter.h"
#include "otbWrapperRAMParameter.h"
#include "otbWrapperQtWidgetParameterBase.h"
namespace otb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment