New method for show Android splashscreen

New method use theme for show splashscreen
in the first phase (from when an app is
launched to when Qt takes control of the
surface) and in the second phase draw through
Qt the same drawable object used for the theme.

Change-Id: I4d76322a5640cb95f99f5605c5775051e6de7daf
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
This commit is contained in:
Fabio Falsini
2020-10-11 15:33:23 +02:00
parent ab91e547da
commit 21b03918b7
10 changed files with 1093 additions and 476 deletions

View File

@@ -58,7 +58,7 @@ class AndroidManifestEditor;
class AndroidManifestEditorIconContainerWidget;
class AndroidManifestEditorWidget;
class AndroidServiceWidget;
class SplashIconContainerWidget;
class SplashScreenContainerWidget;
class PermissionsModel: public QAbstractListModel
{
@@ -167,6 +167,8 @@ private:
bool m_stayClean;
int m_errorLine;
int m_errorColumn;
QString m_currentsplashImageName[3];
bool m_currentsplashSticky = false;
QLineEdit *m_packageNameLineEdit;
QLabel *m_packageNameWarningIcon;
@@ -183,7 +185,7 @@ private:
QComboBox *m_styleExtractMethod;
QComboBox *m_screenOrientation;
AndroidManifestEditorIconContainerWidget *m_iconButtons;
SplashIconContainerWidget *m_splashButtons;
SplashScreenContainerWidget *m_splashButtons;
// Permissions
QCheckBox *m_defaultPermissonsCheckBox;