Agroeye  1.0
Public Member Functions | Public Attributes | List of all members
agroeyepy.View.addnewobjecttolayer.Line Class Reference
Collaboration diagram for agroeyepy.View.addnewobjecttolayer.Line:

Public Member Functions

def __init__ (self, parent)
 
def connectLine (self)
 Emit signal for add polyline. More...
 
def getCoordinate (self, event)
 Add coordinates of line, coordinates are from mouse clicked on the QGraphicsView. More...
 
def draw (self)
 Draw all drawn lines. More...
 
def saveObject (self)
 Save draw objects to shapefile. More...
 
def setCoordinate (self)
 Returns points coordinates as numpy array. More...
 
def deleteObject (self, selectedRow, signal, numVertices)
 Delete object, from selected row. More...
 
def newDraw (self)
 Redraw lines. More...
 
def deleteVerticle (self)
 Delete verticle of object. More...
 

Public Attributes

 parent
 
 alpha
 
 idObject
 
 verticleCount
 
 idVertice
 
 selectedLine
 Save draw objects to shapefile. More...
 
 Lines
 
 signal
 
 penStyle
 Draw all drawn lines. More...
 

Constructor & Destructor Documentation

§ __init__()

def agroeyepy.View.addnewobjecttolayer.Line.__init__ (   self,
  parent 
)

Member Function Documentation

§ connectLine()

def agroeyepy.View.addnewobjecttolayer.Line.connectLine (   self)

Emit signal for add polyline.

Here is the call graph for this function:

§ deleteObject()

def agroeyepy.View.addnewobjecttolayer.Line.deleteObject (   self,
  selectedRow,
  signal,
  numVertices 
)

Delete object, from selected row.

Parameters
selectedRowindex of selected row.
signalsignal to remove object.
numVerticesnumber of vertices.
Here is the call graph for this function:
Here is the caller graph for this function:

§ deleteVerticle()

def agroeyepy.View.addnewobjecttolayer.Line.deleteVerticle (   self)

Delete verticle of object.

Here is the call graph for this function:

§ draw()

def agroeyepy.View.addnewobjecttolayer.Line.draw (   self)

Draw all drawn lines.

Here is the caller graph for this function:

§ getCoordinate()

def agroeyepy.View.addnewobjecttolayer.Line.getCoordinate (   self,
  event 
)

Add coordinates of line, coordinates are from mouse clicked on the QGraphicsView.

Parameters
eventMouse click wheel triggers this event
Here is the call graph for this function:
Here is the caller graph for this function:

§ newDraw()

def agroeyepy.View.addnewobjecttolayer.Line.newDraw (   self)

Redraw lines.

Here is the caller graph for this function:

§ saveObject()

def agroeyepy.View.addnewobjecttolayer.Line.saveObject (   self)

Save draw objects to shapefile.

§ setCoordinate()

def agroeyepy.View.addnewobjecttolayer.Line.setCoordinate (   self)

Returns points coordinates as numpy array.

Member Data Documentation

§ alpha

agroeyepy.View.addnewobjecttolayer.Line.alpha

§ idObject

agroeyepy.View.addnewobjecttolayer.Line.idObject

§ idVertice

agroeyepy.View.addnewobjecttolayer.Line.idVertice

§ Lines

agroeyepy.View.addnewobjecttolayer.Line.Lines

§ parent

agroeyepy.View.addnewobjecttolayer.Line.parent

§ penStyle

agroeyepy.View.addnewobjecttolayer.Line.penStyle

Draw all drawn lines.

§ selectedLine

def agroeyepy.View.addnewobjecttolayer.Line.selectedLine

Save draw objects to shapefile.

Lists of all drawn polylines during creating shapefile.

Delete object, from selected row.

Parameters
selectedRowindex of selected row.
signalsignal to remove object.
numVerticesnumber of vertices.

§ signal

agroeyepy.View.addnewobjecttolayer.Line.signal

§ verticleCount

agroeyepy.View.addnewobjecttolayer.Line.verticleCount

The documentation for this class was generated from the following file: