33 , m_lastMidiEvent(
H2Core::MidiMessage::Event::Null )
34 , m_nLastMidiEventParameter( 0 )
40 setWindowTitle( pCommonStrings->getMidiSenseWindowTitle() );
41 setFixedSize( 280, 100 );
43 bool midiOperable =
false;
49 m_pURLLabel->setText( pCommonStrings->getMidiSenseInput() );
59 m_pURLLabel->setText( pCommonStrings->getMidiSenseUnavailable() );
62 m_pURLLabel->setText( pCommonStrings->getMidiSenseInput() );
67 QVBoxLayout* pVBox =
new QVBoxLayout(
this );
107 std::shared_ptr<Action> pAction = std::make_shared<Action>(
m_pAction );
108 pAction->setValue(
"0" );
static EventQueue * get_instance()
Returns a pointer to the current EventQueue singleton stored in __instance.
void push_event(const EventType type, const int nValue)
Queues the next event into the EventQueue.
void setLastMidiEventParameter(int nParam)
static Hydrogen * get_instance()
Returns the current Hydrogen instance __instance.
void setLastMidiEvent(MidiMessage::Event event)
int getLastMidiEventParameter() const
MidiMessage::Event getLastMidiEvent() const
Last received midi message.
static QString EventToQString(Event event)
static HydrogenApp * get_instance()
Returns the instance of HydrogenApp class.
std::shared_ptr< CommonStrings > getCommonStrings()
The MidiMap maps MidiActions to MidiEvents.
void registerMMCEvent(QString, std::shared_ptr< Action >)
Sets up the relation between a mmc event and an action.
void registerNoteEvent(int, std::shared_ptr< Action >)
Sets up the relation between a note event and an action.
void registerPCEvent(std::shared_ptr< Action >)
Sets up the relation between a program change and an action.
static MidiMap * get_instance()
Returns a pointer to the current MidiMap singleton stored in __instance.
void registerCCEvent(int, std::shared_ptr< Action >)
Sets up the relation between a cc event and an action.