|
LibreCAD
|
Widget that allows to enter and run Lua code. This widget runs the code on the selected window in CadMdiChild and display the output in the command line. More...
#include <luascript.h>


Public Member Functions | |
| LuaScript (QMdiArea *mdiArea, CliCommand *cliCommand) | |
| Create widget. More... | |
| virtual | ~LuaScript () |
Private Slots | |
| void | on_luaRun_clicked () |
| Run script. More... | |
| void | on_open_clicked () |
| Open file. More... | |
| void | on_save_clicked () |
| Save file. More... | |
Private Attributes | |
| Ui::LuaScript * | ui |
| QMdiArea * | _mdiArea |
| CliCommand * | _cliCommand |
Widget that allows to enter and run Lua code. This widget runs the code on the selected window in CadMdiChild and display the output in the command line.
Definition at line 19 of file luascript.h.
|
explicit |
Create widget.
| mdiArea | Pointer to QMdiArea |
| cliCommand | Pointer to CliCommand |
Definition at line 7 of file luascript.cpp.
|
virtual |
Definition at line 14 of file luascript.cpp.
|
privateslot |
Run script.
Definition at line 19 of file luascript.cpp.
|
privateslot |
|
privateslot |
|
private |
Definition at line 50 of file luascript.h.
|
private |
Definition at line 49 of file luascript.h.
|
private |
Definition at line 48 of file luascript.h.