1
Camera Icon-view port to Qt4 Model/View port
2
============================================
4
For 2.1.0, a lots camera interface code have been cleaned to reduce depencies to Qt3 support class which still used in icon-view.
5
This code must be ported to Qt4 model-view. Code relevant of this are listed below :
7
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/cameragui/items/cameraiconitem.h
8
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/cameragui/views/cameraiconview.h
10
... which use these parents classes based on Q3ScrollView :
12
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/show/utilities/cameragui/q3support
14
Indirectly this class is also relevant of future model/view port :
16
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/cameragui/views/cameraiconviewtooltip.h
18
For all of this, we have already classes of icon-view based on Qt4 model-view in digiKam core. There are used in AlbumGUI:
20
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/show/libs/widgets/itemview
22
Here, you will find models, used to populate and filter icon view:
24
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/show/libs/models
26
But of course, these models are based on database and cannot be used in camera interface. They must be re-written...
28
The goal of model-view port is to be able to :
30
- factorize a lots of code shared with album gui.
31
- remove Qt3 dependency
32
- create more powerful icon-view for camera interface, with advanced filtering option, group of items (RAW+JPEG), pre-tags options, etc...
33
- To be able to use preview mode in camera interface (image + video), as in albumgui.
35
Relevant files from KDE bugzilla:
37
https://bugs.kde.org/show_bug.cgi?id=121310
38
https://bugs.kde.org/show_bug.cgi?id=126149
39
https://bugs.kde.org/show_bug.cgi?id=158437
40
https://bugs.kde.org/show_bug.cgi?id=216491
42
...and certainly more files...