Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
pyqt-svg-icon-text-widget
Advanced tools
PyQt widget consists of svg icon label and text label side by side
PyQt widget consists of textless QLabel which has svg image as an icon on the left and text included QLabel on the right.
This module is useful to set the icon included title bar.
python -m pip install pyqt-svg-icon-text-widget
setSvgFile(filename: str)
to set svg file
setText(text: str)
to set text
Svg icon QLabel
's maximum height is set according to text included QLabel
's font height.
Code Sample
from PyQt5.QtWidgets import QApplication
from pyqt_svg_icon_text_widget import SvgIconTextWidget
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
ex = SvgIconTextWidget()
ex.setSvgFile('ico/dark-notepad.svg')
ex.setText('Dark Notepad')
ex.show()
sys.exit(app.exec_())
Result
FAQs
PyQt widget consists of svg icon label and text label side by side
We found that pyqt-svg-icon-text-widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.