Today I worked on the line pattern manager

It supports updating on new/remove/replace layer and on document change.
I'm currently changing the way to handle the document change for the widgets. Before I was giving a pointer to QMdiArea as parameter and watch for his events. Now I manage the window changed event in Lua and call each widget setDocument function.