integrate new tutorial logo
This commit is contained in:
BIN
tools/lammps-gui/icons/tutorial-logo.png
Normal file
BIN
tools/lammps-gui/icons/tutorial-logo.png
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 81 KiB |
@ -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"
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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 &1</string>
|
<string>Start LAMMPS Tutorial &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 &2</string>
|
<string>Start LAMMPS Tutorial &2</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user