Differential D11076 Diff 29164 plugins/python/comics_project_management_tools/comics_metadata_dialog.py
Changeset View
Changeset View
Standalone View
Standalone View
plugins/python/comics_project_management_tools/comics_metadata_dialog.py
Show First 20 Lines • Show All 647 Lines • ▼ Show 20 Line(s) | 593 | def getConfig(self, config): | |||
---|---|---|---|---|---|
648 | elif "summary" in config.keys(): | 648 | elif "summary" in config.keys(): | ||
649 | config.pop("summary") | 649 | config.pop("summary") | ||
650 | if len(self.lnSeriesName.text()) > 0: | 650 | if len(self.lnSeriesName.text()) > 0: | ||
651 | config["seriesName"] = self.lnSeriesName.text() | 651 | config["seriesName"] = self.lnSeriesName.text() | ||
652 | config["seriesNumber"] = self.spnSeriesNumber.value() | 652 | config["seriesNumber"] = self.spnSeriesNumber.value() | ||
653 | if self.spnSeriesVol.value() > 0: | 653 | if self.spnSeriesVol.value() > 0: | ||
654 | config["seriesVolume"] = self.spnSeriesVol.value() | 654 | config["seriesVolume"] = self.spnSeriesVol.value() | ||
655 | config["language"] = str(self.cmbLanguage.codeForCurrentEntry()) | 655 | config["language"] = str(self.cmbLanguage.codeForCurrentEntry()) | ||
656 | if self.cmbReadingMode.currentIndex() is Qt.LeftToRight: | 656 | if self.cmbReadingMode.currentIndex() is int(Qt.LeftToRight): | ||
657 | config["readingDirection"] = "leftToRight" | 657 | config["readingDirection"] = "leftToRight" | ||
658 | else: | 658 | else: | ||
659 | config["readingDirection"] = "rightToLeft" | 659 | config["readingDirection"] = "rightToLeft" | ||
660 | authorList = [] | 660 | authorList = [] | ||
661 | for row in range(self.authorTable.verticalHeader().count()): | 661 | for row in range(self.authorTable.verticalHeader().count()): | ||
662 | logicalIndex = self.authorTable.verticalHeader().logicalIndex(row) | 662 | logicalIndex = self.authorTable.verticalHeader().logicalIndex(row) | ||
663 | listEntries = ["nickname", "first-name", "initials", "last-name", "role", "email", "homepage", "language"] | 663 | listEntries = ["nickname", "first-name", "initials", "last-name", "role", "email", "homepage", "language"] | ||
664 | author = {} | 664 | author = {} | ||
Show All 27 Lines |