1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

No Rotate option (#785)

* no rotate

* Revert "no rotate"

This reverts commit b6f1fe8882.

* implement norotate
This commit is contained in:
Alex Xu
2025-01-03 19:43:20 -08:00
committed by GitHub
parent 2189f4b1cb
commit 317fb33fd0
6 changed files with 253 additions and 222 deletions

View File

@@ -258,6 +258,8 @@ class WorkerThread(QtCore.QThread):
options.delete = True
if GUI.spreadShiftBox.isChecked():
options.spreadshift = True
if GUI.noRotateBox.isChecked():
options.norotate = True
if GUI.mozJpegBox.checkState() == Qt.CheckState.PartiallyChecked:
options.forcepng = True
elif GUI.mozJpegBox.checkState() == Qt.CheckState.Checked:
@@ -794,6 +796,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
'heightBox': GUI.heightBox.value(),
'deleteBox': GUI.deleteBox.checkState().value,
'spreadShiftBox': GUI.spreadShiftBox.checkState().value,
'noRotateBox': GUI.noRotateBox.checkState().value,
'maximizeStrips': GUI.maximizeStrips.checkState().value,
'gammaSlider': float(self.gammaValue) * 100})
self.settings.sync()