add parser that collects info about possible variables to be set from the command line

This commit is contained in:
Axel Kohlmeyer
2023-08-11 21:59:51 -04:00
parent 2cf73ff427
commit 45b9801941
5 changed files with 74 additions and 5 deletions

View File

@ -17,6 +17,7 @@
#include <QMainWindow>
#include <QList>
#include <QPair>
#include <QString>
#include <vector>
@ -57,6 +58,7 @@ protected:
void open_file(const QString &filename);
void write_file(const QString &filename);
void update_recents(const QString &filename = "");
void update_variables();
void start_lammps();
void run_done();
@ -105,6 +107,7 @@ private:
QString current_file;
QString current_dir;
QList<QString> recent;
QList<QPair<QString, QString>> variables;
LammpsWrapper lammps;
std::string plugin_path;