E5Gui/E5SideBar.py

changeset 4993
ebb8eaa326ba
parent 4631
5c1a96925da4
child 5389
9b1c800daff3
equal deleted inserted replaced
4990:2bca10fcfe80 4993:ebb8eaa326ba
94 orientation = E5SideBar.North 94 orientation = E5SideBar.North
95 self.setOrientation(orientation) 95 self.setOrientation(orientation)
96 96
97 self.__tabBar.currentChanged[int].connect( 97 self.__tabBar.currentChanged[int].connect(
98 self.__stackedWidget.setCurrentIndex) 98 self.__stackedWidget.setCurrentIndex)
99 e5App().focusChanged[QWidget, QWidget].connect(self.__appFocusChanged) 99 e5App().focusChanged.connect(self.__appFocusChanged)
100 self.__autoHideButton.toggled[bool].connect(self.__autoHideToggled) 100 self.__autoHideButton.toggled[bool].connect(self.__autoHideToggled)
101 101
102 def setSplitter(self, splitter): 102 def setSplitter(self, splitter):
103 """ 103 """
104 Public method to set the splitter managing the sidebar. 104 Public method to set the splitter managing the sidebar.
687 687
688 This method does some preparations so the object can be deleted 688 This method does some preparations so the object can be deleted
689 properly. It disconnects from the focusChanged signal in order to 689 properly. It disconnects from the focusChanged signal in order to
690 avoid trouble later on. 690 avoid trouble later on.
691 """ 691 """
692 e5App().focusChanged[QWidget, QWidget].disconnect( 692 e5App().focusChanged.disconnect(self.__appFocusChanged)
693 self.__appFocusChanged)

eric ide

mercurial