forked from qt-creator/qt-creator
Android: parse image file names from manifest
Also scales splash images without stretching and reflects them to other orientations. Task-number: QTCREATORBUG-24149 Task-number: QTCREATORBUG-24150 Change-Id: Ie23a8ba5f75132971673d3232807e941dfd50f97 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
#include <QWidget>
|
||||
|
||||
@@ -42,10 +43,13 @@ class AndroidManifestEditorIconContainerWidget : public QWidget
|
||||
public:
|
||||
explicit AndroidManifestEditorIconContainerWidget(QWidget *parent,
|
||||
TextEditor::TextEditorWidget *textEditorWidget);
|
||||
void setIconFileName(const QString &name);
|
||||
QString iconFileName() const;
|
||||
void loadIcons();
|
||||
bool hasIcons();
|
||||
bool hasIcons() const;
|
||||
private:
|
||||
QVector<AndroidManifestEditorIconWidget *> m_iconButtons;
|
||||
QString m_iconFileName = QLatin1String("icon");
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user