provide syntax highlighting color schemes for light and dark themes

This commit is contained in:
Axel Kohlmeyer
2024-08-24 19:20:39 -04:00
parent baf1511f23
commit e19556263c
2 changed files with 53 additions and 21 deletions

View File

@ -1431,7 +1431,11 @@ void LammpsGui::setFont(const QFont &newfont)
void LammpsGui::about()
{
std::string version = "This is LAMMPS-GUI version " LAMMPS_GUI_VERSION;
version += " using Qt version " QT_VERSION_STR "\n";
version += " using Qt version " QT_VERSION_STR;
if (is_light_theme())
version += " using light theme\n";
else
version += " using dark theme\n";
if (lammps.has_plugin()) {
version += "LAMMPS library loaded as plugin";
if (!plugin_path.empty()) {