4.1.2. orchestratorSlots module

class orchestratorSlots.OrchestratorSlots[source]

Bases: PyQt5.QtCore.QObject

cameraConnection(isConnected)[source]
change_scene(path)[source]
change_workspace(path)[source]
close_workspace(path)[source]
confirmThumbnails()[source]
deletePictures(indexes)[source]

A slot that handle picture deleting

Parameters:indexes (list<QVariant>) – Indexes of pictures to delete
delete_scene(path)[source]
delete_workspace(path)[source]
discardPictures(indexes)[source]

A slot that handle picture discarding

Parameters:indexes (list<QVariant>) – Indexes of pictures to discard
filterPictures(status)[source]

A slot that handle filtering within pictures

Parameters:status (int) – The status that should be filtered, according to PictureState
importPictures(picturesFiles)[source]

A slot that handle the picture import from a camera

Args: picturesFiles (list<QUrl>): The list of pictures to be imported

importThumbnails()[source]
launchReconstruction()[source]
movePictures(indexes, startIndexTo)[source]

A slot that handle the reorganization between pictures. If more than one index are supplied, the first pictures selected will be moved at indexTo, and the other will be appended

Args: indexes (list<int>): Indexes to be moved startIndexTo (int): The destination start index of all pictures

newPictures(newPictures, deletedPictures)[source]

Handle an update from the camera to manage new or deleted pictures.

Args: newPictures (list<str>): A list of newly found pictures deletedPictures (list<str>): A list of all previously existing pictures now deleted by user

new_scene(name)[source]
new_workspace(name, path)[source]
onCameraConnection
open_workspace(path)[source]
picturesUpdated
reconstructionChanged
renewPictures(indexes)[source]

A slot that handle picture renewing, i.e, that allow rejected or discarded pictures to be used again

Parameters:indexes (list<QVariant>) – Indexes of pictures to renew
save_workspace()[source]
workspaceAvailable