/[svn]/qsampler/trunk/src/qsamplerMainForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 400 by capela, Mon Feb 21 15:02:58 2005 UTC revision 404 by capela, Wed Feb 23 13:47:47 2005 UTC
# Line 910  void qsamplerMainForm::editResetChannel Line 910  void qsamplerMainForm::editResetChannel
910  }  }
911    
912    
913    // Reset all sampler channels.
914    void qsamplerMainForm::editResetAllChannels (void)
915    {
916        if (m_pClient == NULL)
917            return;
918    
919        // Invoque the channel strip procedure,
920            // for all channels out there...
921        m_pWorkspace->setUpdatesEnabled(false);
922        QWidgetList wlist = m_pWorkspace->windowList();
923        for (int iChannel = 0; iChannel < (int) wlist.count(); iChannel++) {
924            qsamplerChannelStrip *pChannelStrip = (qsamplerChannelStrip *) wlist.at(iChannel);
925            if (pChannelStrip)
926                    pChannelStrip->channelReset();
927        }
928        m_pWorkspace->setUpdatesEnabled(true);
929    }
930    
931    
932  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
933  // qsamplerMainForm -- View Action slots.  // qsamplerMainForm -- View Action slots.
934    
# Line 1169  void qsamplerMainForm::stabilizeForm (vo Line 1188  void qsamplerMainForm::stabilizeForm (vo
1188      editRemoveChannelAction->setEnabled(bHasChannel);      editRemoveChannelAction->setEnabled(bHasChannel);
1189      editSetupChannelAction->setEnabled(bHasChannel);      editSetupChannelAction->setEnabled(bHasChannel);
1190      editResetChannelAction->setEnabled(bHasChannel);      editResetChannelAction->setEnabled(bHasChannel);
1191        editResetAllChannelsAction->setEnabled(bHasChannel);
1192      channelsArrangeAction->setEnabled(bHasChannel);      channelsArrangeAction->setEnabled(bHasChannel);
1193      viewMessagesAction->setOn(m_pMessages && m_pMessages->isVisible());      viewMessagesAction->setOn(m_pMessages && m_pMessages->isVisible());
1194    

Legend:
Removed from v.400  
changed lines
  Added in v.404

  ViewVC Help
Powered by ViewVC