
Research
wget to Wipeout: Malicious Go Modules Fetch Destructive Payload
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
PySide6-Fluent-Widgets-TextInputDialog
Advanced tools
It provides a simple way to create text input dialogs.
TextInputDialog is a library for creating text input dialogs based on PySide6-Fluent-Widgets. It provides a simple way to create text input dialogs.
from qfluentwidgets_textinputdialog import TextInputDialog
# Set the language (default is English)
TextInputDialog.setLanguage(TextInputDialog.Language.ENGLISH)
# Get the text input
text, success = TextInputDialog.getText(parent, title=..., placeholder=..., yesButton=..., noButton=..., mode=...)
parent
: The parent widget.
title
: The title of the dialog (optional, default is "Please enter").
placeholder
: The placeholder text for the input field (optional).
yesButton
: The text for the confirm button (optional, default is "Confirm").
noButton
: The text for the cancel button (optional, default is "Cancel").
mode
: The input mode (optional, default is LINEEDIT, can be LINEEDIT or TEXTEDIT).
from PySide6.QtWidgets import QApplication, QMainWindow, QPushButton
from qfluentwidgets_textinputdialog import TextInputDialog
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("TextInputDialog Example")
self.setGeometry(100, 100, 500, 500)
button = QPushButton("Open Dialog", self)
button.setGeometry(100, 100, 200, 50)
button.clicked.connect(self.open_dialog)
def open_dialog(self):
text, success = TextInputDialog.getText(self, title="Please enter your name", placeholder="Enter your name", yesButton="OK", noButton="Cancel")
if success:
print("Your name is:", text)
app = QApplication([])
window = MainWindow()
window.show()
app.exec()
Current version: 0.0.2
FAQs
It provides a simple way to create text input dialogs.
We found that PySide6-Fluent-Widgets-TextInputDialog 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
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.