#include <lua_editor.h>
Classes | |
struct | SavedData |
Public Slots | |
void | onDelete () |
void | onLibraryUpdated () |
void | onReloadLibrary () |
void | onSave () |
bool | onShowWidget () override |
void | restoreFunction (const QModelIndex &index) |
void | restoreRecent (const QModelIndex &index) |
![]() | |
virtual bool | onShowWidget ()=0 |
Public Member Functions | |
void | init (PJ::PlotDataMapRef &src_data, PJ::TransformsMap &transform_map) override |
const char * | name () const override |
Name of the plugin type, NOT the particular instance. More... | |
std::pair< QWidget *, WidgetType > | providedWidget () const override |
ToolboxLuaEditor () | |
bool | xmlLoadState (const QDomElement &parent_element) override |
Override this method to load the status of the plugin from XML. More... | |
bool | xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override |
Override this method to save the status of the plugin to XML. More... | |
~ToolboxLuaEditor () override | |
![]() | |
ToolboxPlugin ()=default | |
virtual | ~ToolboxPlugin ()=default |
![]() | |
virtual const std::vector< QAction * > & | availableActions () |
virtual bool | isDebugPlugin () |
virtual QWidget * | optionsWidget () |
optionsWidget pointer to a persistent widget used to set the plugin options . More... | |
PlotJugglerPlugin ()=default | |
QDomElement | xmlSaveState (QDomDocument &doc) const |
Private Member Functions | |
bool | eventFilter (QObject *obj, QEvent *event) override |
SavedData | getItemData (const QListWidgetItem *item) const |
void | setItemData (QListWidgetItem *item, QString name, QString global_code, QString function_code) |
Private Attributes | |
QLuaCompleter * | _completer |
DelayedCallback | _delay_library_check |
QStringList | _dragging_curves |
int | _font_size |
PJ::PlotDataMapRef * | _plot_data = nullptr |
QString | _previous_library |
PJ::TransformsMap * | _transforms = nullptr |
QWidget * | _widget |
Ui::LuaEditor * | ui |
Additional Inherited Members | |
![]() | |
enum | WidgetType { FLOATING, FIXED } |
![]() | |
void | closed () |
void | plotCreated (std::string plot_name) |
Definition at line 21 of file lua_editor.h.
ToolboxLuaEditor::ToolboxLuaEditor | ( | ) |
Definition at line 16 of file lua_editor.cpp.
|
override |
Definition at line 111 of file lua_editor.cpp.
|
overrideprivate |
Definition at line 433 of file lua_editor.cpp.
|
private |
Definition at line 516 of file lua_editor.cpp.
|
overridevirtual |
Implements PJ::ToolboxPlugin.
Definition at line 121 of file lua_editor.cpp.
|
overridevirtual |
Name of the plugin type, NOT the particular instance.
Implements PJ::PlotJugglerPlugin.
Definition at line 116 of file lua_editor.cpp.
|
slot |
Definition at line 345 of file lua_editor.cpp.
|
slot |
Definition at line 374 of file lua_editor.cpp.
|
slot |
Definition at line 412 of file lua_editor.cpp.
|
slot |
Definition at line 257 of file lua_editor.cpp.
|
overrideslot |
Definition at line 208 of file lua_editor.cpp.
|
overridevirtual |
Implements PJ::ToolboxPlugin.
Definition at line 130 of file lua_editor.cpp.
|
slot |
Definition at line 365 of file lua_editor.cpp.
|
slot |
Definition at line 356 of file lua_editor.cpp.
|
private |
Definition at line 526 of file lua_editor.cpp.
|
overridevirtual |
Override this method to load the status of the plugin from XML.
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 175 of file lua_editor.cpp.
|
overridevirtual |
Override this method to save the status of the plugin to XML.
Reimplemented from PJ::PlotJugglerPlugin.
Definition at line 135 of file lua_editor.cpp.
|
private |
Definition at line 70 of file lua_editor.h.
|
private |
Definition at line 73 of file lua_editor.h.
|
private |
Definition at line 68 of file lua_editor.h.
|
private |
Definition at line 72 of file lua_editor.h.
|
private |
Definition at line 63 of file lua_editor.h.
|
private |
Definition at line 75 of file lua_editor.h.
|
private |
Definition at line 64 of file lua_editor.h.
|
private |
Definition at line 60 of file lua_editor.h.
|
private |
Definition at line 61 of file lua_editor.h.