UI to learn hashes of local image files

This addes a menu entry for the user to select a directory that is recursively
traversed to look for image files and compute the hashes of those images (for
those images to be available to be displayed in dives according to their hash values).

This traversal and hash computation happens in and independend thread and so far
the only feedback to the user is that upon completion the dispayed images are updated.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2015-02-26 14:44:27 +01:00 committed by Dirk Hohndel
parent b02bf002a6
commit e6482bbdc8
5 changed files with 51 additions and 1 deletions

View file

@ -50,7 +50,7 @@
<x>0</x>
<y>0</y>
<width>861</width>
<height>25</height>
<height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@ -67,6 +67,7 @@
<addaction name="actionPrint"/>
<addaction name="actionPreferences"/>
<addaction name="separator"/>
<addaction name="actionHash_images"/>
<addaction name="actionConfigure_Dive_Computer"/>
<addaction name="separator"/>
<addaction name="actionRecent1"/>
@ -690,6 +691,11 @@
<string>Ctrl+Shift+Z</string>
</property>
</action>
<action name="actionHash_images">
<property name="text">
<string>Hash images</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>