|
hydrogen 1.1.1
|
Song editor pattern list. More...
#include <SongEditor.h>
Public Slots | |
| void | patternPopup_edit () |
| void | patternPopup_save () |
| void | patternPopup_export () |
| void | patternPopup_load () |
| void | patternPopup_properties () |
| void | patternPopup_delete () |
| void | patternPopup_duplicate () |
| void | patternPopup_fill () |
| void | patternPopup_virtualPattern () |
| void | inlineEditingFinished () |
| void | inlineEditingEntered () |
| virtual void | dragEnterEvent (QDragEnterEvent *event) override |
| drag & drop More... | |
| virtual void | dropEvent (QDropEvent *event) override |
| virtual void | timelineUpdateEvent (int nValue) override |
Public Member Functions | |
| SongEditorPatternList (QWidget *parent) | |
| ~SongEditorPatternList () | |
| SongEditorPatternList (const SongEditorPatternList &)=delete | |
| SongEditorPatternList & | operator= (const SongEditorPatternList &rhs)=delete |
| void | updateEditor () |
| void | createBackground () |
| void | movePatternLine (int, int) |
| void | deletePatternFromList (QString patternFilename, QString sequenceFileName, int patternPosition) |
| void | restoreDeletedPatternsFromList (QString patternFilename, QString sequenceFileName, int patternPosition) |
| void | acceptPatternPropertiesDialogSettings (QString newPatternName, QString newPatternInfo, QString newPatternCategory, int patternNr) |
| void | revertPatternPropertiesDialogSettings (QString oldPatternName, QString oldPatternInfo, QString oldPatternCategory, int patternNr) |
| void | loadPatternAction (QString filename, int position) |
| void | fillRangeWithPattern (FillRange *r, int nPattern) |
| void | patternPopup_duplicateAction (QString patternFilename, int patternposition) |
| int | getGridHeight () |
Public Member Functions inherited from Object | |
| ~Object () | |
| destructor More... | |
| Object (const Object &obj) | |
| copy constructor More... | |
| Object (const char *class_name) | |
| constructor More... | |
| const char * | class_name () const |
| return the class name More... | |
| virtual QString | toQString (const QString &sPrefix, bool bShort=true) const |
| Formatted string version for debugging purposes. More... | |
| void | Print (bool bShort=true) const |
| Prints content of toQString() via DEBUGLOG. More... | |
Public Member Functions inherited from EventListener | |
| virtual void | stateChangedEvent (int nState) |
| virtual void | patternChangedEvent () |
| virtual void | patternModifiedEvent () |
| virtual void | songModifiedEvent () |
| virtual void | selectedPatternChangedEvent () |
| virtual void | selectedInstrumentChangedEvent () |
| virtual void | parametersInstrumentChangedEvent () |
| virtual void | midiActivityEvent () |
| virtual void | noteOnEvent (int nInstrument) |
| virtual void | XRunEvent () |
| virtual void | errorEvent (int nErrorCode) |
| virtual void | metronomeEvent (int nValue) |
| virtual void | rubberbandbpmchangeEvent () |
| virtual void | progressEvent (int nValue) |
| virtual void | jacksessionEvent (int nValue) |
| virtual void | playlistLoadSongEvent (int nIndex) |
| virtual void | undoRedoActionEvent (int nValue) |
| virtual void | tempoChangedEvent (int nValue) |
| virtual void | updateSongEvent (int nValue) |
| virtual void | quitEvent (int nValue) |
| virtual void | timelineActivationEvent (int nValue) |
| virtual void | timelineUpdateEvent (int nValue) |
| virtual void | jackTransportActivationEvent (int nValue) |
| virtual void | jackTimebaseActivationEvent (int nValue) |
| virtual void | songModeActivationEvent (int nValue) |
| virtual void | loopModeActivationEvent (int nValue) |
| virtual void | updatePreferencesEvent (int nValue) |
| virtual void | actionModeChangeEvent (int nValue) |
| virtual | ~EventListener () |
Private Member Functions | |
| void | inlineEditPatternName (int row) |
| virtual void | mousePressEvent (QMouseEvent *ev) override |
| Single click, select the next pattern. More... | |
| virtual void | mouseDoubleClickEvent (QMouseEvent *ev) override |
| virtual void | paintEvent (QPaintEvent *ev) override |
| void | togglePattern (int) |
| Start/stop playing a pattern in "pattern mode". More... | |
| virtual void | patternChangedEvent () override |
| void | mouseMoveEvent (QMouseEvent *event) override |
Private Attributes | |
| uint | m_nGridHeight |
| uint | m_nWidth |
| QPixmap * | m_pBackgroundPixmap |
| QPixmap | m_labelBackgroundLight |
| QPixmap | m_labelBackgroundDark |
| QPixmap | m_labelBackgroundSelected |
| QPixmap | m_playingPattern_on_Pixmap |
| QPixmap | m_playingPattern_off_Pixmap |
| QMenu * | m_pPatternPopup |
| QLineEdit * | m_pLineEdit |
| H2Core::Pattern * | m_pPatternBeingEdited |
| DragScroller * | m_pDragScroller |
| QPoint | __drag_start_position |
Static Private Attributes | |
| static const uint | m_nInitialHeight = 10 |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static void | set_count (bool flag) |
| enable/disable class instances counting More... | |
| static bool | count_active () |
| return true if class instances counting is enabled More... | |
| static unsigned | objects_count () |
| return the number of objects More... | |
| static void | write_objects_map_to (std::ostream &out) |
| output the full objects map to a given ostream More... | |
| static void | write_objects_map_to_cerr () |
| output objects map to stderr More... | |
| static int | bootstrap (Logger *logger, bool count=false) |
| must be called before any Object instantiation ! More... | |
| static Logger * | logger () |
| return the logger instance More... | |
Static Public Attributes inherited from Object | |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. More... | |
Static Protected Attributes inherited from Object | |
| static Logger * | __logger = nullptr |
| logger instance pointer More... | |
Song editor pattern list.
|
explicit |
|
delete |
| void acceptPatternPropertiesDialogSettings | ( | QString | newPatternName, |
| QString | newPatternInfo, | ||
| QString | newPatternCategory, | ||
| int | patternNr | ||
| ) |
| void createBackground | ( | ) |
| void deletePatternFromList | ( | QString | patternFilename, |
| QString | sequenceFileName, | ||
| int | patternPosition | ||
| ) |
|
overridevirtualslot |
drag & drop
|
overridevirtualslot |
| void fillRangeWithPattern | ( | FillRange * | r, |
| int | nPattern | ||
| ) |
|
inline |
|
slot |
|
slot |
|
private |
| void loadPatternAction | ( | QString | filename, |
| int | position | ||
| ) |
|
overrideprivatevirtual |
|
overrideprivate |
|
overrideprivatevirtual |
Single click, select the next pattern.
| void movePatternLine | ( | int | nSourcePattern, |
| int | nTargetPattern | ||
| ) |
|
delete |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from EventListener.
|
slot |
|
slot |
| void patternPopup_duplicateAction | ( | QString | patternFilename, |
| int | patternposition | ||
| ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
| void restoreDeletedPatternsFromList | ( | QString | patternFilename, |
| QString | sequenceFileName, | ||
| int | patternPosition | ||
| ) |
| void revertPatternPropertiesDialogSettings | ( | QString | oldPatternName, |
| QString | oldPatternInfo, | ||
| QString | oldPatternCategory, | ||
| int | patternNr | ||
| ) |
|
overridevirtualslot |
|
private |
Start/stop playing a pattern in "pattern mode".
| void updateEditor | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |