56 QGridLayout *vbox =
new QGridLayout();
57 vbox->setSpacing( 0 );
62 this->setLayout( vbox );
77 if ( pSong ==
nullptr ) {
81 auto pComponentList = pSong->getComponents();
82 if ( pComponentList !=
nullptr && pComponentList->size() > 0 ) {
std::shared_ptr< Song > getSong() const
Get the current song.
static Hydrogen * get_instance()
Returns the current Hydrogen instance __instance.
void addEventListener(EventListener *pListener)
static HydrogenApp * get_instance()
Returns the instance of HydrogenApp class.
Container for the Instrument Editor (Singleton).
void selectLayer(int nLayer)
static InstrumentEditorPanel * get_instance()
virtual void drumkitLoadedEvent() override
static InstrumentEditorPanel * m_pInstance
InstrumentEditor * m_pInstrumentEditor
virtual void updateSongEvent(int) override
InstrumentEditorPanel(const InstrumentEditorPanel &)=delete
void selectLayer(int nLayer)
void selectComponent(int nComponent)
virtual void selectedInstrumentChangedEvent() override