Add the new element type : thumbnail

This type must be used for element who goal is to display a
thumbnail/front view of an element, notably used for cabinet contents
view and placement.
This commit is contained in:
joshua
2022-05-13 20:02:29 +02:00
parent 1f4dfdba3f
commit 021aea1d8b
5 changed files with 22 additions and 2 deletions

View File

@@ -1306,6 +1306,12 @@ void Element::initLink(QETProject *prj)
tmp_uuids_link.clear();
}
/**
* @brief Element::linkTypeToString
* \deprecated use instead ElementData::typeToString
* \todo remove this function
* @return
*/
QString Element::linkTypeToString() const
{
switch (m_link_type)