TF widget methods are attached to the MainWindow

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

Bug Description

Methods for updating / changing / handling UI elements that appear in TFqn widgets are actually handled by creating a slot in the MainWindow and connecting the TFqn events to those slots. This means that every new widget must create and maintain a set of methods in ImageVis3D.h + a corresponding .cpp file.

The TFqn widget should handle these events itself. In many cases, this will require a communication channel to the MainWindow: changing a swatch in the 2D transfer function must send the new data to the Renderer, for example.

This will make it easier for people to maintain their own external widgets.

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.