add restart file inspector showing system info, data file, and snapshot image

This commit is contained in:
Axel Kohlmeyer
2024-08-05 20:04:44 -04:00
parent 7561e05218
commit 0216692698
10 changed files with 117 additions and 15 deletions

View File

@ -133,7 +133,7 @@ static int get_pte_from_mass(double mass)
static const QString blank(" ");
ImageViewer::ImageViewer(const QString &fileName, LammpsWrapper *_lammps, QWidget *parent) :
ImageViewer::ImageViewer(const QString &fileName, LammpsWrapper *_lammps, QString title, QWidget *parent) :
QDialog(parent), menuBar(new QMenuBar), imageLabel(new QLabel), scrollArea(new QScrollArea),
saveAsAct(nullptr), copyAct(nullptr), cmdAct(nullptr), zoomInAct(nullptr), zoomOutAct(nullptr),
normalSizeAct(nullptr), lammps(_lammps), group("all"), filename(fileName), useelements(false),
@ -600,6 +600,7 @@ void ImageViewer::createImage()
dumpcmd += " axes no 0.0 0.0";
dumpcmd += QString(" center s %1 %2 %3").arg(xcenter).arg(ycenter).arg(zcenter);
dumpcmd += " noinit";
dumpcmd += " modify boxcolor " + settings.value("boxcolor", "yellow").toString();
dumpcmd += " backcolor " + settings.value("background", "black").toString();
if (useelements) dumpcmd += blank + elements + blank + adiams + blank;