- QtxValue val;
- if ( p=="client" ) val = QtxValue( globalParam( p ) );
- else if ( p=="type" ) val = QtxValue( myTypes[ind] );
- else if ( p=="elemTypes" ) val = QtxValue( elemTypes( ind ) );
- else if ( p=="numberOfNodes" ) val = QtxValue( numberOfNodes( ind ) );
- else if ( p=="labeledTypes" ) val = QtxValue( labeledTypes( ind ) );
- else if ( p=="shrinkMode" ) val = QtxValue( shrinkMode( ind ) );
- else if ( p=="entityMode" ) val = QtxValue( entityMode( ind ) );
- else if ( p=="controlMode" ) val = QtxValue( controlMode( ind ) );
- else if ( p=="displayMode" ) val = QtxValue( displayMode( ind ) );
- else if ( p=="isComputable" ) val = QtxValue( isComputable( ind ) );
- else if ( p=="hasReference" ) val = QtxValue( hasReference( ind ) );
-// else if ( p=="isVisible" ) val = QtxValue( isVisible( ind ) );
-
- // printf( "--> param() : [%s] = %s (%s)\n", p.latin1(), val.toString().latin1(), val.typeName() );
- //if ( val.type() == QVariant::List )
- //cout << "size: " << val.toList().count() << endl;
+ QVariant val;
+ if ( p=="client" ) val = QVariant( LightApp_Selection::parameter( p ) );
+ else if ( p=="type" ) val = QVariant( myTypes[ind] );
+ else if ( p=="elemTypes" ) val = QVariant( elemTypes( ind ) );
+ else if ( p=="isAutoColor" ) val = QVariant( isAutoColor( ind ) );
+ else if ( p=="numberOfNodes" ) val = QVariant( numberOfNodes( ind ) );
+ else if ( p=="labeledTypes" ) val = QVariant( labeledTypes( ind ) );
+ else if ( p=="shrinkMode" ) val = QVariant( shrinkMode( ind ) );
+ else if ( p=="entityMode" ) val = QVariant( entityMode( ind ) );
+ else if ( p=="controlMode" ) val = QVariant( controlMode( ind ) );
+ else if ( p=="displayMode" ) val = QVariant( displayMode( ind ) );
+ else if ( p=="isComputable" ) val = QVariant( isComputable( ind ) );
+ else if ( p=="hasReference" ) val = QVariant( hasReference( ind ) );