Mixxx

WSpinny Class Reference

#include <wspinny.h>

Collaboration diagram for WSpinny:

List of all members.

Public Slots

void updateAngle (double)
void updateRate (double)
void updateAngleForGhost ()
void updateVinylControlSpeed (double rpm)
void updateVinylControlEnabled (double enabled)
void invalidateVinylControl ()

Signals

void trackDropped (QString filename, QString group)

Public Member Functions

 WSpinny (QWidget *parent, VinylControlManager *pVCMan)
 ~WSpinny ()
void setup (QDomNode node, QString group)
void dragEnterEvent (QDragEnterEvent *event)
void dropEvent (QDropEvent *event)

Protected Member Functions

void paintEvent (QPaintEvent *)
void mouseMoveEvent (QMouseEvent *e)
void mousePressEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
void wheelEvent (QWheelEvent *e)
void timerEvent (QTimerEvent *event)
double calculateAngle (double playpos)
int calculateFullRotations (double playpos)
double calculatePositionFromAngle (double angle)

Detailed Description

Definition at line 15 of file wspinny.h.


Constructor & Destructor Documentation

WSpinny::WSpinny ( QWidget *  parent,
VinylControlManager pVCMan 
)

Definition at line 9 of file wspinny.cpp.

WSpinny::~WSpinny ( )

Definition at line 46 of file wspinny.cpp.

Here is the call graph for this function:


Member Function Documentation

double WSpinny::calculateAngle ( double  playpos) [protected]

Definition at line 264 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int WSpinny::calculateFullRotations ( double  playpos) [protected]

Given a normalized playpos, calculate the integer number of rotations that it would take to wind the vinyl to that position.

Definition at line 299 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

double WSpinny::calculatePositionFromAngle ( double  angle) [protected]

Definition at line 316 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WSpinny::dragEnterEvent ( QDragEnterEvent *  event)

DRAG AND DROP

Definition at line 569 of file wspinny.cpp.

Here is the call graph for this function:

void WSpinny::dropEvent ( QDropEvent *  event)

Definition at line 582 of file wspinny.cpp.

Here is the call graph for this function:

void WSpinny::invalidateVinylControl ( ) [slot]

Definition at line 414 of file wspinny.cpp.

Here is the caller graph for this function:

void WSpinny::mouseMoveEvent ( QMouseEvent *  e) [protected]

Definition at line 424 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WSpinny::mousePressEvent ( QMouseEvent *  e) [protected]

Definition at line 476 of file wspinny.cpp.

Here is the call graph for this function:

void WSpinny::mouseReleaseEvent ( QMouseEvent *  e) [protected]

Definition at line 527 of file wspinny.cpp.

Here is the call graph for this function:

void WSpinny::paintEvent ( QPaintEvent *  e) [protected]

Definition at line 159 of file wspinny.cpp.

void WSpinny::setup ( QDomNode  node,
QString  group 
)

Definition at line 74 of file wspinny.cpp.

Here is the call graph for this function:

void WSpinny::timerEvent ( QTimerEvent *  event) [protected]

Definition at line 358 of file wspinny.cpp.

void WSpinny::trackDropped ( QString  filename,
QString  group 
) [signal]

Here is the caller graph for this function:

void WSpinny::updateAngle ( double  playpos) [slot]

Update the playback angle saved in the widget and repaint.

Parameters:
playposA normalized (0.0-1.0) playback position. (Not an angle!)

Definition at line 334 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WSpinny::updateAngleForGhost ( ) [slot]

Definition at line 364 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WSpinny::updateRate ( double  rate) [slot]

Definition at line 346 of file wspinny.cpp.

Here is the caller graph for this function:

void WSpinny::updateVinylControlEnabled ( double  enabled) [slot]

Definition at line 379 of file wspinny.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WSpinny::updateVinylControlSpeed ( double  rpm) [slot]

Definition at line 374 of file wspinny.cpp.

Here is the caller graph for this function:

void WSpinny::wheelEvent ( QWheelEvent *  e) [protected]

Definition at line 555 of file wspinny.cpp.


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