small tweaks for more consistency
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 51 KiB |
@ -2,6 +2,7 @@ LAMMPS-GUI TODO list:
|
|||||||
|
|
||||||
# Short term goals (v1.x)
|
# Short term goals (v1.x)
|
||||||
|
|
||||||
|
- add a "file viewer", also view file option in editor context menu if word under cursor is a file
|
||||||
- add "export to YAML" to chart viewer.
|
- add "export to YAML" to chart viewer.
|
||||||
|
|
||||||
- implement indenting regions for (nested) loops?
|
- implement indenting regions for (nested) loops?
|
||||||
|
|||||||
@ -169,7 +169,7 @@ LammpsGui::LammpsGui(QWidget *parent, const char *filename) :
|
|||||||
ui->textEdit->setMinimumSize(600, 400);
|
ui->textEdit->setMinimumSize(600, 400);
|
||||||
|
|
||||||
varwindow = new QLabel(QString());
|
varwindow = new QLabel(QString());
|
||||||
varwindow->setWindowTitle(QString("LAMMPS-GUI - Current Variables - " + current_file));
|
varwindow->setWindowTitle(QString("LAMMPS-GUI - Current Variables"));
|
||||||
varwindow->setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
|
varwindow->setWindowIcon(QIcon(":/icons/lammps-icon-128x128.png"));
|
||||||
varwindow->setMinimumSize(100, 50);
|
varwindow->setMinimumSize(100, 50);
|
||||||
varwindow->setText("(none)");
|
varwindow->setText("(none)");
|
||||||
@ -1264,7 +1264,7 @@ void LammpsGui::help()
|
|||||||
"LAMMPS specific syntax highlighting. When typing <b>Ctrl-Enter</b> "
|
"LAMMPS specific syntax highlighting. When typing <b>Ctrl-Enter</b> "
|
||||||
"or clicking on 'Run LAMMMPS' in the 'Run' menu, LAMMPS will be run "
|
"or clicking on 'Run LAMMMPS' in the 'Run' menu, LAMMPS will be run "
|
||||||
"with the contents of editor buffer as input. The output of the LAMMPS "
|
"with the contents of editor buffer as input. The output of the LAMMPS "
|
||||||
"run is captured and displayed in a log window. The thermodynamic data "
|
"run is captured and displayed in an Output window. The thermodynamic data "
|
||||||
"is displayed in a chart window. Both are updated regularly during the "
|
"is displayed in a chart window. Both are updated regularly during the "
|
||||||
"run, as is a progress bar in the main window. The running simulation "
|
"run, as is a progress bar in the main window. The running simulation "
|
||||||
"can be stopped cleanly by typing <b>Ctrl-/</b> or by clicking on "
|
"can be stopped cleanly by typing <b>Ctrl-/</b> or by clicking on "
|
||||||
|
|||||||
@ -336,7 +336,7 @@
|
|||||||
<iconset theme=":/icons/utilities-terminal.png"/>
|
<iconset theme=":/icons/utilities-terminal.png"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Log Window</string>
|
<string>&Output Window</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+L</string>
|
<string>Ctrl+Shift+L</string>
|
||||||
@ -347,7 +347,7 @@
|
|||||||
<iconset theme=":/icons/x-office-drawing.png"/>
|
<iconset theme=":/icons/x-office-drawing.png"/>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Chart Window</string>
|
<string>&Charts Window</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="shortcut">
|
<property name="shortcut">
|
||||||
<string>Ctrl+Shift+C</string>
|
<string>Ctrl+Shift+C</string>
|
||||||
|
|||||||
@ -211,23 +211,23 @@ GeneralTab::GeneralTab(QSettings *_settings, LammpsWrapper *_lammps, QWidget *pa
|
|||||||
auto *cite = new QCheckBox("Include citation details");
|
auto *cite = new QCheckBox("Include citation details");
|
||||||
cite->setObjectName("cite");
|
cite->setObjectName("cite");
|
||||||
cite->setCheckState(settings->value("cite", false).toBool() ? Qt::Checked : Qt::Unchecked);
|
cite->setCheckState(settings->value("cite", false).toBool() ? Qt::Checked : Qt::Unchecked);
|
||||||
auto *logv = new QCheckBox("Show log window by default");
|
auto *logv = new QCheckBox("Show Output window by default");
|
||||||
logv->setObjectName("viewlog");
|
logv->setObjectName("viewlog");
|
||||||
logv->setCheckState(settings->value("viewlog", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
logv->setCheckState(settings->value("viewlog", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
||||||
auto *pltv = new QCheckBox("Show chart window by default");
|
auto *pltv = new QCheckBox("Show Charts window by default");
|
||||||
pltv->setObjectName("viewchart");
|
pltv->setObjectName("viewchart");
|
||||||
pltv->setCheckState(settings->value("viewchart", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
pltv->setCheckState(settings->value("viewchart", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
||||||
auto *sldv = new QCheckBox("Show slide show window by default");
|
auto *sldv = new QCheckBox("Show Slide Show window by default");
|
||||||
sldv->setObjectName("viewslide");
|
sldv->setObjectName("viewslide");
|
||||||
sldv->setCheckState(settings->value("viewslide", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
sldv->setCheckState(settings->value("viewslide", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
||||||
auto *logr = new QCheckBox("Replace log window on new run");
|
auto *logr = new QCheckBox("Replace Output window on new run");
|
||||||
logr->setObjectName("logreplace");
|
logr->setObjectName("logreplace");
|
||||||
logr->setCheckState(settings->value("logreplace", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
logr->setCheckState(settings->value("logreplace", true).toBool() ? Qt::Checked : Qt::Unchecked);
|
||||||
auto *imgr = new QCheckBox("Replace image window on new render");
|
auto *imgr = new QCheckBox("Replace Image window on new render");
|
||||||
imgr->setObjectName("imagereplace");
|
imgr->setObjectName("imagereplace");
|
||||||
imgr->setCheckState(settings->value("imagereplace", true).toBool() ? Qt::Checked
|
imgr->setCheckState(settings->value("imagereplace", true).toBool() ? Qt::Checked
|
||||||
: Qt::Unchecked);
|
: Qt::Unchecked);
|
||||||
auto *pltr = new QCheckBox("Replace chart window on new run");
|
auto *pltr = new QCheckBox("Replace Charts window on new run");
|
||||||
pltr->setObjectName("chartreplace");
|
pltr->setObjectName("chartreplace");
|
||||||
pltr->setCheckState(settings->value("chartreplace", true).toBool() ? Qt::Checked
|
pltr->setCheckState(settings->value("chartreplace", true).toBool() ? Qt::Checked
|
||||||
: Qt::Unchecked);
|
: Qt::Unchecked);
|
||||||
|
|||||||
Reference in New Issue
Block a user