24 #include "project/undo.h" 302 extern QSharedPointer<OliveGlobal> Global;
310 extern QString ActiveProjectFilename;
315 extern QString AppName;
318 #endif // OLIVEGLOBAL_H void open_debug_log()
Open the Debug Log window.
Definition: oliveglobal.cpp:290
bool save_project_as()
Shows a save file dialog and saves the project as the resulting filename.
Definition: oliveglobal.cpp:154
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:77
QTimer autorecovery_timer
Regular interval to save an auto-recovery project.
Definition: oliveglobal.h:286
void load_project_on_launch(const QString &s)
Set a project to load just after launching.
Definition: oliveglobal.cpp:103
void set_rendering_state(bool rendering)
Set the application state depending on if the user is exporting a video.
Definition: oliveglobal.cpp:94
void redo()
Redo user's last action.
Definition: oliveglobal.cpp:265
void save_autorecovery_file()
Save an auto-recovery file of the current project.
Definition: oliveglobal.cpp:235
void clear_undo_stack()
Clears the current undo stack.
Definition: oliveglobal.cpp:307
OliveGlobal()
OliveGlobal Constructor.
Definition: oliveglobal.cpp:50
void open_recent(int index)
Open recent project from list.
Definition: oliveglobal.cpp:138
void open_preferences()
Opens the Preferences dialog.
Definition: oliveglobal.cpp:242
void finished_initialize()
Function called when Olive has finished starting up.
Definition: oliveglobal.cpp:209
void paste_insert()
Paste contents of clipboard, making space for it when possible.
Definition: oliveglobal.cpp:279
QString get_recent_project_list_file()
Retrieves the URL of the config file containing the autorecovery projects.
Definition: oliveglobal.cpp:108
void open_action_search()
Open the Action Search overlay.
Definition: oliveglobal.cpp:311
void open_project()
Open a project from file.
Definition: oliveglobal.cpp:131
const QString & get_project_file_filter()
Returns the file dialog filter used when interfacing with Olive project files.
Definition: oliveglobal.cpp:65
void paste()
Paste contents of clipboard.
Definition: oliveglobal.cpp:273
bool can_close_project()
Determine whether the current project can be closed.
Definition: oliveglobal.cpp:176
void update_project_filename(const QString &s)
Change the current active project filename.
Definition: oliveglobal.cpp:69
bool save_project()
Saves the current project to file.
Definition: oliveglobal.cpp:167
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:291
The Olive Global class.
Definition: oliveglobal.h:34
void open_export_dialog()
Open the Export dialog to trigger an export of the current sequence.
Definition: oliveglobal.cpp:197
void open_project_worker(const QString &fn, bool autorecovery)
Internal function to handle loading a project from file.
Definition: oliveglobal.cpp:251
void open_speed_dialog()
Open the Speed/Duration dialog.
Definition: oliveglobal.cpp:294
void new_project()
Create new project.
Definition: oliveglobal.cpp:112
QString project_file_filter
File filter used for any file dialogs relating to Olive project files.
Definition: oliveglobal.h:281
void undo()
Undo user's last action.
Definition: oliveglobal.cpp:257
void open_about_dialog()
Open the About Olive dialog.
Definition: oliveglobal.cpp:285