4 #include "project/undo.h" 282 extern QSharedPointer<OliveGlobal> Global;
290 extern QString ActiveProjectFilename;
295 extern QString AppName;
298 #endif // OLIVEGLOBAL_H void open_debug_log()
Open the Debug Log window.
Definition: oliveglobal.cpp:259
bool save_project_as()
Shows a save file dialog and saves the project as the resulting filename.
Definition: oliveglobal.cpp:134
void check_for_autorecovery_file()
Check whether an auto-recovery file exists and ask the user if they want to load it.
Definition: oliveglobal.cpp:57
QTimer autorecovery_timer
Regular interval to save an auto-recovery project.
Definition: oliveglobal.h:266
void load_project_on_launch(const QString &s)
Set a project to load just after launching.
Definition: oliveglobal.cpp:83
void set_rendering_state(bool rendering)
Set the application state depending on if the user is exporting a video.
Definition: oliveglobal.cpp:74
void redo()
Redo user's last action.
Definition: oliveglobal.cpp:234
void save_autorecovery_file()
Save an auto-recovery file of the current project.
Definition: oliveglobal.cpp:204
void clear_undo_stack()
Clears the current undo stack.
Definition: oliveglobal.cpp:276
OliveGlobal()
OliveGlobal Constructor.
Definition: oliveglobal.cpp:30
void open_recent(int index)
Open recent project from list.
Definition: oliveglobal.cpp:118
void open_preferences()
Opens the Preferences dialog.
Definition: oliveglobal.cpp:211
void finished_initialize()
Function called when Olive has finished starting up.
Definition: oliveglobal.cpp:189
void paste_insert()
Paste contents of clipboard, making space for it when possible.
Definition: oliveglobal.cpp:248
QString get_recent_project_list_file()
Retrieves the URL of the config file containing the autorecovery projects.
Definition: oliveglobal.cpp:88
void open_action_search()
Open the Action Search overlay.
Definition: oliveglobal.cpp:280
void open_project()
Open a project from file.
Definition: oliveglobal.cpp:111
const QString & get_project_file_filter()
Returns the file dialog filter used when interfacing with Olive project files.
Definition: oliveglobal.cpp:45
void paste()
Paste contents of clipboard.
Definition: oliveglobal.cpp:242
bool can_close_project()
Determine whether the current project can be closed.
Definition: oliveglobal.cpp:156
void update_project_filename(const QString &s)
Change the current active project filename.
Definition: oliveglobal.cpp:49
bool save_project()
Saves the current project to file.
Definition: oliveglobal.cpp:147
bool enable_load_project_on_init
Internal variable set to TRUE by main() if a project file was set as an argument.
Definition: oliveglobal.h:271
The Olive Global class.
Definition: oliveglobal.h:14
void open_export_dialog()
Open the Export dialog to trigger an export of the current sequence.
Definition: oliveglobal.cpp:177
void open_project_worker(const QString &fn, bool autorecovery)
Internal function to handle loading a project from file.
Definition: oliveglobal.cpp:220
void open_speed_dialog()
Open the Speed/Duration dialog.
Definition: oliveglobal.cpp:263
void new_project()
Create new project.
Definition: oliveglobal.cpp:92
QString project_file_filter
File filter used for any file dialogs relating to Olive project files.
Definition: oliveglobal.h:261
void undo()
Undo user's last action.
Definition: oliveglobal.cpp:226
void open_about_dialog()
Open the About Olive dialog.
Definition: oliveglobal.cpp:254