integrate new tutorial logo

This commit is contained in:
Axel Kohlmeyer
2024-08-11 09:31:09 -04:00
parent fedeeaef24
commit ccd77da836
6 changed files with 9 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

@ -1880,6 +1880,11 @@ void LammpsGui::setup_tutorial(int tutno, const QString &dir, bool purgedir, boo
open_file(first); open_file(first);
} }
Tutorial1Wizard::Tutorial1Wizard(QWidget *parent) : QWizard(parent)
{
setWindowIcon(QIcon(":/icons/tutorial-logo.png"));
}
// actions to perform when the wizard for tutorial 1 is complete // actions to perform when the wizard for tutorial 1 is complete
// and the user has clicked on "Finish" // and the user has clicked on "Finish"

View File

@ -175,8 +175,7 @@ class Tutorial1Wizard : public QWizard {
Q_OBJECT Q_OBJECT
public: public:
Tutorial1Wizard(QWidget *parent = nullptr) : QWizard(parent) {} Tutorial1Wizard(QWidget *parent = nullptr);
void accept() override; void accept() override;
}; };

View File

@ -60,6 +60,7 @@
<file>icons/system-help.png</file> <file>icons/system-help.png</file>
<file>icons/system-run.png</file> <file>icons/system-run.png</file>
<file>icons/trash.png</file> <file>icons/trash.png</file>
<file>icons/tutorial-logo.png</file>
<file>icons/utilities-terminal.png</file> <file>icons/utilities-terminal.png</file>
<file>icons/vdw-style.png</file> <file>icons/vdw-style.png</file>
<file>icons/vmd.png</file> <file>icons/vmd.png</file>

View File

@ -483,7 +483,7 @@
</action> </action>
<action name="actionTutorial1"> <action name="actionTutorial1">
<property name="icon"> <property name="icon">
<iconset theme=":/icons/document-new.png"/> <iconset theme=":/icons/tutorial-logo.png"/>
</property> </property>
<property name="text"> <property name="text">
<string>Start LAMMPS Tutorial &amp;1</string> <string>Start LAMMPS Tutorial &amp;1</string>
@ -491,7 +491,7 @@
</action> </action>
<action name="actionTutorial2"> <action name="actionTutorial2">
<property name="icon"> <property name="icon">
<iconset theme=":/icons/document-new.png"/> <iconset theme=":/icons/tutorial-logo.png"/>
</property> </property>
<property name="text"> <property name="text">
<string>Start LAMMPS Tutorial &amp;2</string> <string>Start LAMMPS Tutorial &amp;2</string>