2094 |
2094 |
2095 def __initPySideDocAction(self): |
2095 def __initPySideDocAction(self): |
2096 """ |
2096 """ |
2097 Private slot to initialize the action to show the PySide documentation. |
2097 Private slot to initialize the action to show the PySide documentation. |
2098 """ |
2098 """ |
2099 if Utilities.checkPyside(): |
2099 pyside2, pyside3 = Utilities.checkPyside() |
|
2100 if pyside2 or pyside3: |
2100 self.pysideDocAct = E5Action(self.trUtf8('PySide Documentation'), |
2101 self.pysideDocAct = E5Action(self.trUtf8('PySide Documentation'), |
2101 self.trUtf8('Py&Side Documentation'), 0, 0, self, 'pyside_documentation') |
2102 self.trUtf8('Py&Side Documentation'), 0, 0, self, 'pyside_documentation') |
2102 self.pysideDocAct.setStatusTip(self.trUtf8('Open PySide Documentation')) |
2103 self.pysideDocAct.setStatusTip(self.trUtf8('Open PySide Documentation')) |
2103 self.pysideDocAct.setWhatsThis(self.trUtf8( |
2104 self.pysideDocAct.setWhatsThis(self.trUtf8( |
2104 """<b>PySide Documentation</b>""" |
2105 """<b>PySide Documentation</b>""" |