Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
A Qt package that lets you use web URLs as tooltips in Qt widgets.
PySide or PyQt4 with QtWebKit included.
::
pip install qwebtip
Import qwebtip's main model, qweburltip
and set it to override one of
your widget's tooltips with some URL.
The next time you build your application and hover over that widget, a URL box is displayed with that URL, instead.
.. code:: python
from qwebtip import qweburltip
url = 'http://pyqt.sourceforge.net/Docs/PyQt4/qwebframe.html' qweburltip.override_tool_tip(QtWidgets.QLabel('Some label'), url)
Setting a custom tooltip size
.. code:: python
from qwebtip import qweburltip
url = 'http://pyqt.sourceforge.net/Docs/PyQt4/qwebframe.html' qweburltip.override_tool_tip( QtWidgets.QLabel('Some label'), url, width=100, height=400, )
Opening the URL at a specific header section
.. code:: python
url = 'http://pyqt.sourceforge.net/Docs/PyQt4/qwebframe.html' qweburltip.override_tool_tip( self.line_edit, element_selector.UnknownHeaderSelector( url, 'Method Documentation', ), )
Loaded webpages are cached so that successive loads can be kept fast. To disable caching, set this environment variable.
.. code:: bash
export QWEBTIP_DISABLE_CACHING=1
This is useful for debugging but is not recommended.
FAQs
A Qt package that lets you use web URLs as tooltips in Qt widgets
We found that qwebtip 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.