anatomist  5.1.2
3D neuroimaging data viewer
anatomist::internal::NoDragSlider Class Reference

this subclassed slider always accepts the MouseMove event so that the drag system doesn't start, which causes problems because then the slider doesn't get MouseRelease events. More...

#include <anatomist/window3D/window3D_private.h>

Inheritance diagram for anatomist::internal::NoDragSlider:
Collaboration diagram for anatomist::internal::NoDragSlider:

Signals

void myValueChanged (int, int)
 

Public Member Functions

 NoDragSlider (int number, int minValue, int maxValue, int pageStep, int value, Qt::Orientation orientation, QWidget *parent=0, const char *name=0)
 
virtual ~NoDragSlider ()
 
virtual void mouseMoveEvent (QMouseEvent *e)
 

Public Attributes

int number
 

Detailed Description

this subclassed slider always accepts the MouseMove event so that the drag system doesn't start, which causes problems because then the slider doesn't get MouseRelease events.

Moreover it stores an ID number which is emitted with the myValueChanged() signal.

Definition at line 53 of file window3D_private.h.

Constructor & Destructor Documentation

◆ NoDragSlider()

anatomist::internal::NoDragSlider::NoDragSlider ( int  number,
int  minValue,
int  maxValue,
int  pageStep,
int  value,
Qt::Orientation  orientation,
QWidget *  parent = 0,
const char *  name = 0 
)
inline

Definition at line 58 of file window3D_private.h.

◆ ~NoDragSlider()

virtual anatomist::internal::NoDragSlider::~NoDragSlider ( )
virtual

Member Function Documentation

◆ mouseMoveEvent()

virtual void anatomist::internal::NoDragSlider::mouseMoveEvent ( QMouseEvent *  e)
virtual

◆ myValueChanged

void anatomist::internal::NoDragSlider::myValueChanged ( int  ,
int   
)
signal

Member Data Documentation

◆ number

int anatomist::internal::NoDragSlider::number

Definition at line 77 of file window3D_private.h.


The documentation for this class was generated from the following file: