Changeset 1597

Show
Ignore:
Timestamp:
03/03/10 15:27:22 (3 years ago)
Author:
mauser
Message:

the Play/Stop/Mute? buttons support now midiLearn

Location:
branches/advancedMidiLearn/gui/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/advancedMidiLearn/gui/src/Mixer/MixerLine.cpp

    r1593 r1597  
    539539        m_pMuteBtn->move( 20, 32 ); 
    540540        connect( m_pMuteBtn, SIGNAL( clicked(Button*) ), this, SLOT( muteClicked(Button*) ) ); 
    541  
     541        m_pMuteBtn->setAction( new Action("MUTE_TOGGLE")); 
    542542} 
    543543 
  • branches/advancedMidiLearn/gui/src/PlayerControl.cpp

    r1487 r1597  
    114114        connect(m_pRecBtn, SIGNAL(rightClicked(Button*)), this, SLOT(recBtnRightClicked(Button*))); 
    115115 
     116 
    116117        // Record+delete button 
    117118        m_pRecDelBtn = new ToggleButton( 
     
    143144        m_pPlayBtn->setToolTip( trUtf8("Play/ Pause") ); 
    144145        connect(m_pPlayBtn, SIGNAL(clicked(Button*)), this, SLOT(playBtnClicked(Button*))); 
     146        Action* pAction = new Action("PLAY"); 
     147        m_pPlayBtn->setAction( pAction ); 
     148 
    145149 
    146150        // Stop button 
     
    155159        m_pStopBtn->setToolTip( trUtf8("Stop") ); 
    156160        connect(m_pStopBtn, SIGNAL(clicked(Button*)), this, SLOT(stopBtnClicked(Button*))); 
     161        pAction = new Action("STOP"); 
     162        m_pStopBtn->setAction( pAction ); 
    157163 
    158164        // Fast forward button