21 #include <QApplication>
23 #include "pencilerror.h"
29 (static_cast<Pencil2D *>(QCoreApplication::instance()))
45 explicit Pencil2D(
int &argc,
char **argv);
59 bool event(
QEvent* event)
override;
Status handleCommandLineOptions()
Parses supplied command line arguments and performs the appropriate actions, such as running the comm...
The main application class handling startup as well as the main loop.
Pencil2D(int &argc, char **argv)
Initializes the application with the given command line arguments.
void openFileRequested(QString filename)
Emitted when the operating system requests that a file should be opened.
void prepareGuiStartup(const QString &inputPath)
Readies the graphical UI for entering the main loop.
void installTranslators()
Sets up translators for the application locale configured by the user or the system locale...