|
hydrogen 1.2.6
|
Pattern Editor Panel. More...
#include <PatternEditorPanel.h>
Public Slots | |
| void | onPreferencesChanged (H2Core::Preferences::Changes changes) |
| void | showDrumEditor () |
| void | showPianoRollEditor () |
Public Member Functions | |
| PatternEditorPanel (QWidget *parent) | |
| ~PatternEditorPanel () | |
| virtual void | drumkitLoadedEvent () override |
| void | ensureCursorVisible () |
| int | getCursorPosition () |
| DrumPatternEditor * | getDrumPatternEditor () |
| const QScrollArea * | getDrumPatternEditorScrollArea () const |
| const QScrollBar * | getHorizontalScrollBar () const |
| PatternEditorInstrumentList * | getInstrumentList () |
| NotePropertiesRuler * | getLeadLagEditor () |
| NotePropertiesRuler * | getNoteKeyEditor () |
| const QScrollArea * | getNoteLeadLagScrollArea () const |
| const QScrollArea * | getNoteNoteKeyScrollArea () const |
| const QScrollArea * | getNotePanScrollArea () const |
| const QScrollArea * | getNoteProbabilityScrollArea () const |
| NotePropertiesRuler::Mode | getNotePropertiesMode () const |
| const QScrollArea * | getNoteVelocityScrollArea () const |
| NotePropertiesRuler * | getPanEditor () |
| PatternEditorRuler * | getPatternEditorRuler () |
| PianoRollEditor * | getPianoRollEditor () |
| const QScrollArea * | getPianoRollEditorScrollArea () const |
| NotePropertiesRuler * | getProbabilityEditor () |
| NotePropertiesRuler * | getVelocityEditor () |
| const QScrollBar * | getVerticalScrollBar () const |
| int | moveCursorLeft (int n=1) |
| int | moveCursorRight (int n=1) |
| virtual void | patternEditorLockedEvent () override |
| virtual void | patternModifiedEvent () override |
| void | patternSizeChangedAction (int nLength, double fDenominator, int nSelectedPatternNumber) |
| virtual void | playingPatternsChangedEvent () override |
| virtual void | relocationEvent () override |
| virtual void | selectedInstrumentChangedEvent () override |
| virtual void | selectedPatternChangedEvent () override |
| void | selectInstrumentNotes (int nInstrument) |
| void | setCursorPosition (int nCursorPosition) |
| virtual void | songModeActivationEvent () override |
| virtual void | songSizeChangedEvent () override |
| virtual void | stackedModeActivationEvent (int) override |
| void | updateEditors (bool bPatternOnly=false) |
| void | updatePatternInfo () |
| void | updateSLnameLabel () |
| virtual void | updateSongEvent (int nValue) override |
Public Member Functions inherited from EventListener | |
| virtual | ~EventListener () |
| virtual void | actionModeChangeEvent (int nValue) |
| virtual void | bbtChangedEvent () |
| virtual void | driverChangedEvent () |
| virtual void | errorEvent (int nErrorCode) |
| virtual void | gridCellToggledEvent () |
| virtual void | instrumentParametersChangedEvent (int nInstrumentNumber) |
| virtual void | jacksessionEvent (int nValue) |
| virtual void | jackTimebaseStateChangedEvent (int nValue) |
| virtual void | jackTransportActivationEvent () |
| virtual void | loopModeActivationEvent () |
| virtual void | metronomeEvent (int nValue) |
| virtual void | midiActivityEvent () |
| virtual void | midiMapChangedEvent () |
| virtual void | nextPatternsChangedEvent () |
| virtual void | nextShotEvent () |
| virtual void | noteOnEvent (int nInstrument) |
| virtual void | playbackTrackChangedEvent () |
| virtual void | playlistLoadSongEvent (int nIndex) |
| virtual void | progressEvent (int nValue) |
| virtual void | quitEvent (int nValue) |
| virtual void | songModifiedEvent () |
| virtual void | soundLibraryChangedEvent () |
| virtual void | stateChangedEvent (H2Core::AudioEngine::State state) |
| virtual void | tempoChangedEvent (int nValue) |
| virtual void | timelineActivationEvent () |
| virtual void | timelineUpdateEvent (int nValue) |
| virtual void | undoRedoActionEvent (int nValue) |
| virtual void | updatePreferencesEvent (int nValue) |
| virtual void | XRunEvent () |
Public Member Functions inherited from Object< PatternEditorPanel > | |
| Object () | |
| Object (const Object< PatternEditorPanel > &other) | |
Public Member Functions inherited from Base | |
| Base () | |
| Base (const Base &other) | |
| virtual const char * | class_name () const |
| void | logBacktrace () const |
| Print the current stack at point into the debug log. | |
| void | Print (bool bShort=true) const |
| Prints content of toQString() via DEBUGLOG. | |
| virtual QString | toQString (const QString &sPrefix="", bool bShort=true) const |
| Formatted string version for debugging purposes. | |
Private Slots | |
| void | contentsMoving (int dummy) |
| richiamato dall'uso dello scroll del mouse | |
| void | gridResolutionChanged (int nSelected) |
| void | hearNotesBtnClick () |
| void | on_patternEditorHScroll (int) |
| void | on_patternEditorVScroll (int) |
| void | patternSizeChanged (double) |
| void | propertiesComboChanged (int nSelected) |
| void | quantizeEventsBtnClick () |
| void | showDrumEditorBtnClick () |
| void | switchPatternSizeFocus () |
| void | syncToExternalHorizontalScrollbar (int) |
| void | updatePatternSizeLCD () |
| Batch version for setting the values of the pattern size spin boxes. | |
| void | zoomInBtnClicked () |
| void | zoomOutBtnClicked () |
Private Member Functions | |
| virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| virtual void | dropEvent (QDropEvent *event) override |
| virtual void | resizeEvent (QResizeEvent *ev) override |
| virtual void | showEvent (QShowEvent *ev) override |
| void | updateStyleSheet () |
Additional Inherited Members | |
Static Public Member Functions inherited from Base | |
| static const char * | _class_name () |
| return the class name | |
| static QString | base_clock (const QString &sMsg) |
| Measures the current time and stores it in __last_clock. | |
| static QString | base_clock_in (const QString &sMsg) |
| static int | bootstrap (Logger *logger, bool count=false) |
| must be called before any Object instantiation ! | |
| static bool | count_active () |
| static int | getAliveObjectCount () |
| static object_map_t | getObjectMap () |
| static Logger * | logger () |
| return the logger instance | |
| static int | objects_count () |
| static void | printObjectMapDiff (object_map_t map) |
| Creates the difference between a snapshot of the object map and its current state and prints it to std::cout. | |
| static void | set_count (bool flag) |
| enable/disable class instances counting | |
| static void | write_objects_map_to (std::ostream &out, object_map_t *map=nullptr) |
| output the full objects map to a given ostream | |
| static void | write_objects_map_to_cerr () |
| output objects map to stderr | |
Static Public Attributes inherited from Base | |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. | |
Protected Member Functions inherited from WidgetWithScalableFont< 8, 10, 12 > | |
| constexpr int | getPointSize (H2Core::FontTheme::FontSize fontSize) const |
Protected Member Functions inherited from EventListener | |
| virtual | ~EventListener () |
| virtual void | actionModeChangeEvent (int nValue) |
| virtual void | bbtChangedEvent () |
| virtual void | driverChangedEvent () |
| virtual void | errorEvent (int nErrorCode) |
| virtual void | gridCellToggledEvent () |
| virtual void | instrumentParametersChangedEvent (int nInstrumentNumber) |
| virtual void | jacksessionEvent (int nValue) |
| virtual void | jackTimebaseStateChangedEvent (int nValue) |
| virtual void | jackTransportActivationEvent () |
| virtual void | loopModeActivationEvent () |
| virtual void | metronomeEvent (int nValue) |
| virtual void | midiActivityEvent () |
| virtual void | midiMapChangedEvent () |
| virtual void | nextPatternsChangedEvent () |
| virtual void | nextShotEvent () |
| virtual void | noteOnEvent (int nInstrument) |
| virtual void | playbackTrackChangedEvent () |
| virtual void | playlistLoadSongEvent (int nIndex) |
| virtual void | progressEvent (int nValue) |
| virtual void | quitEvent (int nValue) |
| virtual void | songModifiedEvent () |
| virtual void | soundLibraryChangedEvent () |
| virtual void | stateChangedEvent (H2Core::AudioEngine::State state) |
| virtual void | tempoChangedEvent (int nValue) |
| virtual void | timelineActivationEvent () |
| virtual void | timelineUpdateEvent (int nValue) |
| virtual void | undoRedoActionEvent (int nValue) |
| virtual void | updatePreferencesEvent (int nValue) |
| virtual void | XRunEvent () |
Protected Member Functions inherited from Object< PatternEditorPanel > | |
| ~Object () | |
| Object () | |
| Object (const Object< PatternEditorPanel > &other) | |
Protected Member Functions inherited from Base | |
| ~Base () | |
| Base () | |
| Base (const Base &other) | |
| virtual const char * | class_name () const |
| void | logBacktrace () const |
| Print the current stack at point into the debug log. | |
| void | Print (bool bShort=true) const |
| Prints content of toQString() via DEBUGLOG. | |
| virtual QString | toQString (const QString &sPrefix="", bool bShort=true) const |
| Formatted string version for debugging purposes. | |
Static Protected Member Functions inherited from Base | |
| static void | registerClass (const char *name, const atomic_obj_cpt_t *counters) |
| static const char * | _class_name () |
| return the class name | |
| static QString | base_clock (const QString &sMsg) |
| Measures the current time and stores it in __last_clock. | |
| static QString | base_clock_in (const QString &sMsg) |
| static int | bootstrap (Logger *logger, bool count=false) |
| must be called before any Object instantiation ! | |
| static bool | count_active () |
| static int | getAliveObjectCount () |
| static object_map_t | getObjectMap () |
| static Logger * | logger () |
| return the logger instance | |
| static int | objects_count () |
| static void | printObjectMapDiff (object_map_t map) |
| Creates the difference between a snapshot of the object map and its current state and prints it to std::cout. | |
| static void | set_count (bool flag) |
| enable/disable class instances counting | |
| static void | write_objects_map_to (std::ostream &out, object_map_t *map=nullptr) |
| output the full objects map to a given ostream | |
| static void | write_objects_map_to_cerr () |
| output objects map to stderr | |
Static Protected Attributes inherited from Base | |
| static bool | __count = false |
| should we count class instances | |
| static timeval | __last_clock = { 0, 0 } |
| static Logger * | __logger = nullptr |
| static bool | bLogColors = true |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. | |
Pattern Editor Panel.
Definition at line 57 of file PatternEditorPanel.h.
|
explicit |
Definition at line 67 of file PatternEditorPanel.cpp.
| ~PatternEditorPanel | ( | ) |
Definition at line 641 of file PatternEditorPanel.cpp.
|
privateslot |
richiamato dall'uso dello scroll del mouse
Definition at line 863 of file PatternEditorPanel.cpp.
|
overrideprivatevirtual |
Definition at line 1156 of file PatternEditorPanel.cpp.
|
overrideprivatevirtual |
Definition at line 1163 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 645 of file PatternEditorPanel.cpp.
| void ensureCursorVisible | ( | ) |
Definition at line 1243 of file PatternEditorPanel.cpp.
| int getCursorPosition | ( | ) |
Definition at line 1238 of file PatternEditorPanel.cpp.
|
inline |
Definition at line 66 of file PatternEditorPanel.h.
|
inline |
Definition at line 75 of file PatternEditorPanel.h.
|
inline |
Definition at line 83 of file PatternEditorPanel.h.
|
inline |
Definition at line 72 of file PatternEditorPanel.h.
|
inline |
Definition at line 69 of file PatternEditorPanel.h.
|
inline |
Definition at line 70 of file PatternEditorPanel.h.
|
inline |
Definition at line 79 of file PatternEditorPanel.h.
|
inline |
Definition at line 80 of file PatternEditorPanel.h.
|
inline |
Definition at line 78 of file PatternEditorPanel.h.
|
inline |
Definition at line 81 of file PatternEditorPanel.h.
| NotePropertiesRuler::Mode getNotePropertiesMode | ( | ) | const |
Definition at line 1348 of file PatternEditorPanel.cpp.
|
inline |
Definition at line 77 of file PatternEditorPanel.h.
|
inline |
Definition at line 68 of file PatternEditorPanel.h.
|
inline |
Definition at line 74 of file PatternEditorPanel.h.
|
inline |
Definition at line 73 of file PatternEditorPanel.h.
|
inline |
Definition at line 76 of file PatternEditorPanel.h.
|
inline |
Definition at line 71 of file PatternEditorPanel.h.
|
inline |
Definition at line 67 of file PatternEditorPanel.h.
|
inline |
Definition at line 82 of file PatternEditorPanel.h.
|
privateslot |
Definition at line 700 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 808 of file PatternEditorPanel.cpp.
| int moveCursorLeft | ( | int | n = 1 | ) |
Definition at line 1261 of file PatternEditorPanel.cpp.
| int moveCursorRight | ( | int | n = 1 | ) |
Definition at line 1271 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 690 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 683 of file PatternEditorPanel.cpp.
|
slot |
Definition at line 1285 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1042 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1018 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 1077 of file PatternEditorPanel.cpp.
| void patternSizeChangedAction | ( | int | nLength, |
| double | fDenominator, | ||
| int | nSelectedPatternNumber ) |
Definition at line 1126 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1022 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 1180 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 820 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1046 of file PatternEditorPanel.cpp.
|
overrideprivatevirtual |
Definition at line 840 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 872 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 779 of file PatternEditorPanel.cpp.
| void selectInstrumentNotes | ( | int | nInstrument | ) |
Definition at line 877 of file PatternEditorPanel.cpp.
| void setCursorPosition | ( | int | nCursorPosition | ) |
Definition at line 1250 of file PatternEditorPanel.cpp.
|
slot |
Definition at line 886 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 930 of file PatternEditorPanel.cpp.
|
overrideprivatevirtual |
Definition at line 856 of file PatternEditorPanel.cpp.
|
slot |
Definition at line 908 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1028 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1036 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1032 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 1340 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 649 of file PatternEditorPanel.cpp.
| void updateEditors | ( | bool | bPatternOnly = false | ) |
Definition at line 1001 of file PatternEditorPanel.cpp.
| void updatePatternInfo | ( | ) |
Definition at line 986 of file PatternEditorPanel.cpp.
|
privateslot |
Batch version for setting the values of the pattern size spin boxes.
Definition at line 1052 of file PatternEditorPanel.cpp.
| void updateSLnameLabel | ( | ) |
Definition at line 56 of file PatternEditorPanel.cpp.
|
overridevirtual |
Reimplemented from EventListener.
Definition at line 1168 of file PatternEditorPanel.cpp.
|
private |
Definition at line 1305 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 948 of file PatternEditorPanel.cpp.
|
privateslot |
Definition at line 969 of file PatternEditorPanel.cpp.
|
private |
Definition at line 167 of file PatternEditorPanel.h.
|
private |
Definition at line 168 of file PatternEditorPanel.h.
|
private |
Definition at line 151 of file PatternEditorPanel.h.
|
private |
Indicates whether the LCD spin boxes for the pattern size have been altered by Hydrogen or by the user.
Definition at line 163 of file PatternEditorPanel.h.
|
private |
Definition at line 229 of file PatternEditorPanel.h.
|
private |
Definition at line 233 of file PatternEditorPanel.h.
|
private |
Definition at line 232 of file PatternEditorPanel.h.
|
private |
Definition at line 150 of file PatternEditorPanel.h.
|
private |
Definition at line 184 of file PatternEditorPanel.h.
|
private |
Definition at line 183 of file PatternEditorPanel.h.
|
private |
Definition at line 154 of file PatternEditorPanel.h.
|
private |
Definition at line 155 of file PatternEditorPanel.h.
|
private |
Definition at line 169 of file PatternEditorPanel.h.
|
private |
Definition at line 174 of file PatternEditorPanel.h.
|
private |
Definition at line 195 of file PatternEditorPanel.h.
|
private |
Definition at line 196 of file PatternEditorPanel.h.
|
private |
Definition at line 160 of file PatternEditorPanel.h.
|
private |
Definition at line 159 of file PatternEditorPanel.h.
|
private |
Definition at line 208 of file PatternEditorPanel.h.
|
private |
Definition at line 207 of file PatternEditorPanel.h.
|
private |
Definition at line 212 of file PatternEditorPanel.h.
|
private |
Definition at line 211 of file PatternEditorPanel.h.
|
private |
Definition at line 204 of file PatternEditorPanel.h.
|
private |
Definition at line 203 of file PatternEditorPanel.h.
|
private |
Definition at line 216 of file PatternEditorPanel.h.
|
private |
Definition at line 215 of file PatternEditorPanel.h.
|
private |
Definition at line 200 of file PatternEditorPanel.h.
|
private |
Definition at line 199 of file PatternEditorPanel.h.
|
private |
Definition at line 149 of file PatternEditorPanel.h.
|
private |
Definition at line 218 of file PatternEditorPanel.h.
|
private |
Definition at line 192 of file PatternEditorPanel.h.
|
private |
Definition at line 219 of file PatternEditorPanel.h.
|
private |
Definition at line 222 of file PatternEditorPanel.h.
|
private |
Definition at line 172 of file PatternEditorPanel.h.
|
private |
Definition at line 188 of file PatternEditorPanel.h.
|
private |
Definition at line 187 of file PatternEditorPanel.h.
|
private |
Definition at line 180 of file PatternEditorPanel.h.
|
private |
Definition at line 170 of file PatternEditorPanel.h.
|
private |
Definition at line 175 of file PatternEditorPanel.h.
|
private |
Definition at line 223 of file PatternEditorPanel.h.
|
private |
Definition at line 157 of file PatternEditorPanel.h.
|
private |
Definition at line 166 of file PatternEditorPanel.h.
|
private |
Definition at line 173 of file PatternEditorPanel.h.
|
private |
Definition at line 191 of file PatternEditorPanel.h.
|
private |
Definition at line 176 of file PatternEditorPanel.h.
|
private |
Definition at line 156 of file PatternEditorPanel.h.
|
private |
Definition at line 152 of file PatternEditorPanel.h.
|
private |
Definition at line 227 of file PatternEditorPanel.h.
|
private |
Definition at line 226 of file PatternEditorPanel.h.