Widget for a group box with Window/Level controls. More...
#include <cmtkQtWindowLevelControls.h>
Public Slots | |
void | slotSetStudy (Study::SmartPtr &study) |
This signal tells the controls that the study object has changed. | |
Signals | |
void | colormap (Study::SmartPtr &) |
This signal is emitted when the controls change. | |
Public Member Functions | |
QtWindowLevelControls (QWidget *const parent) | |
Constructor. | |
Private Slots | |
void | slotSwitchModeWL (int) |
This slot is called when the Window/Level mode is changed. | |
void | slotControlsChanged () |
This slot is called by the UI widgets when their values change. | |
void | slotSelectColormap (int colormapIndex) |
This slot is called when the user picks a new colormap. | |
Private Attributes | |
Study::SmartPtr | m_Study |
The study object that we're working on. | |
QVBoxLayout * | Layout |
Layout of this widget. | |
QtSliderEntry * | BlackWindowSlider |
The top slider in the UI. | |
QtSliderEntry * | WhiteLevelSlider |
The bottom slider in the UI. | |
QtSliderEntry * | GammaSlider |
The gamma slider in the UI. | |
QCheckBox * | WindowLevelCheckBox |
The checkbox that switches between Window/Level and Black/White mode. | |
float | RangeFrom |
The smallest value in the image. | |
float | RangeTo |
The largest value in the image. | |
float | RangeWidth |
The dominant width of the range (standard deviation or total width). |
Widget for a group box with Window/Level controls.
Definition at line 54 of file cmtkQtWindowLevelControls.h.
void cmtk::QtWindowLevelControls::colormap | ( | Study::SmartPtr & | ) | [signal] |
This signal is emitted when the controls change.
The top slider in the UI.
Definition at line 90 of file cmtkQtWindowLevelControls.h.
The gamma slider in the UI.
Definition at line 96 of file cmtkQtWindowLevelControls.h.
QVBoxLayout* cmtk::QtWindowLevelControls::Layout [private] |
Layout of this widget.
Definition at line 87 of file cmtkQtWindowLevelControls.h.
The study object that we're working on.
Definition at line 84 of file cmtkQtWindowLevelControls.h.
float cmtk::QtWindowLevelControls::RangeFrom [private] |
The smallest value in the image.
Definition at line 102 of file cmtkQtWindowLevelControls.h.
float cmtk::QtWindowLevelControls::RangeTo [private] |
The largest value in the image.
Definition at line 105 of file cmtkQtWindowLevelControls.h.
float cmtk::QtWindowLevelControls::RangeWidth [private] |
The dominant width of the range (standard deviation or total width).
Definition at line 108 of file cmtkQtWindowLevelControls.h.
The bottom slider in the UI.
Definition at line 93 of file cmtkQtWindowLevelControls.h.
QCheckBox* cmtk::QtWindowLevelControls::WindowLevelCheckBox [private] |
The checkbox that switches between Window/Level and Black/White mode.
Definition at line 99 of file cmtkQtWindowLevelControls.h.