mirror of
https://github.com/HavocFramework/Havoc
synced 2026-06-08 11:13:29 +00:00
35 lines
932 B
C++
35 lines
932 B
C++
#ifndef SCRIPTMANAGERVVJSUY_H
|
|
#define SCRIPTMANAGERVVJSUY_H
|
|
|
|
#include <global.hpp>
|
|
|
|
class HavocNamespace::UserInterface::Widgets::ScriptManager : public QWidget
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout = NULL;
|
|
QPushButton *buttonLoadScript = NULL;
|
|
QSpacerItem *horizontalSpacer = NULL;
|
|
QSpacerItem *horizontalSpacer_2 = NULL;
|
|
QTableWidget *tableLoadedScripts = NULL;
|
|
QWidget *ScriptManagerWidget = NULL;
|
|
|
|
QMenu *menuScripts = NULL;
|
|
QAction *actionReload = NULL;
|
|
QAction *actionRemove = NULL;
|
|
|
|
void SetupUi( QWidget *Form );
|
|
void RetranslateUi( void );
|
|
|
|
static bool AddScript( QString Path );
|
|
void AddScriptTable( QString Path );
|
|
|
|
private slots:
|
|
void b_LoadScript();
|
|
void menu_ScriptMenu( const QPoint &pos ) const;
|
|
|
|
void ReloadScript() const;
|
|
void RemoveScript() const;
|
|
};
|
|
|
|
#endif // SCRIPTMANAGERVVJSUY_H
|