update main widget to CodeEditor with line numbers and highlight. Open file from command line.

This commit is contained in:
Axel Kohlmeyer
2023-07-25 00:13:53 -04:00
parent b87ced52b4
commit a49a1b644e
10 changed files with 371 additions and 58 deletions

View File

@ -5,7 +5,11 @@
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
LammpsGui w;
const char *infile = nullptr;
if (argc > 1) infile = argv[1];
LammpsGui w(nullptr, infile);
w.show();
return a.exec();
}