![]() |
Agroeye
1.0
|
Main Class Everything runs from this point. More...
Public Member Functions | |
| def | __init__ (self, parent=None) |
| Default constructor. More... | |
| def | update_ui (self) |
| Updates display. More... | |
| def | setCoordinatesLineEdit (self, point) |
| Sets received signal into bottom widget with coordinates. More... | |
| def | openFile (self, fname=None) |
| Opens raster or vector file and adds it into model list. More... | |
| def | openProject (self) |
| def | readFile (self, element) |
| def | setupViewAreaFromXML (self, element) |
| def | setupToolbars (self, element) |
| def | setupMainToolbar (self, element) |
| def | saveProject (self, fileLocation=None) |
| def | saveProjectAs (self) |
| def | setWindowTitleFromFilename (self, fh) |
| def | checkFileIsValid (self, fname) |
| Check if open file is supported file format. More... | |
| def | enableMenus (self) |
| def | disableMenus (self) |
| def | onRightClick (self, pos) |
| Shows context menu on right click on list of loaded files. More... | |
| def | keyPressEvent (self, event) |
| Quit AgroEye when Escape is pressed. More... | |
| def | openPreferencesDialog (self) |
| Shows window to set preferences for view area, raster and vector file. More... | |
| def | about (self) |
| Shows window about AgroEye. More... | |
| def | showMeasuringDistanceTool (self) |
| Shows window to measure distance. More... | |
| def | showMeasuringAreaTool (self) |
| Shows window to measure area. More... | |
| def | openGAECModel (self) |
| Shows window to check GAEC rules. More... | |
| def | addNewVectorLayer (self) |
| Shows window to add new vector layer shapefile. More... | |
| def | showRasterCalculator (self) |
| Shows window to raster calculator. More... | |
| def | about_ext (self) |
| def | closeEvent (self, event) |
Main Class Everything runs from this point.
| def agroeyepy.Control.viewerApplication.AgroEye.__init__ | ( | self, | |
parent = None |
|||
| ) |
Default constructor.
Main body of the program.
| def agroeyepy.Control.viewerApplication.AgroEye.about | ( | self | ) |
Shows window about AgroEye.
| def agroeyepy.Control.viewerApplication.AgroEye.about_ext | ( | self | ) |
| def agroeyepy.Control.viewerApplication.AgroEye.addNewVectorLayer | ( | self | ) |
Shows window to add new vector layer shapefile.
| def agroeyepy.Control.viewerApplication.AgroEye.checkFileIsValid | ( | self, | |
| fname | |||
| ) |
Check if open file is supported file format.
| fname | Name of file |
| return | Returns name of file if file format is valid; otherwise returns None. |
| def agroeyepy.Control.viewerApplication.AgroEye.closeEvent | ( | self, | |
| event | |||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.disableMenus | ( | self | ) |
| def agroeyepy.Control.viewerApplication.AgroEye.enableMenus | ( | self | ) |
| def agroeyepy.Control.viewerApplication.AgroEye.keyPressEvent | ( | self, | |
| event | |||
| ) |
Quit AgroEye when Escape is pressed.
| event | If any key is pressed, checks an action to do |
| def agroeyepy.Control.viewerApplication.AgroEye.onRightClick | ( | self, | |
| pos | |||
| ) |
Shows context menu on right click on list of loaded files.
| pos | Position of the context menu event. |
| def agroeyepy.Control.viewerApplication.AgroEye.openFile | ( | self, | |
fname = None |
|||
| ) |
Opens raster or vector file and adds it into model list.
Returns nothing.
| def agroeyepy.Control.viewerApplication.AgroEye.openGAECModel | ( | self | ) |
Shows window to check GAEC rules.
| def agroeyepy.Control.viewerApplication.AgroEye.openPreferencesDialog | ( | self | ) |
Shows window to set preferences for view area, raster and vector file.
| def agroeyepy.Control.viewerApplication.AgroEye.openProject | ( | self | ) |
| def agroeyepy.Control.viewerApplication.AgroEye.readFile | ( | self, | |
| element | |||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.saveProject | ( | self, | |
fileLocation = None |
|||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.saveProjectAs | ( | self | ) |
| def agroeyepy.Control.viewerApplication.AgroEye.setCoordinatesLineEdit | ( | self, | |
| point | |||
| ) |
Sets received signal into bottom widget with coordinates.
| point | Coordinates of received point which are about to be set in the bottom. |
| def agroeyepy.Control.viewerApplication.AgroEye.setupMainToolbar | ( | self, | |
| element | |||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.setupToolbars | ( | self, | |
| element | |||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.setupViewAreaFromXML | ( | self, | |
| element | |||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.setWindowTitleFromFilename | ( | self, | |
| fh | |||
| ) |
| def agroeyepy.Control.viewerApplication.AgroEye.showMeasuringAreaTool | ( | self | ) |
Shows window to measure area.
| def agroeyepy.Control.viewerApplication.AgroEye.showMeasuringDistanceTool | ( | self | ) |
Shows window to measure distance.
| def agroeyepy.Control.viewerApplication.AgroEye.showRasterCalculator | ( | self | ) |
Shows window to raster calculator.
| def agroeyepy.Control.viewerApplication.AgroEye.update_ui | ( | self | ) |
Updates display.
Checks which layers are visible and show them. two list - all loaded files and all visible files.
| agroeyepy.Control.viewerApplication.AgroEye.desktopWidget |
| agroeyepy.Control.viewerApplication.AgroEye.downRight |
| agroeyepy.Control.viewerApplication.AgroEye.ext |
| agroeyepy.Control.viewerApplication.AgroEye.fileLocation |
| agroeyepy.Control.viewerApplication.AgroEye.lastDirPath |
| agroeyepy.Control.viewerApplication.AgroEye.lastDirProjectPath |
| agroeyepy.Control.viewerApplication.AgroEye.loadedfiles_model |
| agroeyepy.Control.viewerApplication.AgroEye.loadedfiles_tableview |
| agroeyepy.Control.viewerApplication.AgroEye.measureArea |
| agroeyepy.Control.viewerApplication.AgroEye.measureDistance |
| agroeyepy.Control.viewerApplication.AgroEye.model |
| agroeyepy.Control.viewerApplication.AgroEye.newVectorLayer |
| agroeyepy.Control.viewerApplication.AgroEye.onOffActions |
| agroeyepy.Control.viewerApplication.AgroEye.preferencesDialog |
| agroeyepy.Control.viewerApplication.AgroEye.printer |
| agroeyepy.Control.viewerApplication.AgroEye.rasterCalc |
| agroeyepy.Control.viewerApplication.AgroEye.ratio |
| agroeyepy.Control.viewerApplication.AgroEye.scaleFactor |
| agroeyepy.Control.viewerApplication.AgroEye.selection |
| agroeyepy.Control.viewerApplication.AgroEye.upLeft |
| agroeyepy.Control.viewerApplication.AgroEye.viewArea |
1.8.12