E5Gui/E5ToolBarManager.py

changeset 2953
703452a2876f
parent 2763
e4794166ad70
child 2990
583beaf0b4b8
equal deleted inserted replaced
2952:94fc661a54a2 2953:703452a2876f
286 def isDefaultToolBar(self, toolBar): 286 def isDefaultToolBar(self, toolBar):
287 """ 287 """
288 Public method to check, if a toolbar was added with addToolBar(). 288 Public method to check, if a toolbar was added with addToolBar().
289 289
290 @param toolBar reference to the toolbar to be checked (QToolBar) 290 @param toolBar reference to the toolbar to be checked (QToolBar)
291 @return flag indicating an added toolbar (boolean)
291 """ 292 """
292 return toolBar is not None and \ 293 return toolBar is not None and \
293 id(toolBar) in self.__defaultToolBars 294 id(toolBar) in self.__defaultToolBars
294 295
295 def createToolBar(self, title, name=""): 296 def createToolBar(self, title, name=""):

eric ide

mercurial