pyqt-tooltip-list-widget
PyQt QListWidget which shows text as tooltip longer than widget's size
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-tooltip-list-widget
Example
Code Sample
from PyQt5.QtWidgets import QWidget, QGridLayout, QApplication
from pyqt_tooltip_list_widget import ToolTipListWidget
class Widget(QWidget):
def __init__(self):
super().__init__()
self.__initUi()
def __initUi(self):
self.__listWidget = ToolTipListWidget()
self.__listWidget.addItem(
'Note: The selection rectangle will only be visible if the selection mode is in a mode where more than one item can be selected; i.e., it will not draw a selection rectangle if the selection mode is QAbstractItemView::SingleSelection.')
self.__listWidget.addItem('B')
self.__listWidget.addItem('C')
lay = QGridLayout()
lay.addWidget(self.__listWidget)
lay.setContentsMargins(0, 0, 0, 0)
self.setLayout(lay)
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
example = Widget()
example.show()
app.exec_()
Result
Metadata
Release files for pyqt-tooltip-list-widget 0.0.1
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 | |
|---|---|---|---|---|
| pyqt-tooltip-list-widget-0.0.1.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyqt_tooltip_list_widget-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.3 kB
Release files / pyqt-tooltip-list-widget-0.0.1.tar.gz
| Download URL | pyqt-tooltip-list-widget-0.0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83b722abbd6b55ed233b49efa486146dc79fcc7bec51ca5f713aa6bdc21edbd1
|
|
BLAKE2b-256 checksum How to use checksums |
614e795fdb2caafb72ca54532c9ee9270f685c6818db1207563e1b1515b34360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Release files / pyqt_tooltip_list_widget-0.0.1-py3-none-any.whl
| Download URL | pyqt_tooltip_list_widget-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70ce4c11058e39b051a9ecde93cdbaf9dc8a95642ccdd0051a483b1cd1c473e0
|
|
BLAKE2b-256 checksum How to use checksums |
f6d32d138a78bc222cb5f13adabf2ba5ef783767e0ad96a5a826055ea83369f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Security for pyqt-tooltip-list-widget 0.0.1
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.