📄 rosegardenguiapp.h
字号:
void slotStartAtTime(int sec, int usec); void slotRefreshTimeDisplay(); void slotToggleTracking(); /** * Called when the sequencer auxiliary process exits */ void slotSequencerExited(KProcess*); /// When the transport closes void slotCloseTransport(); /** * called by RosegardenApplication when session management tells * it to save its state. This is to avoid saving the transport as * a 2nd main window */ void slotDeleteTransport(); /** * Put the GUI into a given Tool edit mode */ void slotActivateTool(QString toolName); /** * Toggles either the play or record metronome according * to Transport status */ void slotToggleMetronome(); /* * Toggle the solo mode */ void slotToggleSolo(bool); /** * Set and unset the loop from the transport loop button with * these slots. */ void slotSetLoop(); void slotUnsetLoop(); /** * Set and unset the loop start/end time from the transport loop start/stop buttons with * these slots. */ void slotSetLoopStart(); void slotSetLoopStop(); /** * Toggle the track labels on the TrackEditor */ void slotToggleTrackLabels(); /** * Toggle the rulers on the TrackEditor * (aka bar buttons) */ void slotToggleRulers(); /** * Toggle the tempo ruler on the TrackEditor */ void slotToggleTempoRuler(); /** * Toggle the chord-name ruler on the TrackEditor */ void slotToggleChordNameRuler(); /** * Toggle the segment canvas previews */ void slotTogglePreviews(); /** * Re-dock the parameters box to its initial position */ void slotDockParametersBack(); /** * The parameters box was closed */ void slotParametersClosed(); /** * The parameters box was docked back */ void slotParametersDockedBack(KDockWidget*, KDockWidget::DockPosition); /** * Display tip-of-day dialog on demand */ void slotShowTip(); /* * Select Track up or down */ void slotTrackUp(); void slotTrackDown(); /** * Mute/Unmute */ void slotMuteAllTracks(); void slotUnmuteAllTracks(); void slotToggleMutedCurrentTrack(); /** * Toggle arm (record) current track */ void slotToggleRecordCurrentTrack(); /** * save general Options like all bar positions and status as well * as the geometry and the recent file list to the configuration * file */ void slotSaveOptions(); /** * Show the configure dialog */ void slotConfigure(); /** * Show the key mappings * */ void slotEditKeys(); /** * Edit toolbars */ void slotEditToolbars(); /** * Update the toolbars after edition */ void slotUpdateToolbars(); /** * Zoom slider moved */ void slotChangeZoom(int index); void slotZoomIn(); void slotZoomOut(); /** * Modify tempo */ void slotChangeTempo(timeT time, tempoT value, tempoT target, TempoDialog::TempoDialogAction action); /** * Move a tempo change */ void slotMoveTempo(timeT oldTime, timeT newTime); /** * Remove a tempo change */ void slotDeleteTempo(timeT time); /** * Add marker */ void slotAddMarker(timeT time); /** * Remove a marker */ void slotDeleteMarker(timeT time, QString name, QString description); /** * Document modified */ void slotDocumentModified(bool modified = true); /** * This slot is here to be connected to RosegardenGUIView's * stateChange signal. We use a bool for the 2nd arg rather than a * KXMLGUIClient::ReverseStateChange to spare the include of * kxmlguiclient.h just for one typedef. * * Hopefully we'll be able to get rid of this eventually, * I should slip this in KMainWindow for KDE 4. */ void slotStateChanged(QString, bool noReverse); /** * A command has happened; check the clipboard in case we * need to change state */ void slotTestClipboard(); /** * Show a 'play list' dialog */ void slotPlayList(); /** * Play the requested URL * * Stop current playback, close current document, * open specified document and play it. */ void slotPlayListPlay(QString url); /** * Call up the online tutorial */ void slotTutorial(); /** * Surf to the bug reporting guidelines */ void slotBugGuidelines(); /** * View the trigger segments manager */ void slotManageTriggerSegments(); /** * View the audio file manager - and some associated actions */ void slotAudioManager(); void slotAddAudioFile(AudioFileId); void slotDeleteAudioFile(AudioFileId); void slotPlayAudioFile(AudioFileId, const RealTime &, const RealTime &); void slotCancelAudioPlayingFile(AudioFileId); void slotDeleteAllAudioFiles(); /** * Reflect segment deletion from the audio manager */ void slotDeleteSegments(const SegmentSelection&); void slotRepeatingSegments(); void slotRelabelSegments(); void slotTransposeSegments(); /// Panic button pressed void slotPanic(); // Auto-save // void slotAutoSave(); // Auto-save update interval changes // void slotUpdateAutoSaveInterval(unsigned int interval); // Update the side-bar when the configuration page changes its style. // void slotUpdateSidebarStyle(unsigned int style); /** * called when the PlayList is being closed */ void slotPlayListClosed(); /** * called when the BankEditor is being closed */ void slotBankEditorClosed(); /** * called when the Device Manager is being closed */ void slotDeviceManagerClosed(); /** * called when the synth manager is being closed */ void slotSynthPluginManagerClosed(); /** * called when the Mixer is being closed */ void slotAudioMixerClosed(); void slotMidiMixerClosed(); /** * when ControlEditor is being closed */ void slotControlEditorClosed(); /** * when MarkerEditor is being closed */ void slotMarkerEditorClosed(); /** * when TempoView is being closed */ void slotTempoViewClosed(); /** * when TriggerManager is being closed */ void slotTriggerManagerClosed(); /** * when AudioManagerDialog is being closed */ void slotAudioManagerClosed(); /** * Update the pointer position from the sequencer mmapped file when playing */ void slotUpdatePlaybackPosition(); /** * Update the CPU level meter */ void slotUpdateCPUMeter(bool playing); /** * Update the monitor levels from the sequencer mmapped file when not playing * (slotUpdatePlaybackPosition does this among other things when playing) */ void slotUpdateMonitoring(); /** * Create a plugin dialog for a given instrument and slot, or * raise an exising one. */ void slotShowPluginDialog(QWidget *parent, InstrumentId instrument, int index); void slotPluginSelected(InstrumentId instrument, int index, int plugin); /** * An external GUI has requested a port change. */ void slotChangePluginPort(InstrumentId instrument, int index, int portIndex, float value); /** * Our internal GUI has made a port change -- the * PluginPortInstance already contains the new value, but we need * to inform the sequencer and update external GUIs. */ void slotPluginPortChanged(InstrumentId instrument, int index, int portIndex); /** * An external GUI has requested a program change. */ void slotChangePluginProgram(InstrumentId instrument, int index, QString program); /** * Our internal GUI has made a program change -- the * AudioPluginInstance already contains the new program, but we * need to inform the sequencer, update external GUIs, and update * the port values for the new program. */ void slotPluginProgramChanged(InstrumentId instrument, int index); /** * An external GUI has requested a configure call. (This can only * happen from an external GUI, we have no way to manage these * internally.) */ void slotChangePluginConfiguration(InstrumentId, int index, bool global, QString key, QString value); void slotPluginDialogDestroyed(InstrumentId instrument, int index); void slotPluginBypassed(InstrumentId, int index, bool bypassed); void slotShowPluginGUI(InstrumentId, int index); void slotStopPluginGUI(InstrumentId, int index); void slotPluginGUIExited(InstrumentId, int index); void slotDocumentDevicesResyncd(); void slotTestStartupTester(); void slotDebugDump(); /** * Enable or disable the internal MIDI Thru routing. * * This policy is implemented at the sequencer side, controlled * by this flag and also by the MIDI Thru filters. * * @see ControlBlock::isMidiRoutingEnabled() * @see RosegardenSequencerApp::processAsynchronousEvents() * @see RosegardenSequencerApp::processRecordedEvents() */ void slotEnableMIDIThruRouting(); void slotShowToolHelp(const QString &); void slotNewerVersionAvailable(QString);private: //--------------- Data members --------------------------------- bool m_actionsSetup; KRecentFilesAction* m_fileRecent; /** * view is the main widget which represents your working area. The * View class should handle all events of the view widget. It is * kept empty so you can create your view according to your * application's needs by changing the view class. */ RosegardenGUIView* m_view; RosegardenGUIView* m_swapView; KDockWidget* m_mainDockWidget; KDockWidget* m_dockLeft; /** * doc represents your actual document and is created only * once. It keeps information such as filename and does the * serialization of your files. */ RosegardenGUIDoc* m_doc; /** * KAction pointers to enable/disable actions */ KRecentFilesAction* m_fileOpenRecent; KToggleAction* m_viewToolBar; KToggleAction* m_viewToolsToolBar; KToggleAction* m_viewTracksToolBar; KToggleAction* m_viewEditorsToolBar; KToggleAction* m_viewZoomToolBar; KToggleAction* m_viewStatusBar; KToggleAction* m_viewTransport; KToggleAction* m_viewTransportToolBar; KToggleAction* m_viewTrackLabels; KToggleAction* m_viewRulers; KToggleAction* m_viewTempoRuler; KToggleAction* m_viewChordNameRuler; KToggleAction* m_viewPreviews; KToggleAction* m_viewSegmentLabels; KToggleAction* m_enableMIDIrouting; KAction *m_playTransport; KAction *m_stopTransport; KAction *m_rewindTransport; KAction *m_ffwdTransport; KAction *m_recordTransport; KAction *m_rewindEndTransport; KAction *m_ffwdEndTransport; KProcess* m_sequencerProcess; bool m_sequencerCheckedIn;#ifdef HAVE_LIBJACK KProcess* m_jackProcess;#endif // HAVE_LIBJACK ZoomSlider<double> *m_zoomSlider; QLabel *m_zoomLabel; ProgressBar *m_progressBar; // SequenceManager // SequenceManager *m_seqManager; // Transport dialog pointer // TransportDialog *m_transport; // Dialogs which depend on the document // Audio file manager // AudioManagerDialog *m_audioManagerDialog; bool m_originatingJump; // Use these in conjucntion with the loop button to // remember where a loop was if we've ever set one. timeT m_storedLoopStart; timeT m_storedLoopEnd; bool m_useSequencer; bool m_dockVisible; AudioPluginManager *m_pluginManager; QTimer* m_autoSaveTimer; Clipboard *m_clipboard; SegmentParameterBox *m_segmentParameterBox; InstrumentParameterBox *m_instrumentParameterBox; TrackParameterBox *m_trackParameterBox; PlayListDialog *m_playList; DeviceManagerDialog *m_deviceManager; SynthPluginManagerDialog *m_synthManager; AudioMixerWindow *m_audioMixer; MidiMixerWindow *m_midiMixer; BankEditorDialog *m_bankEditor; MarkerEditor *m_markerEditor; TempoView *m_tempoView; TriggerSegmentManager *m_triggerSegmentManager; std::set<ControlEditorDialog *> m_controlEditors; std::map<int, AudioPluginDialog*> m_pluginDialogs;#ifdef HAVE_LIBLO AudioPluginOSCGUIManager *m_pluginGUIManager;#endif static RosegardenGUIApp *m_myself; static std::map<KProcess *, KTempFile *> m_lilyTempFileMap; // Used to fetch the current sequencer position from the mmapped sequencer information file // QTimer *m_playTimer; QTimer *m_stopTimer; StartupTester *m_startupTester; bool m_haveAudioImporter; RosegardenParameterArea *m_parameterArea;#ifdef HAVE_LIRC LircClient *m_lircClient; LircCommander *m_lircCommander;#endif };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -