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.
This is a Widget that I made on my own to start practicing my knowledge of pythhon and PyQt, it will show in the code itself and in the documentation and notes that I am newbie on this.
This is a preview of the Widget with its default Text, The text in this widget moves automatically if the text is larger than the Widget itself.
To initialize the Widget you will need to instantiate the QAutoScrollLabel class, which has two optional arguments which are parent of type QWidget and debug of type Boolean;
after this the show()
function must be called.
The function debug must be used to set or change the debug status, it acepts an optional boolean parameter.
If True: The widget will start printing the following data every tick: debug(True)
If False debug(False)
The widget will stop printing debug info.
If None or no parametr given debug(None)
or debug()
The debug status will be inverted (False -> True or True -> False)
The function setDebug()
will let you set a custom calleable object to use as widget debug, this function requieres a calleable object in the parameter debug_fun, please use
this function before the function show()
The debugStatus
property returns a boolean value depending on the current state of debbuging.
The setTimeBetweenTicks()
function will allow you to configure the pixels that the scroll bar will scroll each Tick, this function requires a parameter of type Int
The setVelocity()
function will allow you to configure the time between each Tick, this function requires a parameter of type Float or Int
The velocity
property returns the pixels that the scroll bar will scroll each Tick.
The orientation
property returns the Current orientation of the text.
The timeBetweenTicks
property returns the time between each Tick.
The funtion setText()
set a new text in the Widget, this function requires a parameter of type Str.
The function text()
retuns the current text in the Widget
FAQs
Auto scroll label for PyQt6
We found that QAutoScrollLabel 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.