svgui
1.9
|
ViewManager.h
Go to the documentation of this file.
void zoomWheelsEnabledChanged()
Emitted when the zoom wheels have been toggled.
void selectionChangedByUser()
Emitted when the selection has been changed through an explicit selection-editing action...
bool haveInProgressSelection() const
Definition: ViewManager.cpp:261
void playSelectionModeChanged()
Emitted when the play selection mode has been changed.
Definition: ViewManager.h:203
void setSelections(const MultiSelection &ms, bool quietly=false)
Definition: ViewManager.cpp:342
Definition: ViewManager.h:137
View scrolls continuously during playback, keeping the playback position at the centre.
Definition: ViewManager.h:44
bool getGlobalDarkBackground() const
Definition: ViewManager.cpp:846
SetSelectionCommand(ViewManager *vm, const MultiSelection &ms)
Definition: ViewManager.cpp:379
void showCentreLineChanged()
Emitted when the centre line visibility has been changed.
Selection getContainingSelection(sv_frame_t frame, bool defaultToFollowing) const override
Return the selection that contains a given frame.
Definition: ViewManager.cpp:412
void setMainModelSampleRate(sv_samplerate_t sr)
Definition: ViewManager.h:192
static int scalePixelSize(int pixels)
Take a "design pixel" size and scale it for the actual display.
Definition: ViewManager.cpp:857
void viewCentreFrameChanged(View *v, sv_frame_t frame)
Emitted when user scrolls a view, but doesn't affect global centre.
void setGlobalDarkBackground(bool dark)
Definition: ViewManager.cpp:795
sv_frame_t getGlobalCentreFrame() const
Definition: ViewManager.cpp:142
sv_frame_t alignPlaybackFrameToReference(sv_frame_t) const override
Definition: ViewManager.cpp:219
sv_samplerate_t m_mainModelSampleRate
Definition: ViewManager.h:353
void viewZoomLevelChanged(View *v, ZoomLevel zoom, bool locked)
Emitted when a view zooms.
Definition: ViewManager.h:141
bool shouldIlluminateLocalFeatures() const
Definition: ViewManager.h:240
const MultiSelection & getSelection() const override
Definition: ViewManager.cpp:290
Definition: ViewManager.h:204
void setAudioPlaySource(AudioPlaySource *source) override
Definition: ViewManager.cpp:536
bool shouldShowFeatureLabels() const
Definition: ViewManager.h:243
sv_samplerate_t getMainModelSampleRate() const
The sample rate of the current main model.
Definition: ViewManager.h:190
const Selection & getInProgressSelection(bool &exclusive) const
Definition: ViewManager.cpp:267
void inProgressSelectionChanged()
Emitted when the in-progress (rubberbanding) selection has changed.
void setIlluminateLocalFeatures(bool i)
Definition: ViewManager.h:166
Definition: ViewManager.h:138
void removeSelection(const Selection &selection)
Definition: ViewManager.cpp:326
void addSelection(const Selection &selection)
Definition: ViewManager.cpp:310
bool getPlaySelectionMode() const override
Definition: ViewManager.h:157
sv_frame_t alignReferenceToPlaybackFrame(sv_frame_t) const override
Definition: ViewManager.cpp:240
sv_samplerate_t getPlaybackSampleRate() const
The sample rate that is used for playback.
Definition: ViewManager.cpp:518
ToolMode getToolModeFor(const View *v) const
Return override mode if it exists for this view or global mode otherwise.
Definition: ViewManager.cpp:436
sv_samplerate_t getDeviceSampleRate() const
The sample rate of the audio output device.
Definition: ViewManager.cpp:527
void setOpportunisticEditingEnabled(bool enable)
Enable or disable opportunistic editing.
Definition: ViewManager.cpp:770
View follows playback page-by-page, but dragging the view relocates playback to the centre frame...
Definition: ViewManager.h:51
void overlayModeChanged()
Emitted when the overlay mode has been changed.
void monitoringLevelsChanged(float left, float right)
Emitted when the output or record levels change.
Definition: ViewManager.h:142
void setInProgressSelection(const Selection &selection, bool exclusive)
Definition: ViewManager.cpp:274
void recordStatusChanged(bool recording)
Definition: ViewManager.cpp:563
bool shouldShowHorizontalValueScale() const
Definition: ViewManager.h:225
void addSelectionQuietly(const Selection &selection)
Adding a selection normally emits the selectionChangedByUser signal.
Definition: ViewManager.cpp:318
QString getName() const override
Definition: ViewManager.cpp:404
void setZoomWheelsEnabled(bool enable)
Definition: ViewManager.cpp:754
Definition: ViewManager.h:136
void alignModeChanged()
Emitted when the alignment mode has been changed.
bool shouldShowVerticalColourScale() const
Definition: ViewManager.h:222
Definition: ViewManager.h:140
sv_frame_t constrainFrameToSelection(sv_frame_t frame) const override
Definition: ViewManager.cpp:353
MultiSelection m_oldSelection
Definition: ViewManager.h:386
bool shouldShowVerticalScale() const
Definition: ViewManager.h:219
MultiSelection m_newSelection
Definition: ViewManager.h:387
void playSoloModeChanged()
Emitted when the play solo mode has been changed.
void opportunisticEditingEnabledChanged()
Emitted when editing-enabled has been toggled.
void playbackFrameChanged(sv_frame_t frame)
Emitted when the playback frame changes.
AudioPlaySource * m_playSource
!! void considerZoomChange(void *, int, bool);
Definition: ViewManager.h:346
void setAudioRecordTarget(AudioRecordTarget *target) override
Definition: ViewManager.cpp:545
Definition: ViewManager.h:139
void setSelection(const Selection &selection)
Definition: ViewManager.cpp:302
bool m_opportunisticEditingEnabled
Definition: ViewManager.h:392
View is the base class of widgets that display one or more overlaid views of data against a horizonta...
Definition: View.h:55
void setToolModeFor(const View *v, ToolMode mode)
Override the tool mode for a specific view.
Definition: ViewManager.cpp:446
The ViewManager manages properties that may need to be synchronised between separate Views...
Definition: ViewManager.h:78
const MultiSelection::SelectionList & getSelections() const override
Definition: ViewManager.cpp:296
bool shouldShowSelectionExtents() const
Definition: ViewManager.h:228
void globalCentreFrameChanged(sv_frame_t frame)
Emitted when user causes the global centre frame to change.
View follows playback page-by-page, and the play head is moved (by the user) separately from dragging...
Definition: ViewManager.h:58
void playLoopModeChanged()
Emitted when the play loop mode has been changed.
bool getOpportunisticEditingEnabled() const
Definition: ViewManager.h:264
void clearToolModeOverrides()
Clear all current view-specific overrides.
Definition: ViewManager.cpp:452
virtual ~SetSelectionCommand()
Definition: ViewManager.cpp:387
std::map< const View *, ToolMode > m_toolModeOverrides
Definition: ViewManager.h:365
Definition: ViewManager.h:205
Definition: ViewManager.h:202
void setGlobalCentreFrame(sv_frame_t)
Definition: ViewManager.cpp:151
Generated by 1.8.11