void DlgPreferences::showSoundHardwarePage() { switchToPage(m_soundPage); contentsTreeWidget->setCurrentItem(m_pSoundButton); }
void DlgPreferences::changePage(QTreeWidgetItem* current, QTreeWidgetItem* previous) { if (!current) current = previous; if (current == m_pSoundButton) { switchToPage(m_soundPage); } else if (current == m_pLibraryButton) { switchToPage(m_libraryPage); } else if (m_controllersPage->handleTreeItemClick(current)) { // Do nothing. m_controllersPage handled this click. #ifdef __VINYLCONTROL__ } else if (current == m_pVinylControlButton) { switchToPage(m_vinylControlPage); #else } else if (current == m_pVinylControlButton) { switchToPage(m_noVinylControlPage); #endif } else if (current == m_pInterfaceButton) { switchToPage(m_interfacePage); } else if (current == m_pWaveformButton) { switchToPage(m_waveformPage); } else if (current == m_pDecksButton) { switchToPage(m_deckPage); } else if (current == m_pEqButton) { switchToPage(m_equalizerPage); } else if (current == m_pCrossfaderButton) { switchToPage(m_crossfaderPage); } else if (current == m_pEffectsButton) { switchToPage(m_effectsPage); #ifdef __LILV__ } else if (current == m_pLV2Button) { switchToPage(m_lv2Page); #endif /* __LILV__ */ } else if (current == m_pAutoDJButton) { switchToPage(m_autoDjPage); #ifdef __BROADCAST__ } else if (current == m_pBroadcastButton) { switchToPage(m_broadcastingPage); #endif } else if (current == m_pRecordingButton) { switchToPage(m_recordingPage); } else if (current == m_pBeatDetectionButton) { switchToPage(m_beatgridPage); } else if (current == m_pKeyDetectionButton) { switchToPage(m_musicalKeyPage); } else if (current == m_pReplayGainButton) { switchToPage(m_replayGainPage); #ifdef __MODPLUG__ } else if (current == m_pModplugButton) { switchToPage(m_modplugPage); #endif } }
void DlgPreferences::changePage(QTreeWidgetItem* current, QTreeWidgetItem* previous) { if (!current) current = previous; if (current == m_pSoundButton) { switchToPage(m_wsound); } else if (current == m_pLibraryButton) { switchToPage(m_wlibrary); } else if (current == m_pControlsButton) { switchToPage(m_wcontrols); } else if (current == m_pWaveformButton) { switchToPage(m_wwaveform); } else if (current == m_pAutoDJButton) { switchToPage(m_wautodj); } else if (current == m_pEqButton) { switchToPage(m_weq); // TODO: Re-enable the effects preferences pane when it does something useful. //} else if (current == m_pEffectsButton) { // switchToPage(m_weffects); } else if (current == m_pCrossfaderButton) { switchToPage(m_wcrossfader); } else if (current == m_pRecordingButton) { switchToPage(m_wrecord); } else if (current == m_pBeatDetectionButton) { switchToPage(m_wbeats); } else if (current == m_pKeyDetectionButton) { switchToPage(m_wkey); } else if (current == m_pReplayGainButton) { switchToPage(m_wreplaygain); #ifdef __VINYLCONTROL__ } else if (current == m_pVinylControlButton) { switchToPage(m_wvinylcontrol); #else } else if (current == m_pVinylControlButton) { switchToPage(m_wnovinylcontrol); #endif #ifdef __BROADCAST__ } else if (current == m_pBroadcastButton) { switchToPage(m_wbroadcast); #endif #ifdef __MODPLUG__ } else if (current == m_pModplugButton) { switchToPage(m_wmodplug); #endif } else if (m_wcontrollers->handleTreeItemClick(current)) { // Do nothing. m_wcontrollers handled this click. } }
void DlgPreferences::changePage(QTreeWidgetItem* current, QTreeWidgetItem* previous) { if (!current) current = previous; if (current == m_pSoundButton) { m_wsound->slotUpdate(); switchToPage(m_wsound); } else if (current == m_pLibraryButton) { switchToPage(m_wlibrary); } else if (current == m_pControlsButton) { switchToPage(m_wcontrols); } else if (current == m_pEqButton) { switchToPage(m_weq); } else if (current == m_pCrossfaderButton) { switchToPage(m_wcrossfader); } else if (current == m_pRecordingButton) { switchToPage(m_wrecord); } else if (current == m_pBeatDetectionButton) { switchToPage(m_wbeats); } else if (current == m_pKeyDetectionButton) { switchToPage(m_wkey); } else if (current == m_pReplayGainButton) { switchToPage(m_wreplaygain); #ifdef __VINYLCONTROL__ } else if (current == m_pVinylControlButton) { switchToPage(m_wvinylcontrol); #else } else if (current == m_pVinylControlButton) { switchToPage(m_wnovinylcontrol); #endif #ifdef __SHOUTCAST__ } else if (current == m_pShoutcastButton) { switchToPage(m_wshoutcast); #endif #ifdef __MODPLUG__ } else if (current == m_pModplugButton) { switchToPage(m_wmodplug); #endif } else if (m_wcontrollers->handleTreeItemClick(current)) { // Do nothing. m_wcontrolles handled this click. } }
void FormAccuracyDetailAdjust::on_toolButton_clicked() { if(isBeep)beep(50000,2); updateData(); emit switchToPage(6); }