Public Slots | Signals | Public Member Functions | Private Slots | Private Attributes

cmtk::QtWindowLevelControls Class Reference
[cmtkQt Library]

Widget for a group box with Window/Level controls. More...

#include <cmtkQtWindowLevelControls.h>

Collaboration diagram for cmtk::QtWindowLevelControls:
Collaboration graph
[legend]

List of all members.

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.
QtSliderEntryBlackWindowSlider
 The top slider in the UI.
QtSliderEntryWhiteLevelSlider
 The bottom slider in the UI.
QtSliderEntryGammaSlider
 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).

Detailed Description

Widget for a group box with Window/Level controls.

Definition at line 54 of file cmtkQtWindowLevelControls.h.


Member Function Documentation

void cmtk::QtWindowLevelControls::colormap ( Study::SmartPtr  ) [signal]

This signal is emitted when the controls change.


Member Data Documentation

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.

The smallest value in the image.

Definition at line 102 of file cmtkQtWindowLevelControls.h.

The largest value in the image.

Definition at line 105 of file cmtkQtWindowLevelControls.h.

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.

The checkbox that switches between Window/Level and Black/White mode.

Definition at line 99 of file cmtkQtWindowLevelControls.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines