300 |
300 |
301 @param toolBar reference to the toolbar to be checked (QToolBar) |
301 @param toolBar reference to the toolbar to be checked (QToolBar) |
302 @return flag indicating an added toolbar (boolean) |
302 @return flag indicating an added toolbar (boolean) |
303 """ |
303 """ |
304 return toolBar is not None and \ |
304 return toolBar is not None and \ |
305 id(toolBar) in self.__defaultToolBars |
305 id(toolBar) in self.__defaultToolBars |
306 |
306 |
307 def createToolBar(self, title, name=""): |
307 def createToolBar(self, title, name=""): |
308 """ |
308 """ |
309 Public method to create a custom toolbar. |
309 Public method to create a custom toolbar. |
310 |
310 |