1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Add image comparison features to details dialog

* Add splitter in order to hide the details table.
* Add a toolbar to the Details Dialog window to allow for better image
comparisons: zoom in/out, swap pixmaps in place, best-fit-to-viewport.
Scrollbars and viewports are synchronized.
This commit is contained in:
glubsy
2020-07-02 22:49:45 +02:00
parent 092cf1471b
commit 4ee9479a5f
5 changed files with 1359 additions and 74 deletions

View File

@@ -7,12 +7,12 @@
# http://www.gnu.org/licenses/gpl-3.0.html
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QDialog
from PyQt5.QtWidgets import QMainWindow
from .details_table import DetailsModel
class DetailsDialog(QDialog):
class DetailsDialog(QMainWindow):
def __init__(self, parent, app, **kwargs):
super().__init__(parent, Qt.Tool, **kwargs)
self.app = app