MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / darkmode

Method darkmode

deeplabcut/gui/window.py:785–793  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

783 print(f'Project "{self.cfg["Task"]}" successfully loaded.')
784
785 def darkmode(self):
786 dark_stylesheet = qdarkstyle.load_stylesheet_pyside2()
787 self.app.setStyleSheet(dark_stylesheet)
788
789 names = ["new_project2.png", "open2.png", "help2.png"]
790 self.remove_action()
791 self.create_actions(names)
792 self.update_menu_bar()
793 self.create_toolbar()
794
795 def lightmode(self):
796 from qdarkstyle.light.palette import LightPalette

Callers

nothing calls this directly

Calls 4

remove_actionMethod · 0.95
create_actionsMethod · 0.95
update_menu_barMethod · 0.95
create_toolbarMethod · 0.95

Tested by

no test coverage detected