include more icons link to Howto doc
BIN
tools/lammps-gui/document-new.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
tools/lammps-gui/document-open-recent.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
tools/lammps-gui/document-open.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
tools/lammps-gui/document-save-as.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
tools/lammps-gui/document-save.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
tools/lammps-gui/help-browser.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
tools/lammps-gui/lammps-logo.png
Normal file
|
After Width: | Height: | Size: 67 KiB |
@ -156,6 +156,7 @@ LammpsGui::LammpsGui(QWidget *parent, const char *filename) :
|
||||
connect(ui->actionImage, &QAction::triggered, this, &LammpsGui::render_image);
|
||||
connect(ui->actionAbout_LAMMPS_GUI, &QAction::triggered, this, &LammpsGui::about);
|
||||
connect(ui->action_Help, &QAction::triggered, this, &LammpsGui::help);
|
||||
connect(ui->actionLAMMPS_GUI_Howto, &QAction::triggered, this, &LammpsGui::howto);
|
||||
connect(ui->actionLAMMPS_Manual, &QAction::triggered, this, &LammpsGui::manual);
|
||||
connect(ui->actionPreferences, &QAction::triggered, this, &LammpsGui::preferences);
|
||||
connect(ui->actionDefaults, &QAction::triggered, this, &LammpsGui::defaults);
|
||||
@ -895,6 +896,11 @@ void LammpsGui::manual()
|
||||
QDesktopServices::openUrl(QUrl("https://docs.lammps.org/"));
|
||||
}
|
||||
|
||||
void LammpsGui::howto()
|
||||
{
|
||||
QDesktopServices::openUrl(QUrl("https://docs.lammps.org/Howto_lammps_gui.html"));
|
||||
}
|
||||
|
||||
void LammpsGui::defaults()
|
||||
{
|
||||
QSettings settings;
|
||||
|
||||
@ -85,6 +85,7 @@ private slots:
|
||||
void about();
|
||||
void help();
|
||||
void manual();
|
||||
void howto();
|
||||
void logupdate();
|
||||
void modified();
|
||||
void preferences();
|
||||
|
||||
@ -1,38 +1,20 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>lammps-icon-128x128.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>help_index.table</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>system-help.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>help-browser.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>gtk-zoom-in.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>gtk-zoom-out.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>gtk-zoom-fit.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>edit-delete.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>object-rotate-right.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>object-rotate-left.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>gtk-go-up.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="/">
|
||||
<file>gtk-go-down.png</file>
|
||||
<file>document-save-as.png</file>
|
||||
<file>document-open-recent.png</file>
|
||||
<file>document-open.png</file>
|
||||
<file>document-new.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
@ -80,6 +80,7 @@
|
||||
</property>
|
||||
<addaction name="actionAbout_LAMMPS_GUI"/>
|
||||
<addaction name="action_Help"/>
|
||||
<addaction name="actionLAMMPS_GUI_Howto"/>
|
||||
<addaction name="actionLAMMPS_Manual"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menu_View">
|
||||
@ -395,26 +396,42 @@
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_1">
|
||||
<property name="icon">
|
||||
<iconset theme=":/document-open-recent.png"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&1.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_2">
|
||||
<property name="icon">
|
||||
<iconset theme=":/document-open-recent.png"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&2.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_3">
|
||||
<property name="icon">
|
||||
<iconset theme=":/document-open-recent.png"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&3.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_4">
|
||||
<property name="icon">
|
||||
<iconset theme=":/document-open-recent.png"/>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&4.</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_5">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/document-open-recent.png</normaloff>:/document-open-recent.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&5.</string>
|
||||
</property>
|
||||
@ -443,6 +460,18 @@
|
||||
<string>Ctrl+Shift+V</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionLAMMPS_GUI_Howto">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/system-help.png</normaloff>:/system-help.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>LAMMPS GUI Howto</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Shift+G</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
|
||||