I fixed the problem with line pattern selector in toolbar by making the cast to EntityMetaInfo in C++ instead of Lua.

I began the creation of a selector for line width. All the events are added to the document.

The managers will be accessible from the selects, instead of having multiple selects in the toolbar + one button for each manager.