do not draw link before set
put signal connections in layer dock class
use editbuffer instead of provider