|
hydrogen 1.2.6
|
#include <PatternEditorInstrumentList.h>
Public Slots | |
| void | onPreferencesChanged (H2Core::Preferences::Changes changes) |
Public Member Functions | |
| InstrumentLine (QWidget *pParent) | |
| int | getNumber () const |
| void | setMuted (bool isMuted) |
| void | setName (const QString &sName) |
| void | setNumber (int nIndex) |
| void | setSamplesMissing (bool bSamplesMissing) |
| void | setSelected (bool isSelected) |
| void | setSoloed (bool soloed) |
Public Member Functions inherited from PixmapWidget | |
| PixmapWidget (QWidget *pParent) | |
| ~PixmapWidget () | |
| void | setColor (const QColor &color) |
| void | setPixmap (QString sPixmapPath, bool expand_horiz=false) |
Public Member Functions inherited from Object< PixmapWidget > | |
| Object () | |
| Object (const Object< PixmapWidget > &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. | |
Static Public Attributes | |
| static constexpr int | m_nButtonWidth = 18 |
Static Public Attributes inherited from Base | |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. | |
Private Slots | |
| void | functionClearNotes () |
| void | functionCopyAllInstrumentPatterns () |
| void | functionCutNotesAllPatterns () |
| void | functionDeleteNotesAllPatterns () |
| void | functionFillAllNotes () |
| void | functionFillEveryEightNotes () |
| void | functionFillEveryFourNotes () |
| void | functionFillEverySixNotes () |
| void | functionFillEverySixteenNotes () |
| void | functionFillEveryThreeNotes () |
| void | functionFillEveryTwelveNotes () |
| void | functionFillEveryTwoNotes () |
| void | functionFillNotes (int every) |
| void | functionPasteAllInstrumentPatterns () |
| void | functionRandomizeVelocity () |
| void | functionRenameInstrument () |
| void | muteClicked () |
| void | sampleWarningClicked () |
| void | selectInstrumentNotes () |
| void | soloClicked () |
Private Member Functions | |
| virtual void | enterEvent (QEvent *ev) override |
| H2Core::Pattern * | getCurrentPattern () |
| virtual void | leaveEvent (QEvent *ev) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *ev) override |
| virtual void | mousePressEvent (QMouseEvent *ev) override |
| virtual void | paintEvent (QPaintEvent *ev) override |
| void | setRowSelection (RowSelection rowSelection) |
| void | updateStyleSheet () |
Private Attributes | |
| bool | m_bEntered |
| Whether the cursor entered the boundary of the widget. | |
| bool | m_bIsSelected |
| int | m_nInstrumentNumber |
| The related instrument number. | |
| QMenu * | m_pFunctionPopup |
| QMenu * | m_pFunctionPopupSub |
| Button * | m_pMuteBtn |
| QLabel * | m_pNameLbl |
| Button * | m_pSampleWarning |
| Button * | m_pSoloBtn |
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 | |
Protected Types inherited from WidgetWithHighlightedList | |
| enum class | RowSelection { None , Popup , Dialog } |
| Specifies whether the row corresponding to m_nRowClicked should be highlighted and determines the lifecycle of the highlighting. More... | |
Protected Member Functions inherited from Object< PixmapWidget > | |
| ~Object () | |
Protected Member Functions inherited from Base | |
| ~Base () | |
Protected Member Functions inherited from WidgetWithScalableFont< 8, 10, 12 > | |
| constexpr int | getPointSize (H2Core::FontTheme::FontSize fontSize) const |
Protected Member Functions inherited from WidgetWithHighlightedList | |
| WidgetWithHighlightedList () | |
Static Protected Member Functions inherited from Base | |
| static void | registerClass (const char *name, const atomic_obj_cpt_t *counters) |
Protected Attributes inherited from PixmapWidget | |
| QColor | __color |
| bool | __expand_horiz |
| QPixmap | m_pixmap |
| QString | m_sPixmapPath |
Protected Attributes inherited from WidgetWithHighlightedList | |
| int | m_nRowClicked |
| Helper variable remembering for row was clicked last. | |
| RowSelection | m_rowSelection |
| Determines the highlighting of the row associated with m_nRowClicked. | |
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 |
Definition at line 50 of file PatternEditorInstrumentList.h.
|
explicit |
Definition at line 56 of file PatternEditorInstrumentList.cpp.
|
overrideprivatevirtual |
Definition at line 205 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 435 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 470 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 553 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 525 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 560 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 565 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 563 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 564 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 567 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 562 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 566 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 561 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 569 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 493 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 627 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 689 of file PatternEditorInstrumentList.cpp.
|
private |
Definition at line 417 of file PatternEditorInstrumentList.cpp.
|
inline |
Definition at line 128 of file PatternEditorInstrumentList.h.
|
privatevirtual |
Definition at line 212 of file PatternEditorInstrumentList.cpp.
|
overrideprivatevirtual |
Definition at line 413 of file PatternEditorInstrumentList.cpp.
|
overrideprivatevirtual |
Definition at line 369 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 308 of file PatternEditorInstrumentList.cpp.
|
slot |
Definition at line 725 of file PatternEditorInstrumentList.cpp.
|
overrideprivatevirtual |
Reimplemented from PixmapWidget.
Definition at line 218 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 356 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 364 of file PatternEditorInstrumentList.cpp.
| void setMuted | ( | bool | isMuted | ) |
Definition at line 279 of file PatternEditorInstrumentList.cpp.
| void setName | ( | const QString & | sName | ) |
Definition at line 163 of file PatternEditorInstrumentList.cpp.
| void setNumber | ( | int | nIndex | ) |
Definition at line 269 of file PatternEditorInstrumentList.cpp.
|
private |
Definition at line 155 of file PatternEditorInstrumentList.cpp.
| void setSamplesMissing | ( | bool | bSamplesMissing | ) |
Definition at line 297 of file PatternEditorInstrumentList.cpp.
| void setSelected | ( | bool | isSelected | ) |
Definition at line 172 of file PatternEditorInstrumentList.cpp.
| void setSoloed | ( | bool | soloed | ) |
Definition at line 288 of file PatternEditorInstrumentList.cpp.
|
privateslot |
Definition at line 333 of file PatternEditorInstrumentList.cpp.
|
private |
Definition at line 184 of file PatternEditorInstrumentList.cpp.
|
private |
Whether the cursor entered the boundary of the widget.
Definition at line 125 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 104 of file PatternEditorInstrumentList.h.
|
staticconstexpr |
Definition at line 69 of file PatternEditorInstrumentList.h.
|
private |
The related instrument number.
Definition at line 105 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 101 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 102 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 106 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 103 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 108 of file PatternEditorInstrumentList.h.
|
private |
Definition at line 107 of file PatternEditorInstrumentList.h.