[GIS] Is it possible to not show node in editing mod QGIS

editingqgisvector

I actually have a plugin that allows me to draw on a vector layer (I made it based on the FreeHand Editing Plugin). When a mouseMoveEvent is detected, it creates a new point on the vector layer and create a line between it and the last point created. My problem is that I want to show in editing mod only the lines and not the nodes. Does anybody know if this is possible?

EDIT:

This is not what I meant, sorry if you didn't understand well, I'll explain better.

I have a vector layer (and an option in my plugin to create one)
In edit mod, I can freely draw lines with the mouse on this vector (the lines will correspond to the drawing, check the screenshot below when it's not in editing mod).

QGIS Lines

The problem is that in editing mod, I don't want to display the nodes cross image (check screenshot below) on the screen like it actually is, I just want to show the lines like how it is in non-editing mod

GIS Lines and Nodes

Best Answer

There is a way to do what you want and not display the nodes in editing mode, or to actually only display the nodes for selected vertices.

Go into Settings/Options/Digitizing and then you will see a section called Vertex markers. This is where you can customize the nodes by selecting to only show them for selected features, change the size, change the shape (from x's to transparent circles or completely off.

You have probably found this solution already by now, but it might help others like me who have been searching for the same thing and stumbled upon it...