Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-highlight-completer
PyQt highlight completer
https://github.com/yjg30737/pyqt-highlight-completer
completer highlightcompleter pyqt pyqt-examples pyqt-qcompleter pyqt-qtablewidget pyqt-tutorial pyqt5 pyqt5-examples pyqt5-qcompleter pyqt5-qtablewidget pyqt5-tutorial python python3 python37 qcompleter qt qtablewidget
Last synced: about 1 month ago
JSON representation
PyQt highlight completer
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-highlight-completer
- Owner: yjg30737
- License: mit
- Created: 2021-12-17T01:17:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T06:01:03.000Z (over 1 year ago)
- Last Synced: 2024-12-27T05:30:13.322Z (about 2 months ago)
- Topics: completer, highlightcompleter, pyqt, pyqt-examples, pyqt-qcompleter, pyqt-qtablewidget, pyqt-tutorial, pyqt5, pyqt5-examples, pyqt5-qcompleter, pyqt5-qtablewidget, pyqt5-tutorial, python, python3, python37, qcompleter, qt, qtablewidget
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.This is case-insensitive, searching for text anywhere.
## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplication
from pyqt_highlight_completer import HighlightCompleterif __name__ == "__main__":
import sysapp = 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](https://user-images.githubusercontent.com/55078043/146474104-44a42dc3-0b80-49d5-9571-dec2f83e3b47.png)