Olive
Public Slots | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
Viewer Class Reference
Inheritance diagram for Viewer:

Public Slots

void play_wake ()
 
void go_to_start ()
 
void go_to_in ()
 
void previous_frame ()
 
void toggle_play ()
 
void increase_speed ()
 
void decrease_speed ()
 
void next_frame ()
 
void go_to_out ()
 
void go_to_end ()
 
void close_media ()
 
void update_viewer ()
 

Public Member Functions

 Viewer (QWidget *parent=nullptr)
 
bool is_focused ()
 
bool is_main_sequence ()
 
void set_main_sequence ()
 
void set_media (Media *m)
 
void compose ()
 
void set_playpause_icon (bool play)
 
void update_playhead_timecode (long p)
 
void update_end_timecode ()
 
void update_header_zoom ()
 
void clear_in ()
 
void clear_out ()
 
void clear_inout_point ()
 
void set_in_point ()
 
void set_out_point ()
 
void set_zoom (bool in)
 
void set_panel_name (const QString &n)
 
void seek (long p)
 
void play (bool in_to_out=false)
 
void pause ()
 
void cue_recording (long start, long end, int track)
 
void uncue_recording ()
 
bool is_recording_cued ()
 
void reset_all_audio ()
 
void update_parents (bool reload_fx=false)
 
int get_playback_speed ()
 
void set_marker ()
 
void resizeEvent (QResizeEvent *event)
 

Public Attributes

bool playing
 
long playhead_start
 
qint64 start_msecs
 
QTimer playback_updater
 
bool just_played
 
long recording_start
 
long recording_end
 
int recording_track
 
ViewerWidgetviewer_widget
 
Mediamedia
 
Sequenceseq
 
QVector< Marker > * marker_ref
 
TimelineHeaderheaders
 

Private Slots

void update_playhead ()
 
void timer_update ()
 
void recording_flasher_update ()
 
void resize_move (double d)
 

Private Member Functions

void update_window_title ()
 
void clean_created_seq ()
 
void set_sequence (bool main, Sequence *s)
 
void set_zoom_value (double d)
 
void set_sb_max ()
 
void set_playback_speed (int s)
 
long get_seq_in ()
 
long get_seq_out ()
 
void setup_ui ()
 

Private Attributes

bool main_sequence
 
bool created_sequence
 
long cached_end_frame
 
QString panel_name
 
double minimum_zoom
 
bool playing_in_to_out
 
long last_playhead
 
QIcon playIcon
 
ResizableScrollBarhorizontal_bar
 
ViewerContainerviewer_container
 
LabelSlidercurrent_timecode_slider
 
QLabel * end_timecode
 
QPushButton * go_to_start_button
 
QPushButton * prev_frame_button
 
QPushButton * play_button
 
QPushButton * next_frame_button
 
QPushButton * go_to_end_frame
 
bool cue_recording_internal
 
QTimer recording_flasher
 
long previous_playhead
 
int playback_speed
 

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