QmlDesigner: Implement material bundle frontend

Fixes: QDS-7500
Change-Id: I60c512bb7664d13160f8c58ce063e1e87b6875ee
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Mahmoud Badri
2022-09-01 15:03:01 +03:00
parent 1404c36e2b
commit d9f07e95b5
20 changed files with 982 additions and 48 deletions

View File

@@ -235,6 +235,8 @@ void MaterialBrowserModel::setSearchText(const QString &searchText)
isEmpty = !isValidIndex(m_selectedIndex + inc)
&& !isValidIndex(m_selectedIndex - inc);
}
if (!isMaterialVisible(m_selectedIndex)) // handles the case of a single material
isEmpty = true;
}
if (isEmpty != m_isEmpty) {