PyQt instant search bar
Project description
pyqt-instant-search-bar
PyQt instant search bar
This is useful to instant search feature.
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-instant-search-bar
Included Packages
Methods Overview
-
setLabel(visibility: bool = True, text=None)
Set the visibility of search icon. You can set the text with this function too.
-
setSearchIcon(icon_filename: str)
Set the icon. icon should be svg file.
-
setPlaceHolder(text: str)
-
getSearchBar()
-
getSearchLineEdit()
-
getSearchLabel()
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.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.
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
Built Distribution
Close
Hashes for pyqt-instant-search-bar-0.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d7d55668ca9b7ef99358aa513ea8a6e22e35c150c55a9cd217860b32b0ac8d |
|
MD5 | e139a0dff9aca420c6ccdf01e916b5fe |
|
BLAKE2b-256 | b0b97b7f264dacaccbd881b481323a4c717b3e35d5f91be585122e285dec7944 |
Close
Hashes for pyqt_instant_search_bar-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad25bc497ec130c57ce0e764f9fb0dee19f8a44481881383a9e9c0a6cc1ccee |
|
MD5 | 700656693f5c9cc47c49be291138d51d |
|
BLAKE2b-256 | 3184e3209d46e22ed24c73051d3cd6324668baf98bed673bbc76da6855de4766 |