Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CentralPlotFrame Class Reference

#include <centralplotframe.h>

+ Inheritance diagram for CentralPlotFrame:
+ Collaboration diagram for CentralPlotFrame:

Public Slots

void resetView ()
 
void zoomGoNext ()
 
void zoomGoPrevious ()
 
void zoomGoLast ()
 
void zoomGoFirst ()
 

Signals

void keyWidthChanged (double width)
 
void moveCanvas (int dx, int dy)
 

Public Member Functions

 CentralPlotFrame (int numberOfKeys, int keyOffset)
 
double currentTickDistanceInPixel () const
 

Static Public Attributes

static const int FLYING_UPDATE_INTERVALL_IN_MS = 100
 

Protected Member Functions

void applyTouchTransform (int final)
 
virtual bool event (QEvent *) override
 
virtual bool touchEvent (QTouchEvent *e)
 
virtual void updateLayout () override
 
virtual void showEvent (QShowEvent *e) override
 
virtual void resizeEvent (QResizeEvent *e) override
 
virtual void paintEvent (QPaintEvent *e) override
 

Private Attributes

const int mNumberOfKeys
 
const int mKeyOffset
 
QwtPlotZoomer * mPlotZoomer
 
QwtPlotZoomer * mNonStackInvisibleZoomer
 
QTime mPlotTimer
 
QList< QTouchEvent::TouchPoint > mTouchPoints
 

Detailed Description

Definition at line 28 of file centralplotframe.h.

Constructor & Destructor Documentation

CentralPlotFrame::CentralPlotFrame ( int  numberOfKeys,
int  keyOffset 
)

Definition at line 35 of file centralplotframe.cpp.

Member Function Documentation

void CentralPlotFrame::applyTouchTransform ( int  final)
protected

Definition at line 69 of file centralplotframe.cpp.

double CentralPlotFrame::currentTickDistanceInPixel ( ) const

Definition at line 65 of file centralplotframe.cpp.

bool CentralPlotFrame::event ( QEvent *  e)
overrideprotectedvirtual

Definition at line 176 of file centralplotframe.cpp.

+ Here is the call graph for this function:

void CentralPlotFrame::keyWidthChanged ( double  width)
signal
void CentralPlotFrame::moveCanvas ( int  dx,
int  dy 
)
signal
void CentralPlotFrame::paintEvent ( QPaintEvent *  e)
overrideprotectedvirtual

Definition at line 224 of file centralplotframe.cpp.

void CentralPlotFrame::resetView ( )
slot

Definition at line 229 of file centralplotframe.cpp.

void CentralPlotFrame::resizeEvent ( QResizeEvent *  e)
overrideprotectedvirtual

Definition at line 219 of file centralplotframe.cpp.

+ Here is the call graph for this function:

void CentralPlotFrame::showEvent ( QShowEvent *  e)
overrideprotectedvirtual

Definition at line 214 of file centralplotframe.cpp.

+ Here is the call graph for this function:

bool CentralPlotFrame::touchEvent ( QTouchEvent *  e)
protectedvirtual

Definition at line 184 of file centralplotframe.cpp.

+ Here is the call graph for this function:

void CentralPlotFrame::updateLayout ( )
overrideprotectedvirtual

Definition at line 209 of file centralplotframe.cpp.

+ Here is the call graph for this function:

void CentralPlotFrame::zoomGoFirst ( )
slot

Definition at line 245 of file centralplotframe.cpp.

void CentralPlotFrame::zoomGoLast ( )
slot

Definition at line 249 of file centralplotframe.cpp.

void CentralPlotFrame::zoomGoNext ( )
slot

Definition at line 253 of file centralplotframe.cpp.

void CentralPlotFrame::zoomGoPrevious ( )
slot

Definition at line 257 of file centralplotframe.cpp.

Member Data Documentation

const int CentralPlotFrame::FLYING_UPDATE_INTERVALL_IN_MS = 100
static

Definition at line 32 of file centralplotframe.h.

const int CentralPlotFrame::mKeyOffset
private

Definition at line 61 of file centralplotframe.h.

QwtPlotZoomer* CentralPlotFrame::mNonStackInvisibleZoomer
private

Definition at line 63 of file centralplotframe.h.

const int CentralPlotFrame::mNumberOfKeys
private

Definition at line 60 of file centralplotframe.h.

QTime CentralPlotFrame::mPlotTimer
private

Definition at line 65 of file centralplotframe.h.

QwtPlotZoomer* CentralPlotFrame::mPlotZoomer
private

Definition at line 62 of file centralplotframe.h.

QList<QTouchEvent::TouchPoint> CentralPlotFrame::mTouchPoints
private

Definition at line 68 of file centralplotframe.h.


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