diff --git a/images/logo-jami-standard-coul.png b/images/logo-jami-standard-coul.png deleted file mode 100644 index 0352b55b..00000000 Binary files a/images/logo-jami-standard-coul.png and /dev/null differ diff --git a/images/logo-jami-standard-coul.svg b/images/logo-jami-standard-coul.svg new file mode 100644 index 00000000..431113f4 --- /dev/null +++ b/images/logo-jami-standard-coul.svg @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources.qrc b/resources.qrc index 82877ee5..17308dd3 100644 --- a/resources.qrc +++ b/resources.qrc @@ -12,7 +12,6 @@ images/ajax-loader.gif images/default_avatar_overlay.svg images/FontAwesome.otf - images/logo-jami-standard-coul.png images/qrcode.png images/jami.ico images/jami.png @@ -136,5 +135,6 @@ images/icons/expand_more-24px.svg images/icons/delete-24px.svg images/icons/settings_backup_restore-24px.svg + images/logo-jami-standard-coul.svg diff --git a/src/commoncomponents/ResponsiveImage.qml b/src/commoncomponents/ResponsiveImage.qml index 26fcb795..ba14e305 100644 --- a/src/commoncomponents/ResponsiveImage.qml +++ b/src/commoncomponents/ResponsiveImage.qml @@ -46,10 +46,9 @@ Image { height: Math.trunc(containerHeight * Math.sqrt(2) * 0.5) + 3 - padding fillMode: Image.PreserveAspectFit - mipmap: true smooth: false - asynchronous: true antialiasing: false + asynchronous: true function setSourceSize() { if (isSvg) { diff --git a/src/mainview/components/AboutPopUp.qml b/src/mainview/components/AboutPopUp.qml index 3edd87b0..4ede1ea0 100644 --- a/src/mainview/components/AboutPopUp.qml +++ b/src/mainview/components/AboutPopUp.qml @@ -70,7 +70,7 @@ BaseDialog { Layout.alignment: Qt.AlignCenter - Image { + ResponsiveImage { id: aboutPopUPJamiLogoImage Layout.alignment: Qt.AlignCenter @@ -78,9 +78,10 @@ BaseDialog { Layout.preferredWidth: contentRect.width Layout.preferredHeight: 100 - fillMode: Image.PreserveAspectFit - source: "qrc:/images/logo-jami-standard-coul.png" - mipmap: true + smooth: true + antialiasing: true + + source: "qrc:/images/logo-jami-standard-coul.svg" } Label { diff --git a/src/mainview/components/WelcomePage.qml b/src/mainview/components/WelcomePage.qml index 7693ee65..0a9378ed 100644 --- a/src/mainview/components/WelcomePage.qml +++ b/src/mainview/components/WelcomePage.qml @@ -40,7 +40,7 @@ Rectangle { ColumnLayout { id: welcomeRectComponentsGroupColumnLayout - Image { + ResponsiveImage { id: jamiLogoImage Layout.alignment: Qt.AlignCenter @@ -49,9 +49,10 @@ Rectangle { Layout.topMargin: 32 Layout.bottomMargin: 10 - fillMode: Image.PreserveAspectFit - source: "qrc:/images/logo-jami-standard-coul.png" - mipmap: true + smooth: true + antialiasing: true + + source: "qrc:/images/logo-jami-standard-coul.svg" } Label { diff --git a/src/wizardview/components/WelcomePage.qml b/src/wizardview/components/WelcomePage.qml index 63e04fdb..90568fb5 100644 --- a/src/wizardview/components/WelcomePage.qml +++ b/src/wizardview/components/WelcomePage.qml @@ -60,20 +60,17 @@ Rectangle { font.kerning: true } - Label { + ResponsiveImage { id: welcomeLogo Layout.alignment: Qt.AlignCenter Layout.preferredWidth: 300 Layout.preferredHeight: 150 - color: "transparent" - background: Image { - id: logoIMG - source: "qrc:/images/logo-jami-standard-coul.png" - fillMode: Image.PreserveAspectFit - mipmap: true - } + smooth: true + antialiasing: true + + source: "qrc:/images/logo-jami-standard-coul.svg" } MaterialButton {