New upstream version 21.0.2+dfsg1
This commit is contained in:
parent
1f1bbb3518
commit
baafb6325b
706 changed files with 49633 additions and 5044 deletions
50
UI/frontend-plugins/frontend-tools/scripts.hpp
Normal file
50
UI/frontend-plugins/frontend-tools/scripts.hpp
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
#include <QWidget>
|
||||
#include <QString>
|
||||
|
||||
class Ui_ScriptsTool;
|
||||
|
||||
class ScriptLogWindow : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
QString lines;
|
||||
bool bottomScrolled = true;
|
||||
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
|
||||
public:
|
||||
ScriptLogWindow();
|
||||
~ScriptLogWindow();
|
||||
|
||||
public slots:
|
||||
void AddLogMsg(int log_level, QString msg);
|
||||
void ClearWindow();
|
||||
void Clear();
|
||||
void ScrollChanged(int val);
|
||||
};
|
||||
|
||||
class ScriptsTool : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
Ui_ScriptsTool *ui;
|
||||
QWidget *propertiesView = nullptr;
|
||||
|
||||
public:
|
||||
ScriptsTool();
|
||||
~ScriptsTool();
|
||||
|
||||
void RemoveScript(const char *path);
|
||||
void ReloadScript(const char *path);
|
||||
void RefreshLists();
|
||||
|
||||
public slots:
|
||||
void on_close_clicked();
|
||||
|
||||
void on_addScripts_clicked();
|
||||
void on_removeScripts_clicked();
|
||||
void on_reloadScripts_clicked();
|
||||
void on_scriptLog_clicked();
|
||||
|
||||
void on_scripts_currentRowChanged(int row);
|
||||
|
||||
void on_pythonPathBrowse_clicked();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue