mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 12:26:26 +00:00
wip: b30 ocr tab
This commit is contained in:
@ -51,7 +51,10 @@ class ImageDelegate(QStyledItemDelegate):
|
||||
label.setWindowFlag(Qt.WindowType.WindowMinimizeButtonHint, False)
|
||||
label.setWindowFlag(Qt.WindowType.WindowMaximizeButtonHint, False)
|
||||
label.setWindowFlag(Qt.WindowType.WindowCloseButtonHint, True)
|
||||
label.setWindowTitle(QFileInfo(self.getImagePath(index)).fileName())
|
||||
imagePath = self.getImagePath(index)
|
||||
label.setWindowTitle(
|
||||
QFileInfo(imagePath).fileName() if imagePath else "Preview"
|
||||
)
|
||||
pixmap = pixmap.scaled(
|
||||
800,
|
||||
800,
|
||||
|
Reference in New Issue
Block a user