(self, currentIndex=None, retObj=False)
| 3528 | return self.ui.textEditInboxMessage |
| 3529 | |
| 3530 | def getCurrentSearchLine(self, currentIndex=None, retObj=False): |
| 3531 | if currentIndex is None: |
| 3532 | currentIndex = self.ui.tabWidget.currentIndex() |
| 3533 | messagelistList = [ |
| 3534 | self.ui.inboxSearchLineEdit, |
| 3535 | False, |
| 3536 | self.ui.inboxSearchLineEditSubscriptions, |
| 3537 | self.ui.inboxSearchLineEditChans, |
| 3538 | ] |
| 3539 | if currentIndex >= 0 and currentIndex < len(messagelistList): |
| 3540 | if retObj: |
| 3541 | return messagelistList[currentIndex] |
| 3542 | else: |
| 3543 | return messagelistList[currentIndex].text().toUtf8().data() |
| 3544 | else: |
| 3545 | return None |
| 3546 | |
| 3547 | def getCurrentSearchOption(self, currentIndex=None): |
| 3548 | if currentIndex is None: |
no test coverage detected