diff --git a/gui/KCC.ui b/gui/KCC.ui index b557ea0..0097248 100644 --- a/gui/KCC.ui +++ b/gui/KCC.ui @@ -6,7 +6,7 @@ 0 0 - 481 + 450 400 @@ -198,7 +198,7 @@ - <html><head/><body><p>Shift first page to opposite side in landscape. Useful for 2 page spread alignment.</p></body></html> + Shift first page to opposite side in landscape for two page spread alignment Spread shift @@ -241,6 +241,9 @@ 5 + + Qt::Horizontal + @@ -279,6 +282,9 @@ 1 + + Qt::Horizontal + @@ -486,10 +492,10 @@ QAbstractItemView::NoSelection - QAbstractItemView::ScrollPerItem + QAbstractItemView::ScrollPerPixel - QAbstractItemView::ScrollPerItem + QAbstractItemView::ScrollPerPixel @@ -509,6 +515,9 @@ false + + Qt::AlignJustify|Qt::AlignVCenter + diff --git a/kindlecomicconverter/KCC_rc.py b/kindlecomicconverter/KCC_rc.py index 9a1cfef..157c719 100644 --- a/kindlecomicconverter/KCC_rc.py +++ b/kindlecomicconverter/KCC_rc.py @@ -11624,7 +11624,7 @@ qt_resource_struct = b"\ \x00\x00\x00\xa6\x00\x00\x00\x00\x00\x01\x00\x01(\x97\ \x00\x00\x01\x88;p\xbcB\ \x00\x00\x00\xbc\x00\x00\x00\x00\x00\x01\x00\x011\xef\ -\x00\x00\x01\x93\xdc\xec\x99\x8b\ +\x00\x00\x01\x94\x1a\xa2\xa2\x92\ \x00\x00\x00\x8c\x00\x00\x00\x00\x00\x01\x00\x01\x1d\x90\ \x00\x00\x01\x88;p\xbcB\ \x00\x00\x00\xd0\x00\x00\x00\x00\x00\x01\x00\x01:\x05\ @@ -11644,7 +11644,7 @@ qt_resource_struct = b"\ \x00\x00\x012\x00\x00\x00\x00\x00\x01\x00\x01yY\ \x00\x00\x01\x88;p\xbcI\ \x00\x00\x01\x94\x00\x00\x00\x00\x00\x01\x00\x01\xd2-\ -\x00\x00\x01\x88;p\xbcI\ +\x00\x00\x01\x94\x18\xb3\xe7\xf7\ \x00\x00\x01z\x00\x00\x00\x00\x00\x01\x00\x01\x8c\xe6\ \x00\x00\x01\x88;p\xbcH\ \x00\x00\x01\x04\x00\x00\x00\x00\x00\x01\x00\x01LR\ diff --git a/kindlecomicconverter/KCC_ui.py b/kindlecomicconverter/KCC_ui.py index 9424569..ab32565 100644 --- a/kindlecomicconverter/KCC_ui.py +++ b/kindlecomicconverter/KCC_ui.py @@ -26,7 +26,7 @@ class Ui_mainWindow(object): def setupUi(self, mainWindow): if not mainWindow.objectName(): mainWindow.setObjectName(u"mainWindow") - mainWindow.resize(481, 400) + mainWindow.resize(450, 400) icon = QIcon() icon.addFile(u":/Icon/icons/comic2ebook.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off) mainWindow.setWindowIcon(icon) @@ -139,6 +139,7 @@ class Ui_mainWindow(object): self.gammaSlider.setObjectName(u"gammaSlider") self.gammaSlider.setMaximum(250) self.gammaSlider.setSingleStep(5) + self.gammaSlider.setOrientation(Qt.Horizontal) self.horizontalLayout_2.addWidget(self.gammaSlider) @@ -160,6 +161,7 @@ class Ui_mainWindow(object): self.croppingPowerSlider.setObjectName(u"croppingPowerSlider") self.croppingPowerSlider.setMaximum(300) self.croppingPowerSlider.setSingleStep(1) + self.croppingPowerSlider.setOrientation(Qt.Horizontal) self.horizontalLayout_3.addWidget(self.croppingPowerSlider) @@ -266,8 +268,8 @@ class Ui_mainWindow(object): self.jobList.setObjectName(u"jobList") self.jobList.setStyleSheet(u"QListWidget#jobList {background:#ffffff;background-image:url(:/Other/icons/list_background.png);background-position:center center;background-repeat:no-repeat;color:rgb(0,0,0);}") self.jobList.setSelectionMode(QAbstractItemView.NoSelection) - self.jobList.setVerticalScrollMode(QAbstractItemView.ScrollPerItem) - self.jobList.setHorizontalScrollMode(QAbstractItemView.ScrollPerItem) + self.jobList.setVerticalScrollMode(QAbstractItemView.ScrollPerPixel) + self.jobList.setHorizontalScrollMode(QAbstractItemView.ScrollPerPixel) self.gridLayout.addWidget(self.jobList, 2, 0, 1, 2) @@ -276,6 +278,7 @@ class Ui_mainWindow(object): self.progressBar.setMinimumSize(QSize(0, 30)) self.progressBar.setFont(font) self.progressBar.setVisible(False) + self.progressBar.setAlignment(Qt.AlignJustify|Qt.AlignVCenter) self.gridLayout.addWidget(self.progressBar, 1, 0, 1, 2) @@ -413,7 +416,7 @@ class Ui_mainWindow(object): #endif // QT_CONFIG(tooltip) self.disableProcessingBox.setText(QCoreApplication.translate("mainWindow", u"Disable processing", None)) #if QT_CONFIG(tooltip) - self.spreadShiftBox.setToolTip(QCoreApplication.translate("mainWindow", u"

Shift first page to opposite side in landscape. Useful for 2 page spread alignment.

", None)) + self.spreadShiftBox.setToolTip(QCoreApplication.translate("mainWindow", u"Shift first page to opposite side in landscape for two page spread alignment", None)) #endif // QT_CONFIG(tooltip) self.spreadShiftBox.setText(QCoreApplication.translate("mainWindow", u"Spread shift", None)) self.gammaLabel.setText(QCoreApplication.translate("mainWindow", u"Gamma: Auto", None))