I guess my question is an easy or basic issue. I have been working with inputvolumes which are usually .nii extension so far. If I want to create the entry for the layout I am doing it this way:
Now I need to set input values as integer, float…I have seen that fields in several modules and extensions (as in the image)
but I have not found the code, neither how to set that fields so after introducing the value I could work with it in my python code. Would you show me where could I find this information or how to set that layout fields?
so I can use this value in my code after user has introduced it. Is there any other Qt class which allow me to do that?
Sorry I was not clear enough, but I am saving that information too because it can be helpful in the future : )
You have forgot to set the MRML scene for the node selector widget. To fix this, in Qt designer’s Signal/Slot editor you can add a connection from the top-level qMRMLWidget’s mrmlSceneChanged(vtkMRMLScene*) signal to the node selector’s setMRMLScene(vtkMRMLScene*) slot.