Android: Use FileUtils in SplashScreenContainerWidget

Change-Id: I6c03e3c99f676b79e673c272e838788ac7a0d3c7
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
hjk
2021-08-17 16:19:15 +02:00
parent 6c45764fa1
commit d23afee096
3 changed files with 51 additions and 47 deletions

View File

@@ -25,6 +25,8 @@
#pragma once
#include <utils/filepath.h>
#include <QToolButton>
namespace TextEditor { class TextEditorWidget; }
@@ -66,7 +68,7 @@ public:
void clearImage();
void setBackgroundColor(const QColor &backgroundColor);
void showImageFullScreen(bool fullScreen);
void setImageFromPath(const QString &imagePath, bool resize = true);
void setImageFromPath(const Utils::FilePath &imagePath, bool resize = true);
void setImageFileName(const QString &imageFileName);
void loadImage();