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
PlotsDialog Class Reference

#include <plotsdialog.h>

+ Inheritance diagram for PlotsDialog:
+ Collaboration diagram for PlotsDialog:

Public Types

enum  Curves {
  CURVE_INHARMONICITY = 0, CURVE_RECORDED, CURVE_COMPUTED, CURVE_TUNED,
  CURVE_COUNT
}
 

Public Member Functions

 PlotsDialog (const Piano &piano, QWidget *parent)
 
virtual ~PlotsDialog ()
 

Private Slots

void updateTickWidth (double d)
 
void plotToolButtonToggled (bool)
 

Private Member Functions

int getKeyOffset ()
 
void prepareCurve (Curves curve)
 

Private Attributes

CentralPlotFramemPlot
 
std::array< QwtPlotCurve
*, CURVE_COUNT
mCurves
 
std::array< PlotToolButton
*, CURVE_COUNT
mPlotToolButtons
 
const PianomPiano
 
const KeyboardmKeyboard
 

Detailed Description

Definition at line 33 of file plotsdialog.h.

Member Enumeration Documentation

Enumerator
CURVE_INHARMONICITY 
CURVE_RECORDED 
CURVE_COMPUTED 
CURVE_TUNED 
CURVE_COUNT 

Definition at line 37 of file plotsdialog.h.

Constructor & Destructor Documentation

PlotsDialog::PlotsDialog ( const Piano piano,
QWidget *  parent 
)

Definition at line 45 of file plotsdialog.cpp.

+ Here is the call graph for this function:

PlotsDialog::~PlotsDialog ( )
virtual

Definition at line 183 of file plotsdialog.cpp.

Member Function Documentation

int PlotsDialog::getKeyOffset ( )
private

Definition at line 213 of file plotsdialog.cpp.

+ Here is the call graph for this function:

void PlotsDialog::plotToolButtonToggled ( bool  b)
privateslot

Definition at line 271 of file plotsdialog.cpp.

+ Here is the call graph for this function:

void PlotsDialog::prepareCurve ( Curves  curve)
private

Definition at line 218 of file plotsdialog.cpp.

+ Here is the call graph for this function:

void PlotsDialog::updateTickWidth ( double  d)
privateslot

Definition at line 202 of file plotsdialog.cpp.

Member Data Documentation

std::array<QwtPlotCurve *, CURVE_COUNT> PlotsDialog::mCurves
private

Definition at line 60 of file plotsdialog.h.

const Keyboard& PlotsDialog::mKeyboard
private

Definition at line 64 of file plotsdialog.h.

const Piano& PlotsDialog::mPiano
private

Definition at line 63 of file plotsdialog.h.

CentralPlotFrame* PlotsDialog::mPlot
private

Definition at line 59 of file plotsdialog.h.

std::array<PlotToolButton *, CURVE_COUNT> PlotsDialog::mPlotToolButtons
private

Definition at line 61 of file plotsdialog.h.


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