Adds feature to merge Instrument Track patterns (#5700)
This commit is contained in:
@@ -176,6 +176,7 @@ public:
|
||||
void setMutedNoteBorderColor(QColor const & color) { m_mutedNoteBorderColor = color; }
|
||||
|
||||
public slots:
|
||||
Pattern* getPattern();
|
||||
void update() override;
|
||||
|
||||
|
||||
|
||||
@@ -111,6 +111,10 @@ public:
|
||||
// some metadata to be written to the clipboard.
|
||||
static void remove( QVector<TrackContentObjectView *> tcovs );
|
||||
static void toggleMute( QVector<TrackContentObjectView *> tcovs );
|
||||
static void mergeTCOs(QVector<TrackContentObjectView*> tcovs);
|
||||
|
||||
// Returns true if selection can be merged and false if not
|
||||
static bool canMergeSelection(QVector<TrackContentObjectView*> tcovs);
|
||||
|
||||
QColor getColorForDisplay( QColor );
|
||||
|
||||
@@ -129,7 +133,8 @@ protected:
|
||||
Cut,
|
||||
Copy,
|
||||
Paste,
|
||||
Mute
|
||||
Mute,
|
||||
Merge
|
||||
};
|
||||
|
||||
virtual void constructContextMenu( QMenu * )
|
||||
|
||||
Reference in New Issue
Block a user