![]() |
drumstick 2.10.0
C++ MIDI libraries using Qt objects, idioms, and style.
|
MIDI related widgets and functions. More...
Namespaces | |
| namespace | drumstick |
| Drumstick common. | |
| namespace | drumstick::widgets |
| Drumstick Widgets library MIDI related widgets and functions. | |
Classes | |
| class | RawKbdHandler |
| The RawKbdHandler class callbacks. More... | |
| class | PianoHandler |
| The PianoHandler class callbacks. More... | |
| class | PianoKeybd |
| The PianoKeybd class. More... | |
| class | PianoPalette |
| The PianoPalette class. More... | |
| class | SettingsFactory |
| The SettingsFactory class holds a global QSettings object. More... | |
| class | PianoScene |
| The PianoScene class is a QGraphicsScene composed by a number of graphics items: the piano keys. More... | |
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... | |
| enum | PalettePolicy { PAL_SINGLE = 0 , PAL_DOUBLE = 1 , PAL_CHANNELS = 2 , PAL_SCALE = 3 , PAL_KEYS = 4 , PAL_FONT = 5 , PAL_HISCALE = 6 } |
| The PalettePolicy enumeration. 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. | |
MIDI related widgets and functions.
| typedef QHash<int, int> KeyboardMap |
KeyboardMap.
KeyboardMap represents a mapping definition to translate from computer keyboard keys and MIDI notes, either for alphanumeric or low level (raw) events.
Definition at line 108 of file pianokeybd.h.
| enum LabelAlteration |
Labels for Alterations.
| Enumerator | |
|---|---|
| ShowSharps | Show sharps on black keys. |
| ShowFlats | Show flats on black keys. |
| ShowNothing | Do not show names on black keys. |
Definition at line 131 of file pianokeybd.h.
| enum LabelCentralOctave |
Labels Central Octave.
| Enumerator | |
|---|---|
| OctaveNothing | Don't show octave numbers. |
| OctaveC3 | Central C, MIDI note #60 is C3. |
| OctaveC4 | Central C, MIDI note #60 is C4. |
| OctaveC5 | Central C, MIDI note #60 is C5. |
Definition at line 161 of file pianokeybd.h.
| enum LabelNaming |
Labels Naming.
| Enumerator | |
|---|---|
| StandardNames | Show standard names. |
| CustomNamesWithSharps | Show custom names with sharps. |
| CustomNamesWithFlats | Show custom names with flats. |
Definition at line 151 of file pianokeybd.h.
| enum LabelOrientation |
Labels Orientation.
| Enumerator | |
|---|---|
| HorizontalOrientation | Show horizontal names. |
| VerticalOrientation | Show vertical names. |
| AutomaticOrientation | Show horizonal or vertical names depending on the size. |
Definition at line 141 of file pianokeybd.h.
| enum LabelVisibility |
Labels Visibility.
| Enumerator | |
|---|---|
| ShowNever | Don't show note names. |
| ShowMinimum | Show only note C names. |
| ShowActivated | Show names when notes are activated. |
| ShowAlways | Show always note names. |
Definition at line 120 of file pianokeybd.h.
| enum PalettePolicy |
The PalettePolicy enumeration.
This enum describes the different kind of color palettes supported, which can be used for highlight, background or foreground colors.
Definition at line 55 of file pianopalette.h.
| KeyboardMap g_DefaultKeyMap |
Global Key Map Variable.
Global Default Alphanumeric Keyboard Map.
Definition at line 44 of file pianokeybd.cpp.
Referenced by PianoKeybd::initScene(), and PianoKeybd::resetKeyboardMap().
| KeyboardMap g_DefaultRawKeyMap |
Global Raw Key Map Variable.
Global Default Raw Keyboard Map.
Definition at line 79 of file pianokeybd.cpp.
Referenced by PianoKeybd::resetRawKeyboardMap().