Digikam/GSoC2012/CameraUserInterfaceRevamp/Implementation: Difference between revisions
Islam Wazery (talk | contribs) Created page with "= New Files Structure = == Devices Folder == === DKCamera === digiKam camera interface, Implemented by the two backends, GPCamera and UMSCamera. === GPCamera === The backend f..." |
Islam Wazery (talk | contribs) mNo edit summary |
||
Line 16: | Line 16: | ||
'''NEW DIRECTORY:''' | '''NEW DIRECTORY:''' | ||
---- | |||
== Controller Folder = | == Controller Folder == | ||
=== CameraController === | === CameraController === | ||
Is responsible for doing all the import interface jobs (camera commands) like listing files/folders, capturing photos, get metadata | Is responsible for doing all the import interface jobs (camera commands) like listing files/folders, capturing photos, get metadata & free space, get thumbnails, download photos, etc. It should be modified to communicate with the import models in a similar manner that AlbumManager communicates with album models. | ||
'''NEEDS TO BE DECIDED:''' Change its name to CameraManager or ImportManager and making it a singleton. | '''NEEDS TO BE DECIDED:''' Change its name to CameraManager or ImportManager and making it a singleton. | ||
Line 30: | Line 30: | ||
'''NEW DIRECTORY:''' | '''NEW DIRECTORY:''' | ||
---- | |||
== Dialogs Folder == | == Dialogs Folder == | ||
Contains all the dialogs for the import interface, there is no need to change it, just move it to another suitable directory. | Contains all the dialogs for the import interface, there is no need to change it, just move it to another suitable directory. | ||
'''NEW DIRECTORY:''' | '''NEW DIRECTORY:''' | ||
---- | |||
== Main Folder == | == Main Folder == | ||
Contains the main interface class, should be revamped with the new changes and moved to a suitable directory. | Contains the main interface class, should be revamped with the new changes and moved to a suitable directory. | ||
'''NEW DIRECTORY:''' | '''NEW DIRECTORY:''' | ||
---- | |||
== Widgets Folder == | == Widgets Folder == | ||
For now no change in it, just move it to new directory. | |||
'''NEW DIRECTORY:''' | |||
---- | |||
= | = The New Structure = | ||
== | = Models = | ||
---- | |||
= Issues = | |||
# To implement the tags, labels features, CamItemInfo needs to have those similar functionalities of the ImageInfo. | |||
# Backend code should get some features like updating the listed files after removing/renaming any of them in the backend. | # Backend code should get some features like updating the listed files after removing/renaming any of them in the backend. | ||
# Photo thumbnails sometimes are low resolution, this issue is reproduced with all the high resolution images. | |||
# |
Revision as of 22:37, 17 May 2012
New Files Structure
Devices Folder
DKCamera
digiKam camera interface, Implemented by the two backends, GPCamera and UMSCamera.
GPCamera
The backend for the supported gPhoto2 library cameras.
UMSCamera
USB mass-storage device class (USB MSC or UMS), which is a protocol that allows USB devices to be accessible.
CamItemInfo
Holds the information for a single camera item "Photo, Video, Audio, ..."
NEW DIRECTORY:
Controller Folder
CameraController
Is responsible for doing all the import interface jobs (camera commands) like listing files/folders, capturing photos, get metadata & free space, get thumbnails, download photos, etc. It should be modified to communicate with the import models in a similar manner that AlbumManager communicates with album models.
NEEDS TO BE DECIDED: Change its name to CameraManager or ImportManager and making it a singleton.
CameraHistoryUpdater
Is responsible for updating the history of the jobs done by the interface.
Download Settings
It is the settings in the right sidebar of the interface. There is no need to change it.
NEW DIRECTORY:
Dialogs Folder
Contains all the dialogs for the import interface, there is no need to change it, just move it to another suitable directory.
NEW DIRECTORY:
Main Folder
Contains the main interface class, should be revamped with the new changes and moved to a suitable directory.
NEW DIRECTORY:
Widgets Folder
For now no change in it, just move it to new directory.
NEW DIRECTORY:
The New Structure
Models
Issues
- To implement the tags, labels features, CamItemInfo needs to have those similar functionalities of the ImageInfo.
- Backend code should get some features like updating the listed files after removing/renaming any of them in the backend.
- Photo thumbnails sometimes are low resolution, this issue is reproduced with all the high resolution images.