abstract per-widget (de)initialization state

Bug #592459 reported by Tom Fogal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ImageVis3D
Confirmed
Low
ImageVis3D Developers

Bug Description

RenderWindowActive and RenderWindowClosing have per-widget code to set the initial states of various transfer function widgets. These should be abstracted out to the widget themselves. Perhaps the MainWindow could then keep a list of TF widgets && then simply iterate through them in these two methods.

We might want a "ToolWidget" class with abstract initialize and cleanup methods. These need to be methods because they should be called when the dataset is loaded, IIRC, which happens much later than the tool widget itself gets constructed.

Tom Fogal (tfogal)
Changed in imagevis3d:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → ImageVis3D Developers (iv3d-developers)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.