aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2023-08-13 19:48:59 +0100
committerJoão Valverde <j@v6e.pt>2023-08-16 15:19:00 +0000
commit8ed0b47667b90b8562bbb8a88accbbb966c868e1 (patch)
treee0eb76675bc59992054250a2c0be9cb500bf2bd5 /cmake/modules
parentde1d30cb4e488a51938478ede99b3f60e8ce1a18 (diff)
Qt: Add Lua console dialog
This adds a dialog in the Tools menu to open a console and evaluate Lua code using the embedded Lua engine. It replaces the previous console.lua implementation that was more limited to use, because it relies on GUI bits exposed to Lua. It used two separate windows for that reason. The implementation uses the existing "funnel" API amd relies heavily on callbacks to maintain separation between GUI and epan code and make it generic enough to possibly support more use cases than just the Lua 5.2 console. The open and close callbacks are used to install and remove a custom print() lua function with dialog creation and destruction. The eval callback is basically the same as luaL_dostring().
Diffstat (limited to 'cmake/modules')
0 files changed, 0 insertions, 0 deletions