removed effect controls and viewer ui files
This commit is contained in:
+45
-31
@@ -8,10 +8,12 @@ class Timeline;
|
||||
class ViewerWidget;
|
||||
class Media;
|
||||
struct Sequence;
|
||||
|
||||
namespace Ui {
|
||||
class Viewer;
|
||||
}
|
||||
class TimelineHeader;
|
||||
class ResizableScrollBar;
|
||||
class ViewerContainer;
|
||||
class LabelSlider;
|
||||
class QPushButton;
|
||||
class QLabel;
|
||||
|
||||
bool frame_rate_is_droppable(float rate);
|
||||
long timecode_to_frame(const QString& s, int view, double frame_rate);
|
||||
@@ -26,18 +28,18 @@ public:
|
||||
~Viewer();
|
||||
|
||||
bool is_focused();
|
||||
void set_main_sequence();
|
||||
void set_media(Media *m);
|
||||
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 set_playpause_icon(bool play);
|
||||
void update_playhead_timecode(long p);
|
||||
void update_end_timecode();
|
||||
void update_header_zoom();
|
||||
void update_viewer();
|
||||
void clear_inout_point();
|
||||
void clear_inout_point();
|
||||
void set_in_point();
|
||||
void set_out_point();
|
||||
void set_zoom(bool in);
|
||||
void set_zoom(bool in);
|
||||
|
||||
// playback functions
|
||||
void go_to_start();
|
||||
@@ -56,51 +58,63 @@ public:
|
||||
|
||||
void cue_recording(long start, long end, int track);
|
||||
void uncue_recording();
|
||||
bool is_recording_cued();
|
||||
bool is_recording_cued();
|
||||
long recording_start;
|
||||
long recording_end;
|
||||
int recording_track;
|
||||
int recording_track;
|
||||
|
||||
void reset_all_audio();
|
||||
void reset_all_audio();
|
||||
void update_parents();
|
||||
|
||||
ViewerWidget* viewer_widget;
|
||||
|
||||
Media* media;
|
||||
Media* media;
|
||||
Sequence* seq;
|
||||
|
||||
Ui::Viewer *ui;
|
||||
|
||||
void resizeEvent(QResizeEvent *event);
|
||||
void resizeEvent(QResizeEvent *event);
|
||||
|
||||
public slots:
|
||||
void play_wake();
|
||||
|
||||
private slots:
|
||||
void on_btnSkipToStart_clicked();
|
||||
void on_btnRewind_clicked();
|
||||
void on_btnPlay_clicked();
|
||||
void on_btnFastForward_clicked();
|
||||
void on_btnSkipToEnd_clicked();
|
||||
void on_btnSkipToStart_clicked();
|
||||
void on_btnRewind_clicked();
|
||||
void on_btnPlay_clicked();
|
||||
void on_btnFastForward_clicked();
|
||||
void on_btnSkipToEnd_clicked();
|
||||
|
||||
void update_playhead();
|
||||
void timer_update();
|
||||
void recording_flasher_update();
|
||||
void resize_move(double d);
|
||||
void resize_move(double d);
|
||||
|
||||
private:
|
||||
void clean_created_seq();
|
||||
void set_sequence(bool main, Sequence* s);
|
||||
void set_sequence(bool main, Sequence* s);
|
||||
bool main_sequence;
|
||||
bool created_sequence;
|
||||
long cached_end_frame;
|
||||
QString panel_name;
|
||||
double minimum_zoom;
|
||||
void set_zoom_value(double d);
|
||||
void set_sb_max();
|
||||
long cached_end_frame;
|
||||
QString panel_name;
|
||||
double minimum_zoom;
|
||||
void set_zoom_value(double d);
|
||||
void set_sb_max();
|
||||
|
||||
void setup_ui();
|
||||
|
||||
TimelineHeader* headers;
|
||||
ResizableScrollBar* horizontalScrollBar;
|
||||
ViewerContainer* glViewerPane;
|
||||
LabelSlider* currentTimecode;
|
||||
QLabel* endTimecode;
|
||||
|
||||
QPushButton* btnSkipToStart;
|
||||
QPushButton* btnRewind;
|
||||
QPushButton* btnPlay;
|
||||
QPushButton* btnFastForward;
|
||||
QPushButton* btnSkipToEnd;
|
||||
|
||||
bool cue_recording_internal;
|
||||
QTimer recording_flasher;
|
||||
QTimer recording_flasher;
|
||||
};
|
||||
|
||||
#endif // VIEWER_H
|
||||
|
||||
Reference in New Issue
Block a user