Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/y/pyqt5-HEAD/examples/tools/customcompleter/customcompleter.py   pyqt5(Download)
    def insertCompletion(self, completion):
        if self._completer.widget() is not self:
            return
 
        tc = self.textCursor()
    def textUnderCursor(self):
        tc = self.textCursor()
        tc.select(QTextCursor.WordUnderCursor)
 
        return tc.selectedText()

src/p/y/pyqt5-HEAD/examples/richtext/orderform.py   pyqt5(Download)
        self.letters.setCurrentIndex(tabIndex)
 
        cursor = editor.textCursor()
        cursor.movePosition(QTextCursor.Start)
        topFrame = cursor.currentFrame()