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

Method lightmode

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

Source from the content-addressed store, hash-verified

793 self.create_toolbar()
794
795 def lightmode(self):
796 from qdarkstyle.light.palette import LightPalette
797
798 style = qdarkstyle.load_stylesheet(palette=LightPalette)
799 self.app.setStyleSheet(style)
800
801 names = ["new_project.png", "open.png", "help.png"]
802 self.remove_action()
803 self.create_actions(names)
804 self.create_toolbar()
805 self.update_menu_bar()
806
807 def add_tabs(self):
808 self.tab_widget = QtWidgets.QTabWidget()

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected