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