|
fw4spl
|
A qt panel used to control a VTK 2D Negatoscope view. More...
#include <SliceSelector.hpp>
Inheritance diagram for fwGuiQt::SliceSelector:
Collaboration diagram for fwGuiQt::SliceSelector:Public Types | |
| typedef std::function< void(int) > | ChangeIndexCallback |
| typedef std::function< void(int) > | ChangeTypeCallback |
Public Member Functions | |
| FWGUIQT_API | SliceSelector (QWidget *const parent=nullptr) noexcept |
| Constructor. More... | |
| virtual FWGUIQT_API | ~SliceSelector () noexcept |
| Destructor. | |
| FWGUIQT_API void | setSliceRange (int min, int max) |
| FWGUIQT_API void | setSliceValue (int index) |
| FWGUIQT_API void | setTypeSelection (int type) |
| FWGUIQT_API void | setEnable (bool enable) |
| FWGUIQT_API void | setChangeIndexCallback (ChangeIndexCallback fct) |
| FWGUIQT_API void | setChangeTypeCallback (ChangeTypeCallback fct) |
Protected Slots | |
| FWGUIQT_API void | onSliceTypeChange (int index) |
| Event handler for a slice type change. More... | |
| FWGUIQT_API void | onSliceIndexChange (int value) noexcept |
| Event handler for a slice index change. More... | |
A qt panel used to control a VTK 2D Negatoscope view.
Definition at line 33 of file SliceSelector.hpp.
|
noexcept |
Constructor.
| parent | The parent widget. |
Slice type names as a qt string array.
Definition at line 26 of file SliceSelector.cpp.
|
protectedslotnoexcept |
Event handler for a slice index change.
| value | current value of the slice index slider. |
Definition at line 95 of file SliceSelector.cpp.
References OSLM_TRACE, and SLM_TRACE_FUNC.
Referenced by ~SliceSelector().
Here is the caller graph for this function:
|
protectedslot |
Event handler for a slice type change.
| index | index of the selected type item. |
Definition at line 140 of file SliceSelector.cpp.
Referenced by ~SliceSelector().
Here is the caller graph for this function: