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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user