#include <timeline.h>
Public Slots | |
void | paste (bool insert=false) |
void | repaint_timeline () |
void | toggle_show_all () |
void | deselect () |
void | toggle_links () |
void | split_at_playhead () |
void | ripple_delete () |
void | ripple_delete_empty_space () |
void | toggle_enable_on_selected_clips () |
void | delete_inout () |
void | ripple_delete_inout () |
void | ripple_to_in_point () |
void | ripple_to_out_point () |
void | edit_to_in_point () |
void | edit_to_out_point () |
void | IncreaseTrackHeight () |
void | DecreaseTrackHeight () |
void | previous_cut () |
void | next_cut () |
void | add_transition () |
void | nest () |
void | zoom_in () |
void | zoom_out () |
Public Member Functions | |
Timeline (QWidget *parent=nullptr) | |
virtual | ~Timeline () override |
bool | focused () |
void | multiply_zoom (double m) |
void | copy (bool del) |
ClipPtr | split_clip (ComboAction *ca, bool transitions, int p, long frame) |
ClipPtr | split_clip (ComboAction *ca, bool transitions, int p, long frame, long post_in) |
bool | split_selection (ComboAction *ca) |
bool | split_all_clips_at_point (ComboAction *ca, long point) |
bool | split_clip_and_relink (ComboAction *ca, int clip, long frame, bool relink) |
void | split_clip_at_positions (ComboAction *ca, int clip_index, QVector< long > positions) |
void | clean_up_selections (QVector< Selection > &areas) |
void | deselect_area (long in, long out, int track) |
void | delete_areas_and_relink (ComboAction *ca, QVector< Selection > &areas, bool deselect_areas) |
void | relink_clips_using_ids (QVector< int > &old_clips, QVector< ClipPtr > &new_clips) |
void | update_sequence () |
void | edit_to_point_internal (bool in, bool ripple) |
void | delete_in_out_internal (bool ripple) |
void | create_ghosts_from_media (Sequence *seq, long entry_point, QVector< olive::timeline::MediaImportData > &media_list) |
void | add_clips_from_ghosts (ComboAction *ca, Sequence *s) |
int | getTimelineScreenPointFromFrame (long frame) |
long | getTimelineFrameFromScreenPoint (int x) |
int | getDisplayScreenPointFromFrame (long frame) |
long | getDisplayFrameFromScreenPoint (int x) |
int | get_snap_range () |
bool | snap_to_point (long point, long *l) |
bool | snap_to_timeline (long *l, bool use_playhead, bool use_markers, bool use_workarea) |
void | set_marker () |
void | update_effect_controls () |
int | GetTrackHeight (int track) |
void | SetTrackHeight (int track, int height) |
void | delete_selection (QVector< Selection > &selections, bool ripple) |
void | select_all () |
void | scroll_to_frame (long frame) |
void | select_from_playhead () |
bool | can_ripple_empty_space (long frame, int track) |
virtual void | Retranslate () override |
![]() | |
Panel (QWidget *parent=nullptr) | |
virtual | ~Panel () override |
virtual void | LoadLayoutState (const QByteArray &data) |
virtual QByteArray | SaveLayoutState () |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *event) override |
![]() | |
virtual void | changeEvent (QEvent *e) override |
Private Slots | |
void | snapping_clicked (bool checked) |
void | add_btn_click () |
void | add_menu_item (QAction *) |
void | setScroll (int) |
void | record_btn_click () |
void | transition_tool_click () |
void | transition_menu_select (QAction *) |
void | resize_move (double d) |
void | set_tool () |
Private Member Functions | |
void | ChangeTrackHeightUniformly (int diff) |
void | set_zoom_value (double v) |
void | decheck_tool_buttons (QObject *sender) |
void | set_tool (int tool) |
void | set_sb_max () |
void | UpdateTitle () |
void | setup_ui () |
Private Attributes | |
QVector< QPushButton * > | tool_buttons |
int | scroll |
long | rc_ripple_min |
long | rc_ripple_max |
QVector< TimelineTrackHeight > | track_heights |
QWidget * | timeline_area |
TimelineWidget * | video_area |
TimelineWidget * | audio_area |
QWidget * | editAreas |
QScrollBar * | videoScrollbar |
QScrollBar * | audioScrollbar |
QPushButton * | zoomInButton |
QPushButton * | zoomOutButton |
QPushButton * | recordButton |
QPushButton * | addButton |
QWidget * | tool_button_widget |
|
explicit |
|
overridevirtual |
|
privateslot |
void Timeline::add_clips_from_ghosts | ( | ComboAction * | ca, |
Sequence * | s | ||
) |
|
privateslot |
|
slot |
bool Timeline::can_ripple_empty_space | ( | long | frame, |
int | track | ||
) |
|
private |
void Timeline::clean_up_selections | ( | QVector< Selection > & | areas | ) |
void Timeline::copy | ( | bool | del | ) |
void Timeline::create_ghosts_from_media | ( | Sequence * | seq, |
long | entry_point, | ||
QVector< olive::timeline::MediaImportData > & | media_list | ||
) |
|
private |
|
slot |
void Timeline::delete_areas_and_relink | ( | ComboAction * | ca, |
QVector< Selection > & | areas, | ||
bool | deselect_areas | ||
) |
void Timeline::delete_in_out_internal | ( | bool | ripple | ) |
|
slot |
void Timeline::delete_selection | ( | QVector< Selection > & | selections, |
bool | ripple | ||
) |
|
slot |
void Timeline::deselect_area | ( | long | in, |
long | out, | ||
int | track | ||
) |
|
slot |
|
slot |
void Timeline::edit_to_point_internal | ( | bool | in, |
bool | ripple | ||
) |
bool Timeline::focused | ( | ) |
int Timeline::get_snap_range | ( | ) |
long Timeline::getDisplayFrameFromScreenPoint | ( | int | x | ) |
int Timeline::getDisplayScreenPointFromFrame | ( | long | frame | ) |
long Timeline::getTimelineFrameFromScreenPoint | ( | int | x | ) |
int Timeline::getTimelineScreenPointFromFrame | ( | long | frame | ) |
int Timeline::GetTrackHeight | ( | int | track | ) |
|
slot |
void Timeline::multiply_zoom | ( | double | m | ) |
|
slot |
|
slot |
|
slot |
|
slot |
|
privateslot |
void Timeline::relink_clips_using_ids | ( | QVector< int > & | old_clips, |
QVector< ClipPtr > & | new_clips | ||
) |
|
slot |
|
privateslot |
|
overrideprotectedvirtual |
|
overridevirtual |
Implements Panel.
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
void Timeline::scroll_to_frame | ( | long | frame | ) |
void Timeline::select_all | ( | ) |
void Timeline::select_from_playhead | ( | ) |
void Timeline::set_marker | ( | ) |
|
private |
|
privateslot |
|
private |
|
private |
|
privateslot |
void Timeline::SetTrackHeight | ( | int | track, |
int | height | ||
) |
|
private |
bool Timeline::snap_to_point | ( | long | point, |
long * | l | ||
) |
bool Timeline::snap_to_timeline | ( | long * | l, |
bool | use_playhead, | ||
bool | use_markers, | ||
bool | use_workarea | ||
) |
|
privateslot |
bool Timeline::split_all_clips_at_point | ( | ComboAction * | ca, |
long | point | ||
) |
|
slot |
ClipPtr Timeline::split_clip | ( | ComboAction * | ca, |
bool | transitions, | ||
int | p, | ||
long | frame | ||
) |
ClipPtr Timeline::split_clip | ( | ComboAction * | ca, |
bool | transitions, | ||
int | p, | ||
long | frame, | ||
long | post_in | ||
) |
bool Timeline::split_clip_and_relink | ( | ComboAction * | ca, |
int | clip, | ||
long | frame, | ||
bool | relink | ||
) |
void Timeline::split_clip_at_positions | ( | ComboAction * | ca, |
int | clip_index, | ||
QVector< long > | positions | ||
) |
bool Timeline::split_selection | ( | ComboAction * | ca | ) |
|
slot |
|
slot |
|
slot |
|
privateslot |
|
privateslot |
void Timeline::update_effect_controls | ( | ) |
void Timeline::update_sequence | ( | ) |
|
private |
|
slot |
|
slot |
|
private |
|
private |
bool Timeline::audio_ghosts |
AudioMonitor* Timeline::audio_monitor |
|
private |
bool Timeline::block_repaints |
bool Timeline::creating |
int Timeline::creating_object |
long Timeline::cursor_frame |
int Timeline::cursor_track |
long Timeline::drag_frame_start |
int Timeline::drag_track_start |
int Timeline::drag_x_start |
int Timeline::drag_y_start |
|
private |
QVector<Ghost> Timeline::ghosts |
bool Timeline::hand_moving |
TimelineHeader* Timeline::headers |
ResizableScrollBar* Timeline::horizontalScrollBar |
bool Timeline::importing |
bool Timeline::importing_files |
bool Timeline::move_insert |
bool Timeline::moving_init |
bool Timeline::moving_proc |
double Timeline::old_zoom |
|
private |
|
private |
|
private |
bool Timeline::rect_select_init |
bool Timeline::rect_select_proc |
QRect Timeline::rect_select_rect |
|
private |
bool Timeline::selecting |
int Timeline::selection_offset |
bool Timeline::showing_all |
long Timeline::snap_point |
bool Timeline::snapped |
bool Timeline::snapping |
QPushButton* Timeline::snappingButton |
QVector<int> Timeline::split_cache |
QVector<int> Timeline::split_tracks |
bool Timeline::splitting |
|
private |
int Timeline::tool |
|
private |
|
private |
QPushButton* Timeline::toolArrowButton |
QPushButton* Timeline::toolEditButton |
QPushButton* Timeline::toolHandButton |
QPushButton* Timeline::toolRazorButton |
QPushButton* Timeline::toolRippleButton |
QPushButton* Timeline::toolSlideButton |
QPushButton* Timeline::toolSlipButton |
QPushButton* Timeline::toolTransitionButton |
|
private |
int Timeline::transition_select |
int Timeline::transition_tool_close_clip |
bool Timeline::transition_tool_init |
const EffectMeta* Timeline::transition_tool_meta |
int Timeline::transition_tool_open_clip |
bool Timeline::transition_tool_proc |
int Timeline::transition_tool_side |
int Timeline::trim_target |
TrimType Timeline::trim_type |
|
private |
bool Timeline::video_ghosts |
|
private |
double Timeline::zoom |
bool Timeline::zoom_just_changed |
|
private |
|
private |