Tools/TRPreviewer.py

changeset 8
0ae9bd4d2993
parent 7
c679fb30c8f3
child 12
1d8dd9706f46
equal deleted inserted replaced
7:c679fb30c8f3 8:0ae9bd4d2993
835 """ 835 """
836 Public method to handle the toggle of a window. 836 Public method to handle the toggle of a window.
837 837
838 @param act reference to the action that triggered (QAction) 838 @param act reference to the action that triggered (QAction)
839 """ 839 """
840 idx, ok = act.data() 840 idx = act.data()
841 if ok: 841 self.__toggleWidget(self.widgets[idx])
842 self.__toggleWidget(self.widgets[idx])
843 842
844 def __toggleWidget(self, w): 843 def __toggleWidget(self, w):
845 """ 844 """
846 Private method to toggle a workspace window. 845 Private method to toggle a workspace window.
847 846

eric ide

mercurial