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>
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.
◆ 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 |
◆ ~NoDragSlider()
virtual anatomist::internal::NoDragSlider::~NoDragSlider |
( |
| ) |
|
|
virtual |
◆ mouseMoveEvent()
virtual void anatomist::internal::NoDragSlider::mouseMoveEvent |
( |
QMouseEvent * |
e | ) |
|
|
virtual |
◆ myValueChanged
void anatomist::internal::NoDragSlider::myValueChanged |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
signal |
◆ number
int anatomist::internal::NoDragSlider::number |
The documentation for this class was generated from the following file: