Skip to content

Commit

Permalink
Add link-in of plotting preferences panel to infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeaucage committed Oct 26, 2022
1 parent 993c0fe commit 11b0c12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sas/qtgui/Utilities/Preferences/PreferencesPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
# `from foo.bar import BarWidget # BarWidget is a child of PreferencesWidget`
# `BASE_PANELS = {"Bar Widget Options": BarWidget}`
# PreferenceWidget Imports go here and then are added to the BASE_PANELS, but not instantiated.

from .PlottingPreferencesWidget import PlottingPreferencesWidget
# Pre-made option widgets
BASE_PANELS = {} # type: Dict[str, Type[PreferencesWidget]]
BASE_PANELS = {"Plotting Options":PlottingPreferencesWidget,
} # type: Dict[str, Type[PreferencesWidget]]

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 11b0c12

Please sign in to comment.