1234567891011121314151617181920 |
- #include "mainmenubackground.h"
- #include "ui_mainmenubackground.h"
- #include <gui/guiscenemanager.h>
- #include <QMovie>
- MainMenuBackground::MainMenuBackground(QWidget *parent) :
- Scene(parent),
- ui(new Ui::MainMenuBackground)
- {
- ui->setupUi(this);
- movie = new QMovie(":/assets/main_menu/tree.gif");
- ui->tree_label->setMovie(movie);
- ui->version->setText("Версия: " + PROJECT_VERSION);
- movie->start();
- }
- MainMenuBackground::~MainMenuBackground()
- {
- delete ui;
- }
|