diff --git a/comictaggerlib/taggerwindow.py b/comictaggerlib/taggerwindow.py index 6457ab4..573c3bf 100644 --- a/comictaggerlib/taggerwindow.py +++ b/comictaggerlib/taggerwindow.py @@ -61,7 +61,6 @@ from comictaggerlib.resulttypes import Action, IssueResult, MatchStatus, OnlineM from comictaggerlib.seriesselectionwindow import SeriesSelectionWindow from comictaggerlib.settingswindow import SettingsWindow from comictaggerlib.ui import ui_path -from comictaggerlib.ui.customwidgets import CheckableComboBox from comictaggerlib.ui.qtutils import center_window_on_parent, enable_widget, reduce_widget_font_size from comictaggerlib.versionchecker import VersionChecker from comictalker.comictalker import ComicTalker, TalkerError @@ -227,19 +226,6 @@ class TaggerWindow(QtWidgets.QMainWindow): self.save_data_styles: list[str] = config[0].internal__save_data_style self.load_data_style: str = config[0].internal__load_data_style - # Add multiselect combobox - self.cbSaveDataStyle = CheckableComboBox() - self.cbSaveDataStyle.setToolTip("At least 1 save style is required") - # Add normal combobox for read style (TODO support multiple read styles) - self.cbLoadDataStyle = QtWidgets.QComboBox() - - # Need to set minimum or source_style_formLayout will resize larger than 230px which will affect the - # file info box and cover image width underneath - self.cbLoadDataStyle.setMinimumWidth(100) - self.cbSaveDataStyle.setMinimumWidth(100) - self.source_style_formLayout.addRow("Read Style", self.cbLoadDataStyle) - self.source_style_formLayout.addRow("Modify Styles", self.cbSaveDataStyle) - self.setAcceptDrops(True) self.view_tag_actions, self.remove_tag_actions = self.tag_actions() self.config_menus() diff --git a/comictaggerlib/ui/taggerwindow.ui b/comictaggerlib/ui/taggerwindow.ui index d2929cb..4d253a3 100644 --- a/comictaggerlib/ui/taggerwindow.ui +++ b/comictaggerlib/ui/taggerwindow.ui @@ -52,7 +52,7 @@ - + QFormLayout::AllNonFixedFieldsGrow @@ -75,6 +75,26 @@ + + + + + + + + + + Read Style + + + + + + + Modify Styles + + + @@ -1441,6 +1461,13 @@ + + + CheckableComboBox + QComboBox +
comictaggerlib.ui.customwidgets
+
+