Added sample expression files.
This commit is contained in:
parent
1e91e006c4
commit
4fe0b030f5
11 changed files with 96 additions and 0 deletions
9
code/studio/src/plugins/gui_editor/expressions/add.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/add.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Mathematical</category>
|
||||||
|
<name>add</name>
|
||||||
|
<variable>true</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/and.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/and.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Logical</category>
|
||||||
|
<name>and</name>
|
||||||
|
<variable>true</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/div.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/div.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Mathematical</category>
|
||||||
|
<name>div</name>
|
||||||
|
<variable>false</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/eq.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/eq.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Logical</category>
|
||||||
|
<name>eq</name>
|
||||||
|
<variable>true</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<expression>
|
||||||
|
<category>Logical</category>
|
||||||
|
<name>ifthenelse</name>
|
||||||
|
<variable>false</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>if</slot>
|
||||||
|
<slot>then</slot>
|
||||||
|
<slot>else</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/mul.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/mul.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Mathematical</category>
|
||||||
|
<name>mul</name>
|
||||||
|
<variable>true</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/ne.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/ne.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Logical</category>
|
||||||
|
<name>ne</name>
|
||||||
|
<variable>true</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
8
code/studio/src/plugins/gui_editor/expressions/not.xml
Normal file
8
code/studio/src/plugins/gui_editor/expressions/not.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<expression>
|
||||||
|
<category>Logical</category>
|
||||||
|
<name>not</name>
|
||||||
|
<variable>false</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/or.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/or.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Logical</category>
|
||||||
|
<name>or</name>
|
||||||
|
<variable>true</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
9
code/studio/src/plugins/gui_editor/expressions/sub.xml
Normal file
9
code/studio/src/plugins/gui_editor/expressions/sub.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<expression>
|
||||||
|
<category>Mathematical</category>
|
||||||
|
<name>sub</name>
|
||||||
|
<variable>false</variable>
|
||||||
|
<slots>
|
||||||
|
<slot>A</slot>
|
||||||
|
<slot>B</slot>
|
||||||
|
</slots>
|
||||||
|
</expression>
|
6
code/studio/src/plugins/gui_editor/expressions/value.xml
Normal file
6
code/studio/src/plugins/gui_editor/expressions/value.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<expression>
|
||||||
|
<category>Value</category>
|
||||||
|
<name>value</name>
|
||||||
|
<value>true</value>
|
||||||
|
<variable>false</variable>
|
||||||
|
</expression>
|
Loading…
Reference in a new issue