Olive
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Slots | Public Member Functions | List of all members
FocusFilter Class Reference

The FocusFilter class. More...

#include <focusfilter.h>

Inheritance diagram for FocusFilter:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

FocusFilter::FocusFilter ( )

FocusFilter Constructor.

Currently empty.

Member Function Documentation

void FocusFilter::clear_in ( )
slot

Clear in point.

Calls clear_in() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::clear_inout ( )
slot

Clear in/out point.

Calls clear_inout() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::clear_out ( )
slot

Clear out point.

Calls clear_out() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::copy ( )
slot

Copies selected clips or selected effects (but not both).

If the Effect Controls panel is focused, copies selected effects. Otherwise copies selected clips.

void FocusFilter::cut ( )
slot

Cuts selected clips or selected effects (but not both).

If the Effect Controls panel is focused, cuts selected effects. Otherwise cuts selected clips.

void FocusFilter::decrease_speed ( )
slot

Decrease Speed/Shuttle Left.

Calls decrease_speed() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::delete_function ( )
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).

void FocusFilter::duplicate ( )
slot

Duplicates currently selected items.

Currently this only duplicates Sequences in the project panel.

void FocusFilter::go_to_end ( )
slot

Go to End.

Calls go_to_end() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::go_to_in ( )
slot

Go to In Point.

Calls go_to_in() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::go_to_out ( )
slot

Go to Out Point.

Calls go_to_out() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::go_to_start ( )
slot

Go to Start.

Calls go_to_start() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::increase_speed ( )
slot

Increase Speed/Shuttle Right.

Calls increase_speed() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::next_frame ( )
slot

Go to Next Frame.

Calls next_frame() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::pause ( )
slot

Pause/Shuttle Stop.

Calls pause() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::play_in_to_out ( )
slot

Play In Point to Out Point.

Calls play(true) on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::playpause ( )
slot

Toggle Play/Pause.

Calls toggle_play() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::prev_frame ( )
slot

Go to Previous Frame.

Calls previous_frame() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::select_all ( )
slot

Select All.

Calls select_all() on Graph Editor if its focused or Timeline if it's not.

void FocusFilter::set_in_point ( )
slot

Set in point.

Calls set_in_point() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::set_marker ( )
slot

Set a marker at the current playhead.

Calls set_marker() on Media Viewer or Sequence Viewer if it's focused. Otherwise calls it on Timeline.

void FocusFilter::set_out_point ( )
slot

Set out point.

Calls set_out_point() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::set_viewer_fullscreen ( )
slot

Set currently focused viewer to full screen.

Calls viewer_widget->set_fullscreen() on Media Viewer it's focused. Otherwise calls it on Sequence Viewer.

void FocusFilter::zoom_in ( )
slot

Zoom In.

Calls zoom_in() on Effect Controls, Footage Viewer, or Sequence Viewer if one of them is focused. Otherwise calls it on Timeline.

void FocusFilter::zoom_out ( )
slot

Zoom Out.

Calls zoom_out() on Effect Controls, Footage Viewer, or Sequence Viewer if one of them is focused. Otherwise calls it on Timeline.


The documentation for this class was generated from the following files: