Add instrument plugins to Song Editor via right click (#6698)

This commit is contained in:
Lost Robot
2023-05-05 21:16:07 -07:00
committed by GitHub
parent 3440d49aa8
commit 87a57db593
2 changed files with 26 additions and 1 deletions

View File

@@ -63,13 +63,14 @@ public:
using PluginKey = Plugin::Descriptor::SubPluginFeatures::Key;
PluginDescWidget( const PluginKey & _pk, QWidget * _parent );
QString name() const;
void openInNewInstrumentTrack(QString value);
protected:
void enterEvent( QEvent * _e ) override;
void leaveEvent( QEvent * _e ) override;
void mousePressEvent( QMouseEvent * _me ) override;
void paintEvent( QPaintEvent * _pe ) override;
void contextMenuEvent(QContextMenuEvent* e) override;
private:
constexpr static int DEFAULT_HEIGHT{24};