106 self.__closeButton.hide() |
106 self.__closeButton.hide() |
107 |
107 |
108 self.setCornerWidget(self.__rightCornerWidget, Qt.TopRightCorner) |
108 self.setCornerWidget(self.__rightCornerWidget, Qt.TopRightCorner) |
109 |
109 |
110 self.__newTabButton = QToolButton(self) |
110 self.__newTabButton = QToolButton(self) |
111 self.__newTabButton.setIcon(UI.PixmapCache.getIcon("tabNew.png")) |
111 self.__newTabButton.setIcon(UI.PixmapCache.getIcon("plus.png")) |
112 self.__newTabButton.setToolTip(self.trUtf8("Open a new help window tab")) |
112 self.__newTabButton.setToolTip(self.trUtf8("Open a new help window tab")) |
113 self.setCornerWidget(self.__newTabButton, Qt.TopLeftCorner) |
113 self.setCornerWidget(self.__newTabButton, Qt.TopLeftCorner) |
114 self.__newTabButton.clicked[bool].connect(self.newBrowser) |
114 self.__newTabButton.clicked[bool].connect(self.newBrowser) |
115 |
115 |
116 self.__initTabContextMenu() |
116 self.__initTabContextMenu() |