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
graphicskeyitem.cpp File Reference
#include "graphicskeyitem.h"
#include <QPainter>
#include <QPainterPath>
#include <QFontDatabase>
#include <QTextLayout>
+ Include dependency graph for graphicskeyitem.cpp:

Go to the source code of this file.

Variables

const std::array< qreal,
GraphicsKeyItem::KC_COUNT
KEY_RADIUS_FACTOR {{0.18, 0.1}}
 
const std::array< std::array
< qreal, 4 >
, GraphicsKeyItem::KC_COUNT
MARGINS {{ {{0, 0, 0, 0}}, {{0.5, 0, -0.5, 0}} }}
 

Variable Documentation

const std::array<qreal, GraphicsKeyItem::KC_COUNT> KEY_RADIUS_FACTOR {{0.18, 0.1}}

Definition at line 27 of file graphicskeyitem.cpp.

const std::array<std::array<qreal, 4>, GraphicsKeyItem::KC_COUNT> MARGINS {{ {{0, 0, 0, 0}}, {{0.5, 0, -0.5, 0}} }}

Definition at line 29 of file graphicskeyitem.cpp.