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

Public Member Functions

def __init__ (self, parent, rowSelected)
 Open attribute table. More...
 
def createActionsColumnView (self)
 Create action for QToolButton on Toolbar in Table Preview. More...
 
def createActionsTablePreview (self)
 Create action for QToolButton on Toolbar in Table Preview. More...
 
def addDataTablePreview (self)
 Create attribute table. More...
 
def addDataColumnView (self)
 Create preview of column. More...
 
def save (self)
 Save the all changes to vector file. More...
 
def saveAs (self)
 Open dialog to save vector to new shapefile. More...
 
def editRow (self)
 turn on/off edit button for table preview More...
 
def deleteRow (self)
 Delete selected row. More...
 
def moveUp (self)
 Move up selected column. More...
 
def moveDown (self)
 Move down selected column. More...
 
def moveTop (self)
 Move selected column at the top of table. More...
 
def addColumn (self)
 Add one column at the end of table. More...
 
def deleteColumn (self)
 Delete one or more columns. More...
 
def renameColumn (self)
 Edit column name. More...
 
def changeRow (self, item)
 Action after edit rows. More...
 
def selectRow (self, item)
 Action after selected row. More...
 
def updateColumn (self)
 Update column after edit. More...
 
def updateRow (self)
 Updates rows after edit. More...
 
def refreshTablePreview (self, index)
 Action after switch tab. More...
 
def cancel (self)
 Action after select cancel. More...
 
def comboChanged (self, index)
 Action after changed field in typeComboBox. More...
 

Public Attributes

 parent
 
 validateClass
 
 file
 
 fieldName
 
 rowCount
 
 fieldVals
 
 fieldTypeCol
 
 fieldWidth
 
 fieldPrec
 
 geomType
 
 geomData
 
 srs
 
 addColumn
 
 delColumn
 
 editColumn
 
 renameColumn
 
 delRow
 
 moveUpAction
 
 moveDownAction
 
 moveTopAction
 
 addColAction
 
 delColAction
 
 changeNameAction
 
 editAction
 
 delRowAction
 
 comboList
 

Constructor & Destructor Documentation

§ __init__()

def agroeyepy.View.attributetabledialog.TableDialog.__init__ (   self,
  parent,
  rowSelected 
)

Open attribute table.

Parameters
rowSelectedis the selected file

Member Function Documentation

§ addColumn()

def agroeyepy.View.attributetabledialog.TableDialog.addColumn (   self)

Add one column at the end of table.

Shows new dialog to set name and type of new column. Returns new column.

§ addDataColumnView()

def agroeyepy.View.attributetabledialog.TableDialog.addDataColumnView (   self)

Create preview of column.

§ addDataTablePreview()

def agroeyepy.View.attributetabledialog.TableDialog.addDataTablePreview (   self)

Create attribute table.

Here is the caller graph for this function:

§ cancel()

def agroeyepy.View.attributetabledialog.TableDialog.cancel (   self)

Action after select cancel.

§ changeRow()

def agroeyepy.View.attributetabledialog.TableDialog.changeRow (   self,
  item 
)

Action after edit rows.

Here is the call graph for this function:
Here is the caller graph for this function:

§ comboChanged()

def agroeyepy.View.attributetabledialog.TableDialog.comboChanged (   self,
  index 
)

Action after changed field in typeComboBox.

Parameters
indexindex of new selected row.
Here is the call graph for this function:

§ createActionsColumnView()

def agroeyepy.View.attributetabledialog.TableDialog.createActionsColumnView (   self)

Create action for QToolButton on Toolbar in Table Preview.

§ createActionsTablePreview()

def agroeyepy.View.attributetabledialog.TableDialog.createActionsTablePreview (   self)

Create action for QToolButton on Toolbar in Table Preview.

§ deleteColumn()

def agroeyepy.View.attributetabledialog.TableDialog.deleteColumn (   self)

Delete one or more columns.

Shows new dialog to choose deleted column.

§ deleteRow()

def agroeyepy.View.attributetabledialog.TableDialog.deleteRow (   self)

Delete selected row.

§ editRow()

def agroeyepy.View.attributetabledialog.TableDialog.editRow (   self)

turn on/off edit button for table preview

Here is the call graph for this function:

§ moveDown()

def agroeyepy.View.attributetabledialog.TableDialog.moveDown (   self)

Move down selected column.

Here is the call graph for this function:

§ moveTop()

def agroeyepy.View.attributetabledialog.TableDialog.moveTop (   self)

Move selected column at the top of table.

Here is the call graph for this function:

§ moveUp()

def agroeyepy.View.attributetabledialog.TableDialog.moveUp (   self)

Move up selected column.

Here is the call graph for this function:

§ refreshTablePreview()

def agroeyepy.View.attributetabledialog.TableDialog.refreshTablePreview (   self,
  index 
)

Action after switch tab.

Parameters
indexindex of switched table.
Here is the call graph for this function:

§ renameColumn()

def agroeyepy.View.attributetabledialog.TableDialog.renameColumn (   self)

Edit column name.

§ save()

def agroeyepy.View.attributetabledialog.TableDialog.save (   self)

Save the all changes to vector file.

Edits opened file, not create new.

§ saveAs()

def agroeyepy.View.attributetabledialog.TableDialog.saveAs (   self)

Open dialog to save vector to new shapefile.

User choose new name.

§ selectRow()

def agroeyepy.View.attributetabledialog.TableDialog.selectRow (   self,
  item 
)

Action after selected row.

§ updateColumn()

def agroeyepy.View.attributetabledialog.TableDialog.updateColumn (   self)

Update column after edit.

Here is the caller graph for this function:

§ updateRow()

def agroeyepy.View.attributetabledialog.TableDialog.updateRow (   self)

Updates rows after edit.

Here is the caller graph for this function:

Member Data Documentation

§ addColAction

agroeyepy.View.attributetabledialog.TableDialog.addColAction

§ addColumn

agroeyepy.View.attributetabledialog.TableDialog.addColumn

§ changeNameAction

agroeyepy.View.attributetabledialog.TableDialog.changeNameAction

§ comboList

agroeyepy.View.attributetabledialog.TableDialog.comboList

§ delColAction

agroeyepy.View.attributetabledialog.TableDialog.delColAction

§ delColumn

agroeyepy.View.attributetabledialog.TableDialog.delColumn

§ delRow

agroeyepy.View.attributetabledialog.TableDialog.delRow

§ delRowAction

agroeyepy.View.attributetabledialog.TableDialog.delRowAction

§ editAction

agroeyepy.View.attributetabledialog.TableDialog.editAction

§ editColumn

agroeyepy.View.attributetabledialog.TableDialog.editColumn

§ fieldName

agroeyepy.View.attributetabledialog.TableDialog.fieldName

§ fieldPrec

agroeyepy.View.attributetabledialog.TableDialog.fieldPrec

§ fieldTypeCol

agroeyepy.View.attributetabledialog.TableDialog.fieldTypeCol

§ fieldVals

agroeyepy.View.attributetabledialog.TableDialog.fieldVals

§ fieldWidth

agroeyepy.View.attributetabledialog.TableDialog.fieldWidth

§ file

agroeyepy.View.attributetabledialog.TableDialog.file

§ geomData

agroeyepy.View.attributetabledialog.TableDialog.geomData

§ geomType

agroeyepy.View.attributetabledialog.TableDialog.geomType

§ moveDownAction

agroeyepy.View.attributetabledialog.TableDialog.moveDownAction

§ moveTopAction

agroeyepy.View.attributetabledialog.TableDialog.moveTopAction

§ moveUpAction

agroeyepy.View.attributetabledialog.TableDialog.moveUpAction

§ parent

agroeyepy.View.attributetabledialog.TableDialog.parent

§ renameColumn

agroeyepy.View.attributetabledialog.TableDialog.renameColumn

§ rowCount

agroeyepy.View.attributetabledialog.TableDialog.rowCount

§ srs

agroeyepy.View.attributetabledialog.TableDialog.srs

§ validateClass

agroeyepy.View.attributetabledialog.TableDialog.validateClass

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