2021-09-09 14:33:57 +03:00
|
|
|
import QtQml 2.15
|
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.3
|
|
|
|
import QtQuick.Layouts 1.2
|
|
|
|
import Style 1.0
|
|
|
|
|
|
|
|
ColumnLayout {
|
|
|
|
id: unifiedSearchResultNothingFoundContainer
|
|
|
|
|
|
|
|
required property string text
|
|
|
|
|
2022-07-11 19:56:35 +03:00
|
|
|
spacing: Style.standardSpacing
|
|
|
|
anchors.leftMargin: Style.unifiedSearchResultNothingFoundHorizontalMargin
|
|
|
|
anchors.rightMargin: Style.unifiedSearchResultNothingFoundHorizontalMargin
|
2021-09-09 14:33:57 +03:00
|
|
|
|
|
|
|
Image {
|
|
|
|
id: unifiedSearchResultsNoResultsLabelIcon
|
|
|
|
source: "qrc:///client/theme/magnifying-glass.svg"
|
|
|
|
sourceSize.width: Style.trayWindowHeaderHeight / 2
|
|
|
|
sourceSize.height: Style.trayWindowHeaderHeight / 2
|
|
|
|
Layout.alignment: Qt.AlignHCenter
|
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
id: unifiedSearchResultsNoResultsLabel
|
|
|
|
text: qsTr("No results for")
|
|
|
|
color: Style.menuBorder
|
|
|
|
font.pixelSize: Style.subLinePixelSize * 1.25
|
|
|
|
wrapMode: Text.Wrap
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.preferredHeight: Style.trayWindowHeaderHeight / 2
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
}
|
|
|
|
|
|
|
|
Label {
|
|
|
|
id: unifiedSearchResultsNoResultsLabelDetails
|
|
|
|
text: unifiedSearchResultNothingFoundContainer.text
|
2022-12-01 14:06:05 +03:00
|
|
|
textFormat: Text.PlainText
|
2022-02-04 05:39:38 +03:00
|
|
|
color: Style.ncTextColor
|
2021-09-09 14:33:57 +03:00
|
|
|
font.pixelSize: Style.topLinePixelSize * 1.25
|
|
|
|
wrapMode: Text.Wrap
|
|
|
|
maximumLineCount: 2
|
|
|
|
elide: Text.ElideRight
|
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.preferredHeight: Style.trayWindowHeaderHeight / 2
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
}
|
|
|
|
}
|