Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes

QmitkSliderLevelWindowWidget Class Reference
[Widgets]

Provides a widget with a slider to change the level and window value of the current image. More...

#include <QmitkSliderLevelWindowWidget.h>

Collaboration diagram for QmitkSliderLevelWindowWidget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QmitkSliderLevelWindowWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 constructor
 ~QmitkSliderLevelWindowWidget ()
 destructor
void setLevelWindowManager (mitk::LevelWindowManager *levelWindowManager)
 sets the manager who is responsible to collect and deliver changes on Level/Window
void setDataStorage (mitk::DataStorage *ds)
 sets the DataStorage which holds all image-nodes
mitk::LevelWindowManagerGetManager ()
 returns the manager who is responsible to collect and deliver changes on Level/Window

Public Attributes

mitk::LevelWindow m_LevelWindow
mitk::LevelWindowManager::Pointer m_Manager
 manager who is responsible to collect and deliver changes on Level/Window

Protected Slots

void hideScale ()
 hides the scale if "Hide Scale" is selected in contextmenu
void showScale ()
 shows the scale if "Show Scale" is selected in contextmenu

Protected Member Functions

virtual void update ()
 recalculate the size and position of the slider bar
void paintEvent (QPaintEvent *e)
void mouseMoveEvent (QMouseEvent *mouseEvent)
void enterEvent (QEvent *event)
void mousePressEvent (QMouseEvent *mouseEvent)
void mouseReleaseEvent (QMouseEvent *mouseEvent)
virtual void resizeEvent (QResizeEvent *event)

Protected Attributes

QRect m_Rect
QPoint m_StartPos
bool m_Resize
bool m_Bottom
bool m_MouseDown
bool m_Leftbutton
bool m_CtrlPressed
int m_MoveHeight
bool m_ScaleVisible
QRect m_LowerBound
QRect m_UpperBound
unsigned long m_ObserverTag
bool m_IsObserverTagSet
QFont m_Font
QmitkLevelWindowWidgetContextMenum_Contextmenu

Detailed Description

Provides a widget with a slider to change the level and window value of the current image.

This documentation actually refers to the QmitkLevelWindowWidget and is only put in this class due to technical issues (should be moved later).

The QmitkLevelWindowWidget is a kind of container for a QmitkSliderLevelWindowWidget (this is the cyan bar above the text input fields) and a QmitkLineEditLevelWindowWidget (with two text input fields). It holds a reference to a mitk::LevelWindowManager variable, which keeps the LevelWindowProperty of the currently selected image. Level/Window is manipulated by the text inputs and the Slider to adjust brightness/contrast of a single image. All changes on the slider or in the text input fields affect the current image by giving new values to LevelWindowManager. LevelWindowManager then sends a signal to tell other listeners about changes.

Which image is changed is determined by mitkLevelWindowManager. If m_AutoTopMost is true, always the topmost image in data tree (layer property) is affected by changes. The image which is affected by changes can also be changed by QmitkLevelWindowWidgetContextMenu, the context menu for QmitkSliderLevelWindowWidget and QmitkLineEditLevelWindowWidget. There you have the possibility to set a certain image or always the topmost image in the data tree (layer property) to be affected by changes.

The internal mitk::LevelWindow variable contains a range that is valid for a given image. It should not be possible to move the level/window parameters outside this range. The range can be changed and reset to its default values by QmitkLevelWindowWidgetContextMenu, the context menu for QmitkSliderLevelWindowWidget and QmitkLineEditLevelWindowWidget.

Now for the behaviour of the text inputs: The upper one contains the value of the level (brightness), the lower one shows the window (contrast).

The behaviour of the cyan bar is more obvious: the scale in the background shows the valid range. The cyan bar in front displays the currently selected level/window setting. You can change the level by dragging the bar with the left mouse button or clicking somewhere inside the scalerange with the left mouse button. The window is changed by moving the mouse on the upper or lower bound of the bar until the cursor becomes an vertical double-arrowed symbol. Then you can change the windowsize by clicking the left mouse button and move the mouse upwards or downwards. The bar becomes greater upwards as well as downwards. If you want to change the size of the window in only one direction you have to press the CTRL-key while doing the same as mentioned above. This information is also presented by a tooltip text when moving the mouse on the upper or lower bound of the bar.

Definition at line 68 of file QmitkSliderLevelWindowWidget.h.


Constructor & Destructor Documentation

QmitkSliderLevelWindowWidget::QmitkSliderLevelWindowWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

constructor

Constructor

Definition at line 32 of file QmitkSliderLevelWindowWidget.cpp.

References m_Bottom, m_Contextmenu, m_CtrlPressed, m_Font, m_IsObserverTagSet, m_Manager, m_MouseDown, m_MoveHeight, m_ObserverTag, m_Resize, m_ScaleVisible, mitk::LevelWindowManager::New(), and update().

: QWidget( parent, f )
{
  m_Manager = mitk::LevelWindowManager::New();

  itk::ReceptorMemberCommand<QmitkSliderLevelWindowWidget>::Pointer command = itk::ReceptorMemberCommand<QmitkSliderLevelWindowWidget>::New();
  command->SetCallbackFunction(this, &QmitkSliderLevelWindowWidget::OnPropertyModified);
  m_ObserverTag = m_Manager->AddObserver(itk::ModifiedEvent(), command);
  m_IsObserverTagSet = true;

  setMouseTracking(true);
  m_Resize = false;
  m_Bottom = false;
  m_CtrlPressed = false;
  m_MouseDown = false;
  
  m_Font.setPointSize( 6 );
  
  m_MoveHeight = height() - 25;
  m_ScaleVisible = true;
  m_Contextmenu = new QmitkLevelWindowWidgetContextMenu(this); //, true);

  //setBackgroundMode( Qt::NoBackground );
  
  this->hide();
  update();
 
}
QmitkSliderLevelWindowWidget::~QmitkSliderLevelWindowWidget (  )

destructor

Definition at line 61 of file QmitkSliderLevelWindowWidget.cpp.

References m_IsObserverTagSet, m_Manager, and m_ObserverTag.

{
  if ( m_IsObserverTagSet)
  {
    m_Manager->RemoveObserver(m_ObserverTag);
    m_IsObserverTagSet = false;
  }
}

Member Function Documentation

void QmitkSliderLevelWindowWidget::enterEvent ( QEvent *  event ) [protected]

Definition at line 395 of file QmitkSliderLevelWindowWidget.cpp.

References mouseMoveEvent().

{
  /*
  if(event->type() != QEvent::MouseMove)
    return;*/

  //mouseMoveEvent( static_cast< QMouseEvent* > ( event ) );
  QPoint p = QCursor::pos();
  p = this->mapFromGlobal(p);
  QMouseEvent ev(QEvent::MouseMove, p, Qt::NoButton, Qt::NoButton , Qt::NoModifier );
  this->mouseMoveEvent( &ev );
}
mitk::LevelWindowManager * QmitkSliderLevelWindowWidget::GetManager (  )

returns the manager who is responsible to collect and deliver changes on Level/Window

Definition at line 522 of file QmitkSliderLevelWindowWidget.cpp.

References m_Manager.

{
  return m_Manager.GetPointer();
}
void QmitkSliderLevelWindowWidget::hideScale (  ) [protected, slot]

hides the scale if "Hide Scale" is selected in contextmenu

Definition at line 505 of file QmitkSliderLevelWindowWidget.cpp.

References m_ScaleVisible, and update().

{
  m_ScaleVisible = false;
  update();
}
void QmitkSliderLevelWindowWidget::mouseMoveEvent ( QMouseEvent *  mouseEvent ) [protected]

method implements the component behaviour

checks if cursor is on upper or lower bound of slider bar and changes cursor symbol

checks if left mouse button is pressed and if CTRL is pressed and changes sliderbar in movedirection accordingly

Definition at line 257 of file QmitkSliderLevelWindowWidget.cpp.

References mitk::RenderingManager::GetInstance(), mitk::LevelWindow::GetLevel(), mitk::LevelWindow::GetRange(), mitk::LevelWindow::GetRangeMax(), mitk::LevelWindow::GetRangeMin(), mitk::LevelWindow::GetWindow(), mitk::LevelWindow::IsFixed(), m_Bottom, m_CtrlPressed, m_Leftbutton, m_LevelWindow, m_LowerBound, m_Manager, m_MouseDown, m_MoveHeight, m_Rect, m_Resize, m_StartPos, m_UpperBound, and mitk::LevelWindow::SetLevelWindow().

Referenced by enterEvent(), and mousePressEvent().

{
  if(!mouseEvent)
    return;
  if ( m_LevelWindow.IsFixed() )
    return;
  if (!m_MouseDown)
  {
    if ( mouseEvent->pos().y() >= 0 
      && mouseEvent->pos().y() <= (m_Rect.topLeft().y() + 3) )
    {
      setCursor(Qt::SizeVerCursor);
      m_UpperBound.setRect(m_Rect.topLeft().x(), m_Rect.topLeft().y() - 3, 17, 7);
      QToolTip::showText(mouseEvent->globalPos(), "Ctrl + left click to change only upper bound", this, m_UpperBound);
      m_Resize = true;
    }
    else if ( mouseEvent->pos().y() >= (m_Rect.bottomLeft().y() - 3) )
    {
      setCursor(Qt::SizeVerCursor);
      m_LowerBound.setRect(m_Rect.bottomLeft().x(), m_Rect.bottomLeft().y() - 3, 17, 7);
      QToolTip::showText(mouseEvent->globalPos(), "Ctrl + left click to change only lower bound", this, m_LowerBound);
      m_Resize = true;
      m_Bottom = true;
    }
    else
    {
      setCursor(Qt::ArrowCursor);
      m_Resize = false;
      m_Bottom = false;
    }
  }

  else {

    float fact = (float) m_MoveHeight / m_LevelWindow.GetRange();

    if ( m_Leftbutton ) 
    {
      if (m_Resize && !m_CtrlPressed)
      {
        double diff = (mouseEvent->pos().y()) / fact;
        diff -= (m_StartPos.y()) / fact;
        m_StartPos = mouseEvent->pos();

        if (diff == 0) return;
        float value;
        if (m_Bottom)
          value = m_LevelWindow.GetWindow() + ( ( 2 * diff ) );
        else
          value = m_LevelWindow.GetWindow() - ( ( 2 * diff ) );

        if ( value < 1 )
          value = 1;

        m_LevelWindow.SetLevelWindow( m_LevelWindow.GetLevel(), value );
      } 
      else if(m_Resize && m_CtrlPressed)
      {
        if (!m_Bottom)
        {
          double diff = (mouseEvent->pos().y()) / fact;
          diff -= (m_StartPos.y()) / fact;
          m_StartPos = mouseEvent->pos();

          if (diff == 0) return;
          float value;
          
          value = m_LevelWindow.GetWindow() - ( ( diff ) );

          if ( value < 1 )
            value = 1;
          float oldWindow;
          float oldLevel;
          float newLevel;
          oldWindow = m_LevelWindow.GetWindow();
          oldLevel = m_LevelWindow.GetLevel();
          newLevel = oldLevel + (value - oldWindow)/2;
          if (!((newLevel + value/2) > m_LevelWindow.GetRangeMax())) 
            m_LevelWindow.SetLevelWindow( newLevel, value );
        }
        else
        {
          double diff = (mouseEvent->pos().y()) / fact;
          diff -= (m_StartPos.y()) / fact;
          m_StartPos = mouseEvent->pos();

          if (diff == 0) return;
          float value;
          
          value = m_LevelWindow.GetWindow() + ( ( diff ) );

          if ( value < 1 )
            value = 1;
          float oldWindow;
          float oldLevel;
          float newLevel;
          oldWindow = m_LevelWindow.GetWindow();
          oldLevel = m_LevelWindow.GetLevel();
          newLevel = oldLevel - (value - oldWindow)/2;
          if (!((newLevel - value/2) < m_LevelWindow.GetRangeMin())) 
            m_LevelWindow.SetLevelWindow( newLevel, value );
        }
      }
      else
      {
        float maxv = m_LevelWindow.GetRangeMax();
        float minv = m_LevelWindow.GetRangeMin();
        float wh = m_LevelWindow.GetWindow() / 2;
  
    float level = (m_MoveHeight - mouseEvent->pos().y()) / fact + minv;

    double diff = (mouseEvent->pos().x()) / fact;
    diff -= (m_StartPos.x()) / fact;
    m_StartPos = mouseEvent->pos();

    float window;
    if (m_Bottom)
      window = m_LevelWindow.GetWindow() + ( ( 2 * diff ) );
    else
      window = m_LevelWindow.GetWindow() - ( ( 2 * diff ) );

    if ( window < 1 )
      window = 1;

    if ( level - wh < minv )
      m_LevelWindow.SetLevelWindow( m_LevelWindow.GetRangeMin() + wh, m_LevelWindow.GetWindow() );

    else if ( level + wh > maxv )
      m_LevelWindow.SetLevelWindow( m_LevelWindow.GetRangeMax() - wh, m_LevelWindow.GetWindow() );

    else
      m_LevelWindow.SetLevelWindow( level, window );
      }
      m_Manager->SetLevelWindow(m_LevelWindow);
      mitk::RenderingManager::GetInstance()->RequestUpdateAll();
    }
  }
}
void QmitkSliderLevelWindowWidget::mousePressEvent ( QMouseEvent *  mouseEvent ) [protected]

registers events when a mousebutton is pressed

if leftbutton is pressed m_Leftbutton is set to true

also checks if CTRL is pressed and sets the bool variable m_CtrlPressed

Definition at line 411 of file QmitkSliderLevelWindowWidget.cpp.

References mitk::LevelWindow::IsFixed(), m_CtrlPressed, m_Leftbutton, m_LevelWindow, m_MouseDown, m_StartPos, and mouseMoveEvent().

                                                                            {
  if ( m_LevelWindow.IsFixed() )
    return;
  m_MouseDown = true;
  m_StartPos = mouseEvent->pos();

  if ( mouseEvent->button() == Qt::LeftButton )
  {
    if (mouseEvent->modifiers() == Qt::ControlModifier || mouseEvent->modifiers() == Qt::ShiftModifier)
    {
      m_CtrlPressed = true;
    }
    else
    {
      m_CtrlPressed = false;
    }
    m_Leftbutton = true;
  }
  else
    m_Leftbutton = false;

  mouseMoveEvent( mouseEvent );
}
void QmitkSliderLevelWindowWidget::mouseReleaseEvent ( QMouseEvent *  mouseEvent ) [protected]

sets the variable m_MouseDown to false

Definition at line 446 of file QmitkSliderLevelWindowWidget.cpp.

References mitk::LevelWindow::IsFixed(), m_LevelWindow, and m_MouseDown.

{
  if ( m_LevelWindow.IsFixed() )
    return;
  m_MouseDown = false;
}
void QmitkSliderLevelWindowWidget::paintEvent ( QPaintEvent *  e ) [protected]

repaint the slider and the scale

Definition at line 107 of file QmitkSliderLevelWindowWidget.cpp.

References mitk::LevelWindow::GetRange(), mitk::LevelWindow::GetRangeMax(), mitk::LevelWindow::GetRangeMin(), int(), m_Font, m_LevelWindow, m_MoveHeight, m_Rect, and m_ScaleVisible.

{
  QPixmap pm(width(), height());
  //pm.fill( static_cast<QWidget*>(parent())->paletteBackgroundColor() );
  pm.fill(this, 0, 0);
  QPainter painter(&pm);

  painter.setFont( m_Font );
  //painter.setPen(static_cast<QWidget*>(parent())->paletteForegroundColor());
  painter.setPen(this->palette().color(this->foregroundRole()));
  
  QColor c(93,144,169);
  QColor cl = c.light();
  QColor cd = c.dark();

  painter.setBrush(c);
  painter.drawRect(m_Rect);

  float mr = m_LevelWindow.GetRange();

  if ( mr < 1 )
    mr = 1;
 
  float fact = (float) m_MoveHeight / mr;

  //begin draw scale
  if (m_ScaleVisible)
  {
    int minRange = (int)m_LevelWindow.GetRangeMin();
    int maxRange = (int)m_LevelWindow.GetRangeMax();
    int yValue = m_MoveHeight + (int)(minRange*fact);
    QString s = " 0";
    if (minRange <= 0 && maxRange >= 0)
    {
      painter.drawLine( 5, yValue , 15, yValue);
      painter.drawText( 21, yValue + 3, s );
    }

    int count = 1;
    int k = 5;
    bool enoughSpace = false;
    bool enoughSpace2 = false;

    for(int i = m_MoveHeight + (int)(minRange*fact); i < m_MoveHeight;)
    {
      if (-count*20 < minRange)
        break;
      yValue = m_MoveHeight + (int)((minRange + count*20)*fact);
      s = QString::number(-count*20);
      if (count % k && ((20*fact) > 2.5))
      {
        painter.drawLine( 8, yValue, 12, yValue);
        enoughSpace = true;
      }
      else if (!(count % k))
      {
        if ((k*20*fact) > 7)
        {
          painter.drawLine( 5, yValue, 15, yValue);
          painter.drawText( 21, yValue + 3, s );
          enoughSpace2 = true;
        }
        else
        {
          k += 5;
        }
      }
      if (enoughSpace)
      {
        i=yValue;
        count++;
      }
      else if (enoughSpace2)
      {
        i=yValue;
        count += k;
      }
      else
      {
        i=yValue;
        count = k;
      }
    }
    count = 1;
    k = 5;
    enoughSpace = false;
    enoughSpace2 = false;

    for(int i = m_MoveHeight + (int)(minRange*fact); i >= 0;)
    {
      if (count*20 > maxRange)
        break;
      yValue = m_MoveHeight + (int)((minRange - count*20)*fact);
      s = QString::number(count*20);
      if(count % k && ((20*fact) > 2.5))
      {
        if (!(minRange > 0 && (count*20) < minRange))
          painter.drawLine( 8, yValue, 12, yValue);
        enoughSpace = true;
      }
      else if (!(count % k))
      {
        if ((k*20*fact) > 7)
        {
          if (!(minRange > 0 && (count*20) < minRange))
          {
            painter.drawLine( 5, yValue, 15, yValue);
            painter.drawText( 21, yValue + 3, s );
          }
          enoughSpace2 = true;
        }
        else
        {
          k += 5;
        }
      }
      if (enoughSpace)
      {
        i=yValue;
        count++;
      }
      else if (enoughSpace2)
      {
        i=yValue;
        count += k;
      }
      else
      {
        i=yValue;
        count = k;
      }
    }
  }
  //end draw scale
  painter.setPen (cl);
  painter.drawLine(m_Rect.topLeft(),m_Rect.topRight());
  painter.drawLine(m_Rect.topLeft(),m_Rect.bottomLeft());
  
  painter.setPen (cd);
  painter.drawLine(m_Rect.topRight(),m_Rect.bottomRight());
  painter.drawLine(m_Rect.bottomRight(),m_Rect.bottomLeft());
  painter.end();

  QPainter p (this);
  p.drawPixmap(0, 0, pm);
}
void QmitkSliderLevelWindowWidget::resizeEvent ( QResizeEvent *  event ) [protected, virtual]

causes an update of the sliderbar when resizing the window

Definition at line 438 of file QmitkSliderLevelWindowWidget.cpp.

References m_MoveHeight, and update().

                                                                      {
  m_MoveHeight = event->size().height() - 25;
  update();
}
void QmitkSliderLevelWindowWidget::setDataStorage ( mitk::DataStorage ds )

sets the DataStorage which holds all image-nodes

Definition at line 517 of file QmitkSliderLevelWindowWidget.cpp.

References m_Manager.

{
  m_Manager->SetDataStorage(ds);
}
void QmitkSliderLevelWindowWidget::setLevelWindowManager ( mitk::LevelWindowManager levelWindowManager )

sets the manager who is responsible to collect and deliver changes on Level/Window

Definition at line 70 of file QmitkSliderLevelWindowWidget.cpp.

References m_IsObserverTagSet, m_Manager, and m_ObserverTag.

Referenced by QmitkLevelWindowWidget::QmitkLevelWindowWidget().

{
  if ( m_IsObserverTagSet)
  {
    m_Manager->RemoveObserver(m_ObserverTag);
   m_IsObserverTagSet = false;
  }
  m_Manager = levelWindowManager;
  if ( m_Manager.IsNotNull() )
  {
    itk::ReceptorMemberCommand<QmitkSliderLevelWindowWidget>::Pointer command = itk::ReceptorMemberCommand<QmitkSliderLevelWindowWidget>::New();
    command->SetCallbackFunction(this, &QmitkSliderLevelWindowWidget::OnPropertyModified);
    m_ObserverTag = m_Manager->AddObserver(itk::ModifiedEvent(), command);
    m_IsObserverTagSet = true;
  }
}
void QmitkSliderLevelWindowWidget::showScale (  ) [protected, slot]

shows the scale if "Show Scale" is selected in contextmenu

Definition at line 511 of file QmitkSliderLevelWindowWidget.cpp.

References m_ScaleVisible, and update().

{
  m_ScaleVisible = true;
  update();
}
void QmitkSliderLevelWindowWidget::update (  ) [protected, virtual]

recalculate the size and position of the slider bar

Definition at line 456 of file QmitkSliderLevelWindowWidget.cpp.

References mitk::LevelWindow::GetLowerWindowBound(), mitk::LevelWindow::GetRange(), mitk::LevelWindow::GetRangeMin(), mitk::LevelWindow::GetUpperWindowBound(), mitk::LevelWindow::GetWindow(), int(), m_LevelWindow, m_MoveHeight, m_Rect, and m_ScaleVisible.

Referenced by hideScale(), QmitkSliderLevelWindowWidget(), resizeEvent(), and showScale().

                                          {
  int rectWidth;
  if(m_ScaleVisible)
  {
    rectWidth = 17;
    setMinimumSize ( QSize( 50, 50 ) );
    setMaximumSize ( QSize( 50, 2000 ) );
    setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Expanding ) );
  }
  else
  {
    rectWidth = 26;
    setMinimumSize ( QSize( 40, 50 ) );
    setMaximumSize ( QSize( 50, 2000 ) );
    setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Expanding ) );
  }
  float mr = m_LevelWindow.GetRange();

  if ( mr < 1 )
    mr = 1;

  float fact = (float) m_MoveHeight / mr;

  float rectHeight = m_LevelWindow.GetWindow() * fact;

  if ( rectHeight < 15 )
    rectHeight = 15;

  if ( m_LevelWindow.GetLowerWindowBound() < 0 )
    m_Rect.setRect( 2, (int) (m_MoveHeight - (m_LevelWindow.GetUpperWindowBound() - m_LevelWindow.GetRangeMin()) * fact) , rectWidth, (int) rectHeight );
  else
    m_Rect.setRect( 2, (int) (m_MoveHeight - (m_LevelWindow.GetUpperWindowBound() - m_LevelWindow.GetRangeMin()) * fact), rectWidth, (int) rectHeight );
  
  QWidget::repaint();
}

Member Data Documentation

Definition at line 121 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent(), and QmitkSliderLevelWindowWidget().

data structure which creates the contextmenu for QmitkLineEditLevelWindowWidget

Definition at line 137 of file QmitkSliderLevelWindowWidget.h.

Referenced by QmitkSliderLevelWindowWidget().

Definition at line 132 of file QmitkSliderLevelWindowWidget.h.

Referenced by paintEvent(), and QmitkSliderLevelWindowWidget().

Definition at line 123 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent(), and mousePressEvent().

data structure which stores the values manipulated by a QmitkSliderLevelWindowWidget

Definition at line 84 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), paintEvent(), and update().

Definition at line 127 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent().

manager who is responsible to collect and deliver changes on Level/Window

Definition at line 87 of file QmitkSliderLevelWindowWidget.h.

Referenced by GetManager(), mouseMoveEvent(), QmitkSliderLevelWindowWidget(), setDataStorage(), setLevelWindowManager(), and ~QmitkSliderLevelWindowWidget().

helper for drawing the component

Definition at line 113 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent(), paintEvent(), and update().

Definition at line 120 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent(), and QmitkSliderLevelWindowWidget().

helper for drawing the component

Definition at line 118 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent(), and mousePressEvent().

Definition at line 128 of file QmitkSliderLevelWindowWidget.h.

Referenced by mouseMoveEvent().


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