+ }
+ // mkr : PAL6276 -->
+ else {
+ if ( !aPortType.compare(QString("boolean")) )
+ myValue->setValidator( new QIntValidator( 0, 1, theParent ) );
+
+ if ( !aPortType.compare(QString("short")) || !aPortType.compare(QString("int")) || !aPortType.compare(QString("long")) )
+ myValue->setValidator( new QIntValidator( theParent ) );
+
+ if ( !aPortType.compare(QString("float")) || !aPortType.compare(QString("double")) )
+ myValue->setValidator( new QDoubleValidator( theParent ) );
+
+ if ( !aPortType.compare(QString("char")) ) {
+ QRegExp aRX( "." );
+ myValue->setValidator( new QRegExpValidator( aRX, theParent ) );
+
+ }
+ }
+ // mkr : PAL6276 <--