diff --git a/resources.qrc b/resources.qrc index 24fb68ab4..3f24f9b62 100644 --- a/resources.qrc +++ b/resources.qrc @@ -209,5 +209,7 @@ resources/images/light_mode/decision/close_popup_white_icon.svg app_info.json resources/animations/loading_animation.gif + resources/images/dark_mode/illustrations/not_found.svg + resources/images/light_mode/illustrations/not_found.svg diff --git a/resources/images/dark_mode/illustrations/not_found.svg b/resources/images/dark_mode/illustrations/not_found.svg new file mode 100644 index 000000000..4deb1d8b3 --- /dev/null +++ b/resources/images/dark_mode/illustrations/not_found.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/resources/images/light_mode/illustrations/not_found.svg b/resources/images/light_mode/illustrations/not_found.svg new file mode 100644 index 000000000..4deb1d8b3 --- /dev/null +++ b/resources/images/light_mode/illustrations/not_found.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/presentation/IconSheet.qml b/src/presentation/IconSheet.qml index 6e20d146a..d75d82247 100644 --- a/src/presentation/IconSheet.qml +++ b/src/presentation/IconSheet.qml @@ -7,7 +7,7 @@ Item { // Animations property string loadingAnimation: "/resources/animations/loading_animation.gif" - + // Arrows-icons property string arrowheadBackIcon property string arrowheadNextIcon @@ -57,6 +57,7 @@ Item { property string attentionPurple property string checkBubbleIllustration property string addFileIllustration + property string notFoundIllustration // Reading searchbar property string readingSearchbarCancel @@ -294,6 +295,10 @@ Item { target: iconSheet addFileIllustration: "/resources/images/light_mode/illustrations/add_file_illustration.svg" } + PropertyChanges { + target: iconSheet + notFoundIllustration: "/resources/images/light_mode/illustrations/not_found.svg" + } // Reading searchbar PropertyChanges { @@ -709,6 +714,10 @@ Item { target: iconSheet addFileIllustration: "/resources/images/dark_mode/illustrations/add_file_illustration.svg" } + PropertyChanges { + target: iconSheet + notFoundIllustration: "/resources/images/dark_mode/illustrations/not_found.svg" + } // Reading searchbar PropertyChanges { diff --git a/src/presentation/readingPage/MDictionaryPopup.qml b/src/presentation/readingPage/MDictionaryPopup.qml index 9c2fb1b4a..ccc95bcc2 100644 --- a/src/presentation/readingPage/MDictionaryPopup.qml +++ b/src/presentation/readingPage/MDictionaryPopup.qml @@ -341,7 +341,7 @@ Popup { z: 2 Layout.alignment: Qt.AlignHCenter Layout.topMargin: -18 - source: "file://home/creapermann/Downloads/458.svg" + source: Icons.notFoundIllustration sourceSize.width: 180 fillMode: Image.PreserveAspectFit }