mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
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:
@@ -363,7 +363,7 @@ QWidget *ElementPropertiesWidget::generalWidget()
|
||||
if (folio_index != -1) {
|
||||
description_string += QString(tr("Folio : %1\n")).arg(folio_index + 1);
|
||||
}
|
||||
description_string += QString(tr("Type : %1\n")).arg(m_element ->linkTypeToString());
|
||||
description_string += QString(tr("Type : %1\n")).arg(m_element->elementData().typeToString());
|
||||
description_string += QString(tr("Sous-type : %1\n")).arg(m_element ->kindInformations()["type"].toString());
|
||||
description_string += QString(tr("Position : %1\n")).arg(m_diagram -> convertPosition(m_element -> scenePos()).toString());
|
||||
description_string += QString(tr("Rotation : %1°\n")).arg(m_element.data()->rotation());
|
||||
|
||||
Reference in New Issue
Block a user