-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Claudio Cambra <[email protected]>
- Loading branch information
1 parent
baedf15
commit 5fdc8a2
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright (C) 2024 by Claudio Cambra <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | ||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
* for more details. | ||
*/ | ||
|
||
import QtQml | ||
import QtQuick | ||
import QtQuick.Controls | ||
import QtQuick.Layouts | ||
import Style | ||
|
||
ColumnLayout { | ||
id: unifiedSearchResultNothingFoundContainer | ||
|
||
spacing: Style.standardSpacing | ||
|
||
Item { | ||
Layout.fillWidth: true | ||
Layout.fillHeight: true | ||
} | ||
|
||
Image { | ||
id: unifiedSearchResultsNoResultsLabelIcon | ||
source: "image://svgimage-custom-color/magnifying-glass.svg" | ||
sourceSize.width: Style.trayWindowHeaderHeight / 2 | ||
sourceSize.height: Style.trayWindowHeaderHeight / 2 | ||
Layout.alignment: Qt.AlignHCenter | ||
} | ||
|
||
EnforcedPlainTextLabel { | ||
id: unifiedSearchResultsNoResultsLabel | ||
text: qsTr("Start typing to search") | ||
font.pixelSize: Style.subLinePixelSize * 1.25 | ||
wrapMode: Text.Wrap | ||
Layout.fillWidth: true | ||
horizontalAlignment: Text.AlignHCenter | ||
} | ||
|
||
Item { | ||
Layout.fillWidth: true | ||
Layout.fillHeight: true | ||
} | ||
} |