The FocusFilter class. More...
#include <focusfilter.h>
Public Slots | |
void | cut () |
Cuts selected clips or selected effects (but not both). More... | |
void | copy () |
Copies selected clips or selected effects (but not both). More... | |
void | duplicate () |
Duplicates currently selected items. More... | |
void | go_to_in () |
Go to In Point. More... | |
void | go_to_out () |
Go to Out Point. More... | |
void | go_to_start () |
Go to Start. More... | |
void | prev_frame () |
Go to Previous Frame. More... | |
void | play_in_to_out () |
Play In Point to Out Point. More... | |
void | playpause () |
Toggle Play/Pause. More... | |
void | pause () |
Pause/Shuttle Stop. More... | |
void | increase_speed () |
Increase Speed/Shuttle Right. More... | |
void | decrease_speed () |
Decrease Speed/Shuttle Left. More... | |
void | next_frame () |
Go to Next Frame. More... | |
void | go_to_end () |
Go to End. More... | |
void | set_viewer_fullscreen () |
Set currently focused viewer to full screen. More... | |
void | set_marker () |
Set a marker at the current playhead. More... | |
void | set_in_point () |
Set in point. More... | |
void | set_out_point () |
Set out point. More... | |
void | clear_in () |
Clear in point. More... | |
void | clear_out () |
Clear out point. More... | |
void | clear_inout () |
Clear in/out point. More... | |
void | delete_function () |
Delete. More... | |
void | select_all () |
Select All. More... | |
void | zoom_in () |
Zoom In. More... | |
void | zoom_out () |
Zoom Out. More... | |
Public Member Functions | |
FocusFilter () | |
FocusFilter Constructor. More... | |
The FocusFilter class.
Some keyboard shortcuts/menu actions will do different things depending on the panel that's currently focused. For example, pressing "Set Marker" will set a marker on the main active sequence if the timeline is focused, or on the media in the Media Viewer if the Media Viewer is focused. This class provides slots/functions that can be called that will check which panel is focused and call the appropriate function.
Responds to config.hover_focus
. Default behavior is focus by clicking on the panels, but if hover_focus
is TRUE, the focused panel will be whichever panel has the cursor currently hovering over it.
FocusFilter::FocusFilter | ( | ) |
FocusFilter Constructor.
Currently empty.
|
slot |
Clear in point.
Calls clear_in() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Clear in/out point.
Calls clear_inout() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Clear out point.
Calls clear_out() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Copies selected clips or selected effects (but not both).
If the Effect Controls panel is focused, copies selected effects. Otherwise copies selected clips.
|
slot |
Cuts selected clips or selected effects (but not both).
If the Effect Controls panel is focused, cuts selected effects. Otherwise cuts selected clips.
|
slot |
Decrease Speed/Shuttle Left.
Calls decrease_speed() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Delete.
Calls various delete functions based on which UI elements are focused. Deletes span anywhere from deleting clips (Timeline), to effects (Effect Controls), to markers (TimelineHeader).
|
slot |
Duplicates currently selected items.
Currently this only duplicates Sequences in the project panel.
|
slot |
Go to End.
Calls go_to_end() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Go to In Point.
Calls go_to_in() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Go to Out Point.
Calls go_to_out() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Go to Start.
Calls go_to_start() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Increase Speed/Shuttle Right.
Calls increase_speed() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
Go to Next Frame.
Calls next_frame() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
Select All.
Calls select_all() on Graph Editor if its focused or Timeline if it's not.
|
slot |
Set in point.
Calls set_in_point() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
|
slot |
Set out point.
Calls set_out_point() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.
|
slot |
|
slot |
|
slot |