pyqt-instant-search-bar
PyQt(+PySide) instant search bar.
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-instant-search-bar
Included Packages
Methods/Signal Overview
Set the visibility of search icon. You can set the text with this function too.
Set the icon. icon should be svg file.
-
setPlaceHolder(text: str) -
getSearchBar() -
getSearchLabel() -
searched(text: str)signal to get the text which is written in the search bar. See the example below.
Preview
Code Sample
from PyQt5.QtWidgets import QApplication
from pyqt_instant_search_bar import InstantSearchBar
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
searchBar = InstantSearchBar()
searchBar.searched.connect(print) # print the written text
searchBar.show()
app.exec_()
Result
See Also
-
pyqt-search-bar-menu - QMenu which has search bar as a first item to help you search the menu items.
-
pyqt-search-bar - This supports search button. (click to search, not instant search)
-
pyqt-database-example - Search the sql database table(using QSqlTableModel) with instant search bar.
Metadata
Release files for pyqt-instant-search-bar 0.0.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyqt-instant-search-bar-0.0.18.tar.gz | 4.2 kB | Without provenance | Details for pyqt-instant-search-bar-0.0.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyqt_instant_search_bar-0.0.18-py3-none-any.whl | Python 3 | none | any | Details for pyqt_instant_search_bar-0.0.18-py3-none-any.whl |
Total release size: 10.2 kB
Release files / pyqt-instant-search-bar-0.0.18.tar.gz
| Download URL | pyqt-instant-search-bar-0.0.18.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d08f28e352733cc08c06fe5fa36bfc9e9188340ada33777ffe42c2c1c4824cc0
|
|
BLAKE2b-256 checksum How to use checksums |
399d0be61c04010bdac27562e7aa0a633ad3ba2475e468d8920e8b3a5f46ebfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Release files / pyqt_instant_search_bar-0.0.18-py3-none-any.whl
| Download URL | pyqt_instant_search_bar-0.0.18-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7682e921f58395bd336b3fa58a14d554347cabbe4175e22374ad1b021237b928
|
|
BLAKE2b-256 checksum How to use checksums |
fdf28e25118b39cd543032e9383b26230f5bd993326d553e4cdc6210d606c591
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Security for pyqt-instant-search-bar 0.0.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.