Skip to main content

PyQt highlight completer

Project description

pyqt-highlight-completer

PyQt highlight completer

Requirements

  • PyQt5 >= 5.8

Setup

python -m pip install pyqt-highlight-completer

Note

This package mainly consist of QLineEdit and QTableWidget. QCompleter is not even used.

Example

Code Sample

from PyQt5.QtWidgets import QApplication

from pyqt_highlight_completer import HighlightCompleter



if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    mainWindow = HighlightCompleter()

    mainWindow.show()

    mainWindow.addTexts('Alberic Litte,Angalmo,Antus Odiil,Ariela Doran,Arriana Valga,Athragar,Bittneld the Curse-Bringer,Carmen Litte,Casta Scribonia,Chanel,Chorrol Jailor,Chorrol Soldier,City Watch,Dar-Ma,Earana,Emfrid,Estelle Renoit,Eugal Belette,Fighters Guild Porter,Francois Motierre,Gaturn gro-Gonk,Glistel,Gureryne Selvilo,Honditar,Jirolin Doran,Kurz gro-Baroth,Laythe Wavrick,Lazy Kaslowyn,Lum gro-Baroth,Malintus Ancrus,Modryn Oreyn,Nardhil,Nermus the Mooch,Orag gra-Bargol,Orgnolf Hairy-Legs,Orok gro-Ghoth,Otius Loran,Rallus Odiil,Rasheda,Rena Bruiant,Reynald Jemane,Rimalus Bruiant,Seed-Neeus,Talasma,Teekeeus,Valus Odiil,Vilena Donton,Wallace'.split(

        ','))

    app.exec_()

Result

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt-highlight-completer-0.0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pyqt_highlight_completer-0.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page