Add running script as CLI option
This commit is contained in:
@@ -30,6 +30,8 @@ private slots:
|
||||
public:
|
||||
explicit BatchProcessing(Database *database, QWidget *parent = nullptr);
|
||||
~BatchProcessing();
|
||||
void setOutputDir(const QString &output);
|
||||
void setPaths(const QStringList &paths);
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event);
|
||||
void refreshPaths();
|
||||
@@ -42,9 +44,11 @@ public slots:
|
||||
void browse();
|
||||
void openScriptDir();
|
||||
void runScript();
|
||||
void runScript(const QString &script, bool exit);
|
||||
void stopScript();
|
||||
void scriptFinished();
|
||||
void newMessage(const QString &message, bool error);
|
||||
void newMessageCli(const QString &message, bool error);
|
||||
|
||||
QJSValue getString(const QString &label, const QString &text);
|
||||
QJSValue getInt(const QString &label, int value);
|
||||
|
||||
Reference in New Issue
Block a user