QGraphicsView for image browsing

This commit is contained in:
BasioMeusPuga
2017-11-16 23:25:03 +05:30
parent b1b27cf3b9
commit d70d61a84e
3 changed files with 133 additions and 51 deletions

View File

@@ -93,7 +93,7 @@ class ParseCBZ:
page_name = 'Page ' + str(count)
image_path = os.path.join(extract_path, image_dir, i)
# contents[page_name] = image_path
contents[page_name] = "<img src='%s' align='middle'/>" % image_path
contents[page_name] = image_path
# contents[page_name] = "<img src='%s' align='middle'/>" % image_path
return contents, file_settings