naturtag.controllers.image_controller module

class naturtag.controllers.image_controller.ImageController

Bases: BaseController

Controller for selecting and tagging local image files

clear()

Clear all images and input

on_new_metadata

Metadata for an image was updated

on_view_observation_id

Request to switch to observation tab

on_view_taxon_id

Request to switch to taxon tab

paste()

Paste either image paths or taxon/observation URLs

refresh()

Refresh metadata for any previously tagged images

run()

Run image tagging for selected images and input

select_observation(observation)

Update input info from an observation object

select_observation_by_id(observation_id)

Load an observation by ID (pasted or directly entered)

select_taxon(taxon)

Update metadata info from a taxon object

select_taxon_by_id(taxon_id)

Load a taxon by ID (pasted or directly entered)

staticMetaObject = PySide6.QtCore.QMetaObject("ImageController" inherits "BaseController": Methods:   #34 type=Signal, signature=on_new_metadata(PyObject), parameters=PyObject   #35 type=Signal, signature=on_view_taxon_id(int), parameters=int   #36 type=Signal, signature=on_view_observation_id(int), parameters=int   #37 type=Slot, signature=update_metadata(PyObject), parameters=PyObject   #38 type=Slot, signature=select_taxon(PyObject), parameters=PyObject   #39 type=Slot, signature=select_observation(PyObject), parameters=PyObject )
update_metadata(metadata)