1#ifndef SLIDEABLELABEL_H
2#define SLIDEABLELABEL_H
85 QPoint m_xIntervall = QPoint(0, 0);
The SlideableLabel class is the label which sits on the timeline and can be moved on it.
Definition slideablelabel.h:20
QPoint getIntervall()
getIntervall gets the intervall
Definition slideablelabel.cpp:18
void setRelPosition(float delta)
setRelPosition sets the new relative position
Definition slideablelabel.cpp:38
void mouseMoved(int xMovement)
mouseMoved signals that the mouseMoveEvent was triggered on the label and sends the x coordinate
void setIntervall(QPoint xRange)
setIntervall sets the new intervall
Definition slideablelabel.cpp:13
void mouseMoveEvent(QMouseEvent *ev)
mouseMoveEvent sets the label to the position of the mouse movement
Definition slideablelabel.cpp:8
void setHeight(uint height)
setHeight sets the new height
Definition slideablelabel.cpp:28
void setYLevel(int y)
setYLevel sets the new yLevel
Definition slideablelabel.cpp:23
uint getRelPosition()
getRelPosition gets the relative position
Definition slideablelabel.cpp:52
void setWidth(uint width)
setWidth sets the new width
Definition slideablelabel.cpp:33