pyqt-rounded-corners-lineedit
PyQt QLineEdit with rounded corners
Requirements
- PyQt5 >= 5.8
Install
python -m pip install pyqt-rounded-corners-lineedit
Included Packages
- absresgetter - To get absolute path of resource file
Detailed Description
Rounded corners, borderless line edit.
If you want to add the border, add code like below.
lineEdit.setStyleSheet(lineEdit.styleSheet() + 'QLineEdit { border: 1px solid black; }')
Example
Code Sample
from PyQt5.QtWidgets import QApplication, QGridLayout, QWidget
from pyqt_rounded_corners_lineedit import RoundedCornersLineEdit
class Widget(QWidget):
def __init__(self):
super().__init__()
self.__initUi()
def __initUi(self):
lineEdit = RoundedCornersLineEdit()
# if you want to set the border
# lineEdit.setStyleSheet(lineEdit.styleSheet() + 'QLineEdit { border: 1px solid black; }')
lay = QGridLayout()
lay.addWidget(lineEdit)
self.setLayout(lay)
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
widget = Widget()
widget.show()
app.exec_()
Result
Metadata
Release files for pyqt-rounded-corners-lineedit 0.0.11
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-rounded-corners-lineedit-0.0.11.tar.gz | 2.9 kB | Without provenance | Details for pyqt-rounded-corners-lineedit-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyqt_rounded_corners_lineedit-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for pyqt_rounded_corners_lineedit-0.0.11-py3-none-any.whl |
Total release size: 7.1 kB
Release files / pyqt-rounded-corners-lineedit-0.0.11.tar.gz
| Download URL | pyqt-rounded-corners-lineedit-0.0.11.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4287c47bf474b906e1fda30b771b82b6ad279e9dc85c82a6e9cd3c4227446a12
|
|
BLAKE2b-256 checksum How to use checksums |
3949ff7aa59f5e8435b1f5a70bc1c21f644c7304a9a77475dc94f31abd55d692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Release files / pyqt_rounded_corners_lineedit-0.0.11-py3-none-any.whl
| Download URL | pyqt_rounded_corners_lineedit-0.0.11-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0250572875179d9d22d80bea4c5d59a960160638a916790a660ca2c27625f4f3
|
|
BLAKE2b-256 checksum How to use checksums |
4e3ef1e490cca0227a18868db21649d9da31c692baf7a2b61855fe229b7e36fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Security for pyqt-rounded-corners-lineedit 0.0.11
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.