draftguitools.gui_trackers.gridTracker Class Reference

Public Member Functions

def getClosestNode (self, point)
 
def getGridColor (self)
 
def reset (self)
 
def set (self)
 
def setMainlines (self, ml)
 
def setSize (self, size)
 
def setSpacing (self, space)
 
def update (self)
 
- Public Member Functions inherited from draftguitools.gui_trackers.Tracker
def finalize (self)
 
def lowerTracker (self)
 
def off (self)
 
def on (self)
 
def raiseTracker (self)
 

Public Attributes

 coords1
 
 coords2
 
 coords3
 
 font
 
 lines1
 
 lines2
 
 lines3
 
 mainlines
 
 numlines
 
 pts
 
 space
 
 text1
 
 text2
 
 textpos1
 
 textpos2
 
 trans
 
- Public Attributes inherited from draftguitools.gui_trackers.Tracker
 ontop
 
 switch
 
 Visible
 

Detailed Description

A grid tracker.

Member Function Documentation

◆ getClosestNode()

def draftguitools.gui_trackers.gridTracker.getClosestNode (   self,
  point 
)
Return the closest node from the given point.

References draftguitools.gui_trackers.gridTracker.space.

◆ getGridColor()

def draftguitools.gui_trackers.gridTracker.getGridColor (   self)
Get the grid color from the parameter editor.

◆ reset()

def draftguitools.gui_trackers.gridTracker.reset (   self)

◆ set()

◆ setMainlines()

def draftguitools.gui_trackers.gridTracker.setMainlines (   self,
  ml 
)
Set mainlines and update.

◆ setSize()

def draftguitools.gui_trackers.gridTracker.setSize (   self,
  size 
)
Set size of the lines and update.

◆ setSpacing()

def draftguitools.gui_trackers.gridTracker.setSpacing (   self,
  space 
)
Set spacing and update.

◆ update()

Member Data Documentation

◆ coords1

draftguitools.gui_trackers.gridTracker.coords1

◆ coords2

draftguitools.gui_trackers.gridTracker.coords2

◆ coords3

draftguitools.gui_trackers.gridTracker.coords3

◆ font

◆ lines1

draftguitools.gui_trackers.gridTracker.lines1

◆ lines2

draftguitools.gui_trackers.gridTracker.lines2

◆ lines3

draftguitools.gui_trackers.gridTracker.lines3

◆ mainlines

draftguitools.gui_trackers.gridTracker.mainlines

◆ numlines

draftguitools.gui_trackers.gridTracker.numlines

◆ pts

draftguitools.gui_trackers.gridTracker.pts

◆ space

◆ text1

draftguitools.gui_trackers.gridTracker.text1

◆ text2

draftguitools.gui_trackers.gridTracker.text2

◆ textpos1

draftguitools.gui_trackers.gridTracker.textpos1

◆ textpos2

draftguitools.gui_trackers.gridTracker.textpos2

◆ trans


The documentation for this class was generated from the following file:
  • src/Mod/Draft/draftguitools/gui_trackers.py