I plan on having a complex drawing with multiple nested layers. However editing an element to change it's layer becomes a bit complex in the property editor for two reasons.
- When the property editor pane size is narrow the layer name is truncated. As the layer selector there is a drop-down it can be made larger.
- The layer selector there uses a different hierarchy display than the layer list component. It would be nice if they match.
Regards,
Stan
Reuse layer component in layer selector in property editor
Moderator: andrew
Reuse layer component in layer selector in property editor
- Attachments
-
- qcad-small-layers.png (116.04 KiB) Viewed 4515 times
Re: Reuse layer component in layer selector in property editor
Hi,
3 dots is the dxf sublayer separator.
The layer List widget is a QWidget that can hold a lot of formatting and layouts.
The Layer property dropdown is a QCombobox limited to plain text.
From what I can see the order is the same.
Instead of changing the layerName of a selection in the dropdown ...
... one can also double click on the active layer its name in the Layer List.
It might need 3 clicks when it is not the active layer yet.
Regards,
CVH
3 dots is the dxf sublayer separator.
The layer List widget is a QWidget that can hold a lot of formatting and layouts.
The Layer property dropdown is a QCombobox limited to plain text.
From what I can see the order is the same.
Instead of changing the layerName of a selection in the dropdown ...
... one can also double click on the active layer its name in the Layer List.
It might need 3 clicks when it is not the active layer yet.
Regards,
CVH