diff --git a/gui/KCC.ui b/gui/KCC.ui
index 279fdc2..16c89fb 100644
--- a/gui/KCC.ui
+++ b/gui/KCC.ui
@@ -6,8 +6,8 @@
0
0
- 519
- 572
+ 566
+ 573
@@ -137,27 +137,62 @@
0
- -
-
+
-
+
0
30
+
+
+ true
+
+
- <html><head/><body><p style='white-space:pre'>Add directory containing JPG, PNG or GIF files to queue.<br/><span style=" font-weight:600;">CBR, CBZ and CB7 files inside will not be processed!</span></p></body></html>
+ <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory for this list.</p></body></html>
- Add image folder
+ Convert
- :/Other/icons/folder_new.png:/Other/icons/folder_new.png
+ :/Other/icons/convert.png:/Other/icons/convert.png
-
+
+
+
+ 0
+ 30
+
+
+
+ Clear list
+
+
+
+ :/Other/icons/clear.png:/Other/icons/clear.png
+
+
+
+ -
+
+
+
+ 0
+ 28
+
+
+
+ <html><head/><body><p style='white-space:pre'>Target device.</p></body></html>
+
+
+
+ -
@@ -177,20 +212,43 @@
- -
-
+
-
+
0
- 28
+ 30
- <html><head/><body><p style='white-space:pre'>Target device.</p></body></html>
+ <html><head/><body><p>Use this to select the default output directory.</p></body></html>
+
+
+ Default Output Folder
+
+
+
+ :/Other/icons/folder_new.png:/Other/icons/folder_new.png
- -
+
-
+
+
+
+ 0
+ 0
+
+
+
+ <html><head/><body><p>Click to enable custom directory.</p></body></html>
+
+
+
+
+
+
+ -
@@ -203,55 +261,14 @@
- -
-
-
-
- 0
- 30
-
-
-
-
- true
-
-
-
- <html><head/><body><p style='white-space:pre'>Shift+Click to select the output directory.</p></body></html>
-
-
- Convert
-
-
-
- :/Other/icons/convert.png:/Other/icons/convert.png
-
-
-
- -
-
-
-
- 0
- 30
-
-
-
- Clear list
-
-
-
- :/Other/icons/clear.png:/Other/icons/clear.png
-
-
-
- directoryButton
clearButton
- fileButton
deviceBox
convertButton
formatBox
+ defaultOutputFolderButton
+ fileButton
+ defaultOutputFolderBox
-
@@ -813,8 +830,6 @@
convertButton
clearButton
- directoryButton
- fileButton
deviceBox
formatBox
mangaBox
diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py
index 7b3a080..b696312 100644
--- a/kindlecomicconverter/KCC_gui.py
+++ b/kindlecomicconverter/KCC_gui.py
@@ -487,17 +487,22 @@ class SystemTrayIcon(QSystemTrayIcon):
class KCCGUI(KCC_ui.Ui_mainWindow):
- def selectDir(self):
- if self.needClean:
- self.needClean = False
- GUI.jobList.clear()
- dname = QFileDialog.getExistingDirectory(MW, 'Select directory', self.lastPath)
+ def selectDefaultOutputFolder(self):
+ dname = QFileDialog.getExistingDirectory(MW, 'Select default output folder', self.defaultOutputFolder)
if dname != '':
if sys.platform.startswith('win'):
dname = dname.replace('/', '\\')
- self.lastPath = os.path.abspath(os.path.join(dname, os.pardir))
- GUI.jobList.addItem(dname)
- GUI.jobList.scrollToBottom()
+ GUI.defaultOutputFolder = dname
+
+ def selectOutputFolder(self):
+ dname = QFileDialog.getExistingDirectory(MW, 'Select output directory', self.lastPath)
+ if dname != '':
+ if sys.platform.startswith('win'):
+ dname = dname.replace('/', '\\')
+ GUI.targetDirectory = dname
+ else:
+ GUI.targetDirectory = ''
+ return GUI.targetDirectory
def selectFile(self):
if self.needClean:
@@ -585,7 +590,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
GUI.editorButton.setEnabled(status)
GUI.wikiButton.setEnabled(status)
GUI.deviceBox.setEnabled(status)
- GUI.directoryButton.setEnabled(status)
+ GUI.defaultOutputFolderButton.setEnabled(status)
GUI.clearButton.setEnabled(status)
GUI.fileButton.setEnabled(status)
GUI.formatBox.setEnabled(status)
@@ -782,13 +787,10 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
self.worker.sync()
else:
if QApplication.keyboardModifiers() == Qt.KeyboardModifier.ShiftModifier:
- dname = QFileDialog.getExistingDirectory(MW, 'Select output directory', self.lastPath)
- if dname != '':
- if sys.platform.startswith('win'):
- dname = dname.replace('/', '\\')
- GUI.targetDirectory = dname
- else:
- GUI.targetDirectory = ''
+ if not self.selectOutputFolder():
+ return
+ elif GUI.defaultOutputFolderBox.isChecked():
+ self.targetDirectory = self.defaultOutputFolder
else:
GUI.targetDirectory = ''
self.progress.start()
@@ -830,6 +832,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
event.ignore()
self.settings.setValue('settingsVersion', __version__)
self.settings.setValue('lastPath', self.lastPath)
+ self.settings.setValue('defaultOutputFolder', self.defaultOutputFolder)
self.settings.setValue('lastDevice', GUI.deviceBox.currentIndex())
self.settings.setValue('currentFormat', GUI.formatBox.currentIndex())
self.settings.setValue('startNumber', self.startNumber + 1)
@@ -856,6 +859,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
'deleteBox': GUI.deleteBox.checkState().value,
'spreadShiftBox': GUI.spreadShiftBox.checkState().value,
'fileFusionBox': GUI.fileFusionBox.checkState().value,
+ 'defaultOutputFolderBox': GUI.defaultOutputFolderBox.checkState().value,
'noRotateBox': GUI.noRotateBox.checkState().value,
'maximizeStrips': GUI.maximizeStrips.checkState().value,
'gammaSlider': float(self.gammaValue) * 100,
@@ -937,6 +941,9 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
self.settings = QSettings('ciromattia', 'kcc')
self.settingsVersion = self.settings.value('settingsVersion', '', type=str)
self.lastPath = self.settings.value('lastPath', '', type=str)
+ self.defaultOutputFolder = str(self.settings.value('defaultOutputFolder', '', type=str))
+ if not os.path.exists(self.defaultOutputFolder):
+ self.defaultOutputFolder = ''
self.lastDevice = self.settings.value('lastDevice', 0, type=int)
self.currentFormat = self.settings.value('currentFormat', 0, type=int)
self.startNumber = self.settings.value('startNumber', 0, type=int)
@@ -965,7 +972,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
if self.windowSize == '0x0':
MW.resize(500, 500)
elif sys.platform.startswith('darwin'):
- for element in ['editorButton', 'wikiButton', 'directoryButton', 'clearButton', 'fileButton', 'deviceBox',
+ for element in ['editorButton', 'wikiButton', 'defaultOutputFolderButton', 'clearButton', 'fileButton', 'deviceBox',
'convertButton', 'formatBox']:
getattr(GUI, element).setMinimumSize(QSize(0, 0))
GUI.gridLayout.setContentsMargins(-1, -1, -1, -1)
@@ -1133,7 +1140,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
self.addMessage('Welcome!', 'info')
self.addMessage('Tip: Hover mouse over options to see additional information in tooltips.', 'info')
self.addMessage('Tip: You can drag and drop image folders or comic files/archives into this window to convert.', 'info')
- self.addMessage('Tip: Shift clicking the Convert button lets you select a custom output directory', 'info')
+ self.addMessage('Tip: Shift clicking the Convert button lets you select a custom output directory for this list', 'info')
if self.startNumber < 5:
self.addMessage('Since you are a new user of KCC please see few '
'important tips.',
@@ -1147,7 +1154,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
self.detectKindleGen(True)
APP.messageFromOtherInstance.connect(self.handleMessage)
- GUI.directoryButton.clicked.connect(self.selectDir)
+ GUI.defaultOutputFolderButton.clicked.connect(self.selectDefaultOutputFolder)
GUI.clearButton.clicked.connect(self.clearJobs)
GUI.fileButton.clicked.connect(self.selectFile)
GUI.editorButton.clicked.connect(self.selectFileMetaEditor)
diff --git a/kindlecomicconverter/KCC_rc.py b/kindlecomicconverter/KCC_rc.py
index 125ba82..c74b46d 100644
--- a/kindlecomicconverter/KCC_rc.py
+++ b/kindlecomicconverter/KCC_rc.py
@@ -12198,53 +12198,53 @@ qt_resource_struct = b"\
\x00\x00\x00X\x00\x02\x00\x00\x00\x04\x00\x00\x00\x07\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x01\xe4\x00\x00\x00\x00\x00\x01\x00\x02S.\
-\x00\x00\x01\x88;p\xbcB\
+\x00\x00\x01\x97\x0a\xfc2A\
\x00\x00\x02\x22\x00\x00\x00\x00\x00\x01\x00\x02\xa7\xc8\
-\x00\x00\x01\x88;p\xbcB\
+\x00\x00\x01\x97\x0a\xfc2@\
\x00\x00\x02\x0e\x00\x00\x00\x00\x00\x01\x00\x02}\xcd\
-\x00\x00\x01\x88;p\xbcB\
+\x00\x00\x01\x97\x0a\xfc2@\
\x00\x00\x01\xfa\x00\x00\x00\x00\x00\x01\x00\x02rj\
-\x00\x00\x01\x89\x89D9.\
+\x00\x00\x01\x97\x0a\xfc2@\
\x00\x00\x00X\x00\x02\x00\x00\x00\x04\x00\x00\x00\x0c\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\xa6\x00\x00\x00\x00\x00\x01\x00\x01(\x97\
-\x00\x00\x01\x88;p\xbcB\
+\x00\x00\x01\x97\x0a\xfc2A\
\x00\x00\x00\xbc\x00\x00\x00\x00\x00\x01\x00\x011\xef\
-\x00\x00\x01\x96\x16b\x1f\x99\
+\x00\x00\x01\x97\x0a\xfc2A\
\x00\x00\x00\x8c\x00\x00\x00\x00\x00\x01\x00\x01\x1d\x90\
-\x00\x00\x01\x88;p\xbcB\
+\x00\x00\x01\x97\x0a\xfc2A\
\x00\x00\x00\xd0\x00\x00\x00\x00\x00\x01\x00\x01:\x05\
-\x00\x00\x01\x88;p\xbcB\
+\x00\x00\x01\x97\x0a\xfc2A\
\x00\x00\x00X\x00\x02\x00\x00\x00\x03\x00\x00\x00\x11\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x02f\x00\x00\x00\x00\x00\x01\x00\x02\xda\x14\
-\x00\x00\x01\x88;p\xbcJ\
+\x00\x00\x01\x97\x0a\xfc2D\
\x00\x00\x028\x00\x00\x00\x00\x00\x01\x00\x02\xc4\x17\
-\x00\x00\x01\x88;p\xbcI\
+\x00\x00\x01\x97\x0a\xfc2D\
\x00\x00\x02N\x00\x00\x00\x00\x00\x01\x00\x02\xcdt\
-\x00\x00\x01\x88;p\xbcI\
+\x00\x00\x01\x97\x0a\xfc2D\
\x00\x00\x00X\x00\x02\x00\x00\x00\x08\x00\x00\x00\x15\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x01\x1c\x00\x00\x00\x00\x00\x01\x00\x01P\xb1\
-\x00\x00\x01\x88;p\xbcJ\
+\x00\x00\x01\x97\x0a\xfc2D\
\x00\x00\x012\x00\x00\x00\x00\x00\x01\x00\x01yY\
-\x00\x00\x01\x97~\xfd]]\
+\x00\x00\x01\x97\x85\xbab\x1e\
\x00\x00\x01V\x00\x00\x00\x00\x00\x01\x00\x01\x9d\x9a\
-\x00\x00\x01\x88;p\xbcI\
+\x00\x00\x01\x97\x0a\xfc2D\
\x00\x00\x01\xb8\x00\x00\x00\x00\x00\x01\x00\x01\xf6n\
-\x00\x00\x01\x94\xb4\xd4\xf0a\
+\x00\x00\x01\x97\x0a\xfc2D\
\x00\x00\x01\x9e\x00\x00\x00\x00\x00\x01\x00\x01\xb1'\
-\x00\x00\x01\x88;p\xbcH\
+\x00\x00\x01\x97\x0a\xfc2C\
\x00\x00\x01\x04\x00\x00\x00\x00\x00\x01\x00\x01LR\
-\x00\x00\x01\x88;p\xbcF\
+\x00\x00\x01\x97\x0a\xfc2B\
\x00\x00\x00\xe8\x00\x00\x00\x00\x00\x01\x00\x01?\xe9\
-\x00\x00\x01\x88;p\xbcH\
+\x00\x00\x01\x97\x0a\xfc2C\
\x00\x00\x01x\x00\x00\x00\x00\x00\x01\x00\x01\xa6\xf1\
-\x00\x00\x01\x88;p\xbcH\
+\x00\x00\x01\x97\x0a\xfc2C\
\x00\x00\x00X\x00\x02\x00\x00\x00\x01\x00\x00\x00\x1e\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00h\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
-\x00\x00\x01\x88;p\xbcH\
+\x00\x00\x01\x97\x0a\xfc2C\
"
def qInitResources():
diff --git a/kindlecomicconverter/KCC_ui.py b/kindlecomicconverter/KCC_ui.py
index c7bab25..033cdd6 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(519, 572)
+ mainWindow.resize(566, 573)
icon = QIcon()
icon.addFile(u":/Icon/icons/comic2ebook.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
mainWindow.setWindowIcon(icon)
@@ -90,63 +90,74 @@ class Ui_mainWindow(object):
self.gridLayout_4 = QGridLayout(self.buttonWidget)
self.gridLayout_4.setObjectName(u"gridLayout_4")
self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
- self.directoryButton = QPushButton(self.buttonWidget)
- self.directoryButton.setObjectName(u"directoryButton")
- self.directoryButton.setMinimumSize(QSize(0, 30))
- icon4 = QIcon()
- icon4.addFile(u":/Other/icons/folder_new.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
- self.directoryButton.setIcon(icon4)
-
- self.gridLayout_4.addWidget(self.directoryButton, 0, 0, 1, 1)
-
- self.fileButton = QPushButton(self.buttonWidget)
- self.fileButton.setObjectName(u"fileButton")
- self.fileButton.setMinimumSize(QSize(0, 30))
- icon5 = QIcon()
- icon5.addFile(u":/Other/icons/document_new.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
- self.fileButton.setIcon(icon5)
-
- self.gridLayout_4.addWidget(self.fileButton, 0, 3, 1, 1)
-
- self.deviceBox = QComboBox(self.buttonWidget)
- self.deviceBox.setObjectName(u"deviceBox")
- self.deviceBox.setMinimumSize(QSize(0, 28))
-
- self.gridLayout_4.addWidget(self.deviceBox, 1, 0, 1, 1)
-
- self.formatBox = QComboBox(self.buttonWidget)
- self.formatBox.setObjectName(u"formatBox")
- self.formatBox.setMinimumSize(QSize(0, 28))
-
- self.gridLayout_4.addWidget(self.formatBox, 1, 3, 1, 1)
-
self.convertButton = QPushButton(self.buttonWidget)
self.convertButton.setObjectName(u"convertButton")
self.convertButton.setMinimumSize(QSize(0, 30))
font = QFont()
font.setBold(True)
self.convertButton.setFont(font)
- icon6 = QIcon()
- icon6.addFile(u":/Other/icons/convert.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
- self.convertButton.setIcon(icon6)
+ icon4 = QIcon()
+ icon4.addFile(u":/Other/icons/convert.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
+ self.convertButton.setIcon(icon4)
- self.gridLayout_4.addWidget(self.convertButton, 1, 2, 1, 1)
+ self.gridLayout_4.addWidget(self.convertButton, 1, 3, 1, 1)
self.clearButton = QPushButton(self.buttonWidget)
self.clearButton.setObjectName(u"clearButton")
self.clearButton.setMinimumSize(QSize(0, 30))
+ icon5 = QIcon()
+ icon5.addFile(u":/Other/icons/clear.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
+ self.clearButton.setIcon(icon5)
+
+ self.gridLayout_4.addWidget(self.clearButton, 0, 3, 1, 1)
+
+ self.deviceBox = QComboBox(self.buttonWidget)
+ self.deviceBox.setObjectName(u"deviceBox")
+ self.deviceBox.setMinimumSize(QSize(0, 28))
+
+ self.gridLayout_4.addWidget(self.deviceBox, 1, 1, 1, 1)
+
+ self.fileButton = QPushButton(self.buttonWidget)
+ self.fileButton.setObjectName(u"fileButton")
+ self.fileButton.setMinimumSize(QSize(0, 30))
+ icon6 = QIcon()
+ icon6.addFile(u":/Other/icons/document_new.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
+ self.fileButton.setIcon(icon6)
+
+ self.gridLayout_4.addWidget(self.fileButton, 0, 1, 1, 1)
+
+ self.defaultOutputFolderButton = QPushButton(self.buttonWidget)
+ self.defaultOutputFolderButton.setObjectName(u"defaultOutputFolderButton")
+ self.defaultOutputFolderButton.setMinimumSize(QSize(0, 30))
icon7 = QIcon()
- icon7.addFile(u":/Other/icons/clear.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
- self.clearButton.setIcon(icon7)
+ icon7.addFile(u":/Other/icons/folder_new.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
+ self.defaultOutputFolderButton.setIcon(icon7)
- self.gridLayout_4.addWidget(self.clearButton, 0, 2, 1, 1)
+ self.gridLayout_4.addWidget(self.defaultOutputFolderButton, 0, 5, 1, 1)
+
+ self.defaultOutputFolderBox = QCheckBox(self.buttonWidget)
+ self.defaultOutputFolderBox.setObjectName(u"defaultOutputFolderBox")
+ sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
+ sizePolicy1.setHorizontalStretch(0)
+ sizePolicy1.setVerticalStretch(0)
+ sizePolicy1.setHeightForWidth(self.defaultOutputFolderBox.sizePolicy().hasHeightForWidth())
+ self.defaultOutputFolderBox.setSizePolicy(sizePolicy1)
+
+ self.gridLayout_4.addWidget(self.defaultOutputFolderBox, 0, 4, 1, 1)
+
+ self.formatBox = QComboBox(self.buttonWidget)
+ self.formatBox.setObjectName(u"formatBox")
+ self.formatBox.setMinimumSize(QSize(0, 28))
+
+ self.gridLayout_4.addWidget(self.formatBox, 1, 4, 1, 2)
- self.directoryButton.raise_()
self.clearButton.raise_()
- self.fileButton.raise_()
self.deviceBox.raise_()
self.convertButton.raise_()
self.formatBox.raise_()
+ self.defaultOutputFolderButton.raise_()
+ self.fileButton.raise_()
+ self.defaultOutputFolderBox.raise_()
self.gridLayout.addWidget(self.buttonWidget, 3, 0, 1, 2)
@@ -167,11 +178,11 @@ class Ui_mainWindow(object):
self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
self.hLabel = QLabel(self.customWidget)
self.hLabel.setObjectName(u"hLabel")
- sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred)
- sizePolicy1.setHorizontalStretch(0)
- sizePolicy1.setVerticalStretch(0)
- sizePolicy1.setHeightForWidth(self.hLabel.sizePolicy().hasHeightForWidth())
- self.hLabel.setSizePolicy(sizePolicy1)
+ sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred)
+ sizePolicy2.setHorizontalStretch(0)
+ sizePolicy2.setVerticalStretch(0)
+ sizePolicy2.setHeightForWidth(self.hLabel.sizePolicy().hasHeightForWidth())
+ self.hLabel.setSizePolicy(sizePolicy2)
self.gridLayout_3.addWidget(self.hLabel, 0, 2, 1, 1)
@@ -183,8 +194,8 @@ class Ui_mainWindow(object):
self.wLabel = QLabel(self.customWidget)
self.wLabel.setObjectName(u"wLabel")
- sizePolicy1.setHeightForWidth(self.wLabel.sizePolicy().hasHeightForWidth())
- self.wLabel.setSizePolicy(sizePolicy1)
+ sizePolicy2.setHeightForWidth(self.wLabel.sizePolicy().hasHeightForWidth())
+ self.wLabel.setSizePolicy(sizePolicy2)
self.gridLayout_3.addWidget(self.wLabel, 0, 0, 1, 1)
@@ -223,11 +234,8 @@ class Ui_mainWindow(object):
self.preserveMarginBox = QSpinBox(self.croppingWidget)
self.preserveMarginBox.setObjectName(u"preserveMarginBox")
- sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
- sizePolicy2.setHorizontalStretch(0)
- sizePolicy2.setVerticalStretch(0)
- sizePolicy2.setHeightForWidth(self.preserveMarginBox.sizePolicy().hasHeightForWidth())
- self.preserveMarginBox.setSizePolicy(sizePolicy2)
+ sizePolicy1.setHeightForWidth(self.preserveMarginBox.sizePolicy().hasHeightForWidth())
+ self.preserveMarginBox.setSizePolicy(sizePolicy1)
self.preserveMarginBox.setMaximum(99)
self.preserveMarginBox.setSingleStep(5)
self.preserveMarginBox.setValue(0)
@@ -434,9 +442,7 @@ class Ui_mainWindow(object):
self.statusBar.setSizeGripEnabled(False)
mainWindow.setStatusBar(self.statusBar)
QWidget.setTabOrder(self.convertButton, self.clearButton)
- QWidget.setTabOrder(self.clearButton, self.directoryButton)
- QWidget.setTabOrder(self.directoryButton, self.fileButton)
- QWidget.setTabOrder(self.fileButton, self.deviceBox)
+ QWidget.setTabOrder(self.clearButton, self.deviceBox)
QWidget.setTabOrder(self.deviceBox, self.formatBox)
QWidget.setTabOrder(self.formatBox, self.mangaBox)
QWidget.setTabOrder(self.mangaBox, self.rotateBox)
@@ -479,24 +485,28 @@ class Ui_mainWindow(object):
self.kofiButton.setText(QCoreApplication.translate("mainWindow", u"Support me on Ko-fi", None))
self.wikiButton.setText(QCoreApplication.translate("mainWindow", u"Wiki", None))
#if QT_CONFIG(tooltip)
- self.directoryButton.setToolTip(QCoreApplication.translate("mainWindow", u"
Add directory containing JPG, PNG or GIF files to queue.
CBR, CBZ and CB7 files inside will not be processed!
", None))
+ self.convertButton.setToolTip(QCoreApplication.translate("mainWindow", u" Shift+Click to select the output directory for this list.
", None))
+#endif // QT_CONFIG(tooltip)
+ self.convertButton.setText(QCoreApplication.translate("mainWindow", u"Convert", None))
+ self.clearButton.setText(QCoreApplication.translate("mainWindow", u"Clear list", None))
+#if QT_CONFIG(tooltip)
+ self.deviceBox.setToolTip(QCoreApplication.translate("mainWindow", u"Target device.
", None))
#endif // QT_CONFIG(tooltip)
- self.directoryButton.setText(QCoreApplication.translate("mainWindow", u"Add image folder", None))
#if QT_CONFIG(tooltip)
self.fileButton.setToolTip(QCoreApplication.translate("mainWindow", u" Add CBR, CBZ, CB7 or PDF file to queue.
", None))
#endif // QT_CONFIG(tooltip)
self.fileButton.setText(QCoreApplication.translate("mainWindow", u"Add file(s)", None))
#if QT_CONFIG(tooltip)
- self.deviceBox.setToolTip(QCoreApplication.translate("mainWindow", u"
Target device.
", None))
+ self.defaultOutputFolderButton.setToolTip(QCoreApplication.translate("mainWindow", u"Use this to select the default output directory.
", None))
#endif // QT_CONFIG(tooltip)
+ self.defaultOutputFolderButton.setText(QCoreApplication.translate("mainWindow", u"Default Output Folder", None))
+#if QT_CONFIG(tooltip)
+ self.defaultOutputFolderBox.setToolTip(QCoreApplication.translate("mainWindow", u"Click to enable custom directory.
", None))
+#endif // QT_CONFIG(tooltip)
+ self.defaultOutputFolderBox.setText("")
#if QT_CONFIG(tooltip)
self.formatBox.setToolTip(QCoreApplication.translate("mainWindow", u"Output format.
", None))
#endif // QT_CONFIG(tooltip)
-#if QT_CONFIG(tooltip)
- self.convertButton.setToolTip(QCoreApplication.translate("mainWindow", u"Shift+Click to select the output directory.
", None))
-#endif // QT_CONFIG(tooltip)
- self.convertButton.setText(QCoreApplication.translate("mainWindow", u"Convert", None))
- self.clearButton.setText(QCoreApplication.translate("mainWindow", u"Clear list", None))
#if QT_CONFIG(tooltip)
self.hLabel.setToolTip(QCoreApplication.translate("mainWindow", u"Resolution of the target device.
", None))
#endif // QT_CONFIG(tooltip)