13 #include <QFileDialog>
49 const struct text_tag_list *tags)
61 str = QString(
_(
"Lua scripts")) + QStringLiteral(
" (*.lua)");
63 king()->central_wdg,
_(
"Load lua script"), QDir::homePath(), str);
void real_output_window_append(const QString &astring, const text_tag_list *tags)
Appends the string to the chat output window.
class fc_client * king()
Return fc_client instance.
bool luaconsole_dialog_is_open(void)
Return true if the lua console is open.
void qload_lua_script()
Load and execute lua script.
void real_luaconsole_append(const char *astring, const struct text_tag_list *tags)
Appends the string to the chat output window.
void real_luaconsole_dialog_update(void)
Update the lua console.
void luaconsole_dialog_popup(bool raise)
Popup the lua console inside the main-window, and optionally raise it.
void qreload_lua_script()
Reload last lua script.
bool script_client_do_file(const char *filename)
Parse and execute the script at filename.