add support to run LAMMPS on the file instead of the edit buffer

This commit is contained in:
Axel Kohlmeyer
2023-08-25 15:12:48 -04:00
parent f94d00d435
commit c61aaa81d2
7 changed files with 123 additions and 53 deletions

View File

@ -68,6 +68,7 @@
<string>&amp;Run</string>
</property>
<addaction name="actionRun_Buffer"/>
<addaction name="actionRun_File"/>
<addaction name="actionStop_LAMMPS"/>
<addaction name="separator"/>
<addaction name="actionSet_Variables"/>
@ -215,12 +216,23 @@
<iconset theme=":/system-run.png"/>
</property>
<property name="text">
<string>&amp;Run LAMMPS</string>
<string>&amp;Run LAMMPS from Editor Buffer</string>
</property>
<property name="shortcut">
<string>Ctrl+Return</string>
</property>
</action>
<action name="actionRun_File">
<property name="icon">
<iconset theme=":/run-file.png"/>
</property>
<property name="text">
<string>&amp;Run LAMMPS from File</string>
</property>
<property name="shortcut">
<string>Ctrl+Shift+Return</string>
</property>
</action>
<action name="actionStop_LAMMPS">
<property name="icon">
<iconset theme=":/process-stop.png"/>