File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -1072,6 +1072,38 @@ FocusScope {
10721072 }
10731073 }
10741074 }
1075+ FloatingPane {
1076+ Layout .fillWidth : true
1077+ Layout .fillHeight : false
1078+ Layout .preferredHeight : childrenRect .height
1079+ visible: phongImageViewerLoader .item !== null &&
1080+ phongImageViewerLoader .item .imageStatus === Image .Error &&
1081+ phongImageViewerLoader .sourcePath != " "
1082+ Layout .alignment : Qt .AlignHCenter
1083+ RowLayout {
1084+ anchors .fill : parent
1085+ Label {
1086+ font .pointSize : 8
1087+ text: {
1088+ if (phongImageViewerLoader .item !== null ) {
1089+ switch (phongImageViewerLoader .item .status ) {
1090+ case 2 : // AliceVision.PhongImageViewer.EStatus.MISSING_FILE
1091+ return " Invalid / Missing File(s)"
1092+ case 4 : // AliceVision.PhongImageViewer.EStatus.LOADING_ERROR
1093+ return " Error"
1094+ default :
1095+ return " "
1096+ }
1097+ }
1098+ return " "
1099+ }
1100+ horizontalAlignment: Text .AlignHCenter
1101+ verticalAlignment: Text .AlignVCenter
1102+ Layout .fillWidth : true
1103+ Layout .alignment : Qt .AlignHCenter
1104+ }
1105+ }
1106+ }
10751107
10761108 Item {
10771109 id: imgPlaceholder
You can’t perform that action at this time.
0 commit comments