Commit fc32991d authored by Fabrice Salvaire's avatar Fabrice Salvaire

implemented application icon

parent a2d559ac
......@@ -42,7 +42,7 @@ from QtShim.QtCore import (
Property, Signal, QObject,
Qt, QTimer, QUrl
)
from QtShim.QtGui import QGuiApplication
from QtShim.QtGui import QGuiApplication, QIcon
from QtShim.QtQml import qmlRegisterType, QQmlApplicationEngine
# Fixme: PYSIDE-574 qmlRegisterSingletonType and qmlRegisterUncreatableType missing in QtQml
from QtShim.QtQml import qmlRegisterUncreatableType
......@@ -128,6 +128,9 @@ class Application(QObject):
self._engine = QQmlApplicationEngine()
self._qml_application = QmlApplication(self)
logo_path = ':/icons/logo-256.png'
self._appplication.setWindowIcon(QIcon(logo_path))
self._platform = QtPlatform()
# self._logger.info('\n' + str(self._platform))
......
../../../../doc/sphinx/source/_static/logo-128.png
\ No newline at end of file
../../../../doc/sphinx/source/_static/logo-256.png
\ No newline at end of file
../../../../doc/sphinx/source/_static/logo-32.png
\ No newline at end of file
../../../../doc/sphinx/source/_static/logo-512.png
\ No newline at end of file
../../../../doc/sphinx/source/_static/logo-64.png
\ No newline at end of file
../../../../doc/sphinx/source/_static/logo-96.png
\ No newline at end of file
../../../../doc/sphinx/source/_static/make-logo-png
\ No newline at end of file
../../../../doc/sphinx/source/_static/svg/
\ No newline at end of file
......@@ -4,6 +4,8 @@
<file>qtquickcontrols2.conf</file>
</qresource>
<qresource prefix="/">
<file>icons/svg/logo.svg</file>
<file>icons/logo-256.png</file>
<file>icons/36x36/settings-overscan-black.png</file>
<file>icons/36x36/zoom-fit-width.png</file>
<file>icons/36x36/zoom-out-black.png</file>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment