RobWorkProject  23.9.11-
Classes | Public Slots | Public Member Functions | List of all members
LuaEditorWindow Class Reference

A lua editor and programming pad designed to resemble a teach pendent for devices in RobWorkStudio. More...

#include <LuaEditorWindow.hpp>

Inherits QMainWindow.

Public Slots

void on_actionNew_triggered (bool)
 
void on_actionOpen_triggered (bool)
 
void on_actionSave_triggered (bool)
 
void on_actionSave_As_triggered (bool)
 
void on_actionRun_triggered (bool)
 
void on_actionStop_triggered (bool)
 
void on_actionReset_triggered (bool)
 
void on_actionReload_triggered (bool)
 
void on_actionClose_triggered (bool)
 
void textChanged ()
 
void runFinished ()
 
void ShowContextMenu (const QPoint &p)
 
void setCheckAction (QAction *)
 

Public Member Functions

 LuaEditorWindow (rw::core::Ptr< rwlibs::swig::LuaState > lua, rw::core::Ptr< rw::core::Log > output, rws::RobWorkStudio *rwstudio, QWidget *parent)
 Constructor. More...
 
virtual ~LuaEditorWindow ()
 destructor
 
void setLuaState (rw::core::Ptr< rwlibs::swig::LuaState > lua)
 change the lua state More...
 

Detailed Description

A lua editor and programming pad designed to resemble a teach pendent for devices in RobWorkStudio.

This editor will enable lua scripting and execution from within RobWorkStudio.

Constructor & Destructor Documentation

◆ LuaEditorWindow()

LuaEditorWindow ( rw::core::Ptr< rwlibs::swig::LuaState lua,
rw::core::Ptr< rw::core::Log output,
rws::RobWorkStudio rwstudio,
QWidget *  parent 
)

Constructor.

Parameters
lua[in] the lua state on which to operate
output[in] the log on which to stream print functionality and errors
rwstudio[in] instance of RobWorkStudio
parent[in] the Qt parent widget

Member Function Documentation

◆ setLuaState()

void setLuaState ( rw::core::Ptr< rwlibs::swig::LuaState lua)
inline

change the lua state

Parameters
lua[in] the new lua state which is to be used.

The documentation for this class was generated from the following file: