drumstick 2.9.0
C++ MIDI libraries using Qt objects, idioms, and style.
pianokeybd.h File Reference

Piano Keyboard Widget. More...

#include <QGraphicsView>
#include <QScopedPointer>
#include <QGraphicsScene>
#include "macros.h"
#include "pianopalette.h"
Include dependency graph for pianokeybd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RawKbdHandler
 The RawKbdHandler class callbacks. More...
 
class  PianoHandler
 The PianoHandler class callbacks. More...
 
class  PianoKeybd
 The PianoKeybd class. More...
 

Namespaces

namespace  drumstick
 Drumstick common.
 
namespace  drumstick::widgets
 Drumstick Widgets library MIDI related widgets and functions.
 

Typedefs

typedef QHash< int, int > KeyboardMap
 KeyboardMap. More...
 

Enumerations

enum  LabelVisibility { ShowNever , ShowMinimum , ShowActivated , ShowAlways }
 Labels Visibility. More...
 
enum  LabelAlteration { ShowSharps , ShowFlats , ShowNothing }
 Labels for Alterations. More...
 
enum  LabelOrientation { HorizontalOrientation , VerticalOrientation , AutomaticOrientation }
 Labels Orientation. More...
 
enum  LabelNaming { StandardNames , CustomNamesWithSharps , CustomNamesWithFlats }
 Labels Naming. More...
 
enum  LabelCentralOctave { OctaveNothing = -1 , OctaveC3 , OctaveC4 , OctaveC5 }
 Labels Central Octave. More...
 

Variables

DRUMSTICK_WIDGETS_EXPORT KeyboardMap g_DefaultKeyMap
 Global Key Map Variable. More...
 
DRUMSTICK_WIDGETS_EXPORT KeyboardMap g_DefaultRawKeyMap
 Global Raw Key Map Variable. More...
 
const int DEFAULTSTARTINGKEY = 9
 Default starting key (A)
 
const int DEFAULTBASEOCTAVE = 1
 Default base octave.
 
const int DEFAULTNUMBEROFKEYS = 88
 Default number of piano keys.
 

Detailed Description

Piano Keyboard Widget.

Definition in file pianokeybd.h.