#include <UiVariableList.hpp>
|
|
void | variableSelected (Variable *variable) |
| |
|
void | variableListChanged () |
| |
|
void | variableFocused () |
| |
|
void | variableDoubleClicked (Variable *variable) |
| |
◆ addBindExpression()
| void ast::UiVariableList::addBindExpression |
( |
Expr * | expr | ) |
|
|
inline |
输入表达式,新建与表达式双向绑定的变量并追加到列表末尾
- 参数
-
◆ addExpression()
| void ast::UiVariableList::addExpression |
( |
Expr * | expr, |
|
|
bool | bind ) |
◆ setInterpreter()
| void ast::UiVariableList::setInterpreter |
( |
Interpreter * | interpreter, |
|
|
Object * | owner ) |
设置脚本解释器
- 参数
-
| interpreter | 脚本解释器,被owner对象持有 |
| owner | 所有者对象,用于判断解释器的生命周期是否结束 |
◆ setVariableList()
设置要编辑的变量列表(裸指针,不持有所有权)
- 参数
-
| variableList | 要编辑的变量列表,被owner对象持有 |
| owner | 所有者对象,用于判断变量列表的生命周期是否结束 |
该类的文档由以下文件生成: