forked from olive-editor/olive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
200 lines (112 loc) · 4.25 KB
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
class Project;
class EffectControls;
class Viewer;
class Timeline;
extern QMainWindow* mainWindow;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void undo();
void redo();
void openSpeedDialog();
protected:
void closeEvent(QCloseEvent *);
void paintEvent(QPaintEvent *event);
private slots:
void on_action_Import_triggered();
void on_actionExit_triggered();
void on_actionAbout_triggered();
void on_actionDelete_triggered();
void on_actionSelect_All_triggered();
void on_actionSequence_triggered();
void on_actionZoom_In_triggered();
void on_actionZoom_out_triggered();
void on_actionExport_triggered();
void on_actionProject_2_toggled(bool arg1);
void on_actionEffect_Controls_toggled(bool arg1);
void on_actionViewer_toggled(bool arg1);
void on_actionTimeline_toggled(bool arg1);
void on_actionRipple_Delete_triggered();
void on_actionSplit_at_Playhead_triggered();
void on_actionCu_t_triggered();
void on_actionCop_y_triggered();
void on_action_Paste_triggered();
void on_action_Save_Project_triggered();
void on_action_Open_Project_triggered();
void on_actionProject_triggered();
void on_actionSave_Project_As_triggered();
void on_actionDeselect_All_triggered();
void on_actionGo_to_start_triggered();
void on_actionReset_to_default_layout_triggered();
void on_actionPrevious_Frame_triggered();
void on_actionNext_Frame_triggered();
void on_actionGo_to_End_triggered();
void on_actionPlay_Pause_triggered();
void on_actionEdit_Tool_triggered();
void on_actionToggle_Snapping_triggered();
void on_actionPointer_Tool_triggered();
void on_actionRazor_Tool_triggered();
void on_actionRipple_Tool_triggered();
void on_actionRolling_Tool_triggered();
void on_actionSlip_Tool_triggered();
void on_actionGo_to_Previous_Cut_triggered();
void on_actionGo_to_Next_Cut_triggered();
void autorecover_interval();
void on_actionPreferences_triggered();
void on_actionIncrease_Track_Height_triggered();
void on_actionDecrease_Track_Height_triggered();
void windowMenu_About_To_Be_Shown();
void on_actionFrames_triggered();
void on_actionDrop_Frame_triggered();
void on_actionNon_Drop_Frame_triggered();
void viewMenu_About_To_Be_Shown();
void on_actionEdit_Tool_Selects_Links_triggered();
void on_actionEdit_Tool_Also_Seeks_triggered();
void toolMenu_About_To_Be_Shown();
void on_actionDuplicate_triggered();
void on_actionSelecting_Also_Seeks_triggered();
void on_actionSeek_to_the_End_of_Pastes_triggered();
void on_actionAdd_Default_Transition_triggered();
void on_actionSlide_Tool_triggered();
void on_actionFolder_triggered();
void editMenu_About_To_Be_Shown();
void fileMenu_About_To_Be_Shown();
void load_recent_project();
void on_actionScroll_Wheel_Zooms_triggered();
void on_actionLink_Unlink_triggered();
void on_actionRipple_To_In_Point_triggered();
void on_actionRipple_to_Out_Point_triggered();
void on_actionSet_In_Point_triggered();
void on_actionSet_Out_Point_triggered();
void on_actionClear_In_Out_triggered();
void on_actionDelete_In_Out_triggered();
void on_actionRipple_Delete_In_Out_triggered();
void on_actionTimeline_Track_Lines_triggered();
void on_actionRectified_Waveforms_triggered();
void on_actionDefault_triggered();
void on_actionOff_triggered();
void on_action4_3_triggered();
void on_action16_9_triggered();
void on_actionCustom_triggered();
void on_actionEnable_Drag_Files_to_Timeline_triggered();
void on_actionAuto_scale_by_Default_triggered();
void on_actionSet_Edit_Marker_triggered();
private:
Ui::MainWindow *ui;
void setup_layout();
bool save_project_as();
bool save_project();
bool can_close_project();
void updateTitle(const QString &url);
};
#endif // MAINWINDOW_H