Background image sized correctly (#2451)

This commit is contained in:
DanielSvoboda 2025-02-15 13:19:33 -03:00 committed by GitHub
parent 2b9a8e5605
commit e042710eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 4 deletions

View file

@ -3,6 +3,7 @@
#pragma once
#include <QPainter>
#include <QScrollBar>
#include "background_music_player.h"
@ -21,6 +22,7 @@ Q_SIGNALS:
public Q_SLOTS:
void SetGridBackgroundImage(int row, int column);
void RefreshGridBackgroundImage();
void resizeEvent(QResizeEvent* event);
void PlayBackgroundMusic(QString path);
void onCurrentCellChanged(int currentRow, int currentColumn, int previousRow,
int previousColumn);