MantisBT - KWWidgets
View Issue Details
0003826KWWidgetspublic2006-09-29 14:482008-02-07 10:52
Steve Pieper 
Yumin Yuan 
normalfeaturealways
assignedopen 
0003826: vtkKWEntryWithFileBrowseWithLabel
Maybe there should be something like a vtkKWEntryWithFileBrowseWithLabel widget that we could use in situations like this. It would be nice to be able to cut-and-paste the file name. While we're at it, it might be nice if this were a combo-box that remembered your most recently used filenames in a drop down menu.
No tags attached.
Issue History
2008-02-07 10:52Sebastien BarreAssigned ToSebastien Barre => Yumin Yuan

Notes
(0005067)
Sebastien Barre   
2006-09-29 14:56   
I think I missed the context. Is it a new class ? What "situations" are you referring to Steve ?
(0005068)
Steve Pieper   
2006-09-29 15:03   
Hi Sebastien - I pasted that out of an email and didn't notice that I'd left out the context :0

What I'm thinking of is something to use in the Add Volume tab in slicer where you want to browse to a file but also set other properties of the file before loading (is this a label map, should the volume be centered or use origin from file, etc). The GUI would also have an Apply button.

In the URL I put an example slicer2 GUI that does something like this. I think combining these in a composite widget would be handy.
(0005069)
Sebastien Barre   
2006-09-29 15:12   
I'm not sure I understand the difference between load button...
(0005070)
Steve Pieper   
2006-09-29 15:20   
Well, with an Entry you could paste in a filename from somewhere else. If it was a combo that kept track of the recently used entries it would be easy to go back and forth between directories etc. I don't see a composite widget like that right now...