@botsgram_cu · Post #3193 · 27.11.2020 г., 10:54
@TextTSBot Qué puede hacer este bot? Este convierte un texto a voz. Puedes seleccionar el idioma, el tipo de voz y el sexo Idioma: Inglés (visto en @BotsGram.cu) #command
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #380 · 21 окт.
Регулярно приходится писать и ревьюить код, где используется PySide2-6. Заметил, что в подавляющем большинстве случаев настройка создаваемых базовых виджетов происходит через методы. Думаю, всем знаком такой способ. Простой пример с кнопкой: button = QPushButton("Click Me") button.setMinimumWidth(300) button.setFlat(True) button.setStyleSheet("font-size: 20pt") button.setToolTip("Super Button") button.clicked.connect(lambda: print("Button clicked")) Но есть и альтернативный способ - настройка через свойства. Это просто ключевые аргументы конструктора класса. Хоть они и не указаны в документации как аргументы, но они есть) Этот код делает тоже самое но с помощью Property button = QPushButton( "Click Me", minimumWidth=300, flat=True, styleSheet="font-size: 20pt", toolTip="Super Button", clicked=lambda: print("Button clicked"), ) Где это может быть полезно ▫️ Это выглядит более аккуратно и коротко, уже повод использовать ▫️ Может использоваться в заполнении лейаута, когда нам не нужно никакое другое взаимодействие с виджетом и поэтому сохранять его в переменную не требуется. Например, лейбл или кнопка. widget = QWidget(minimumWidth=400) layout = QHBoxLayout(widget) layout.addWidget(QLabel("Button >", alignment=Qt.AlignRight)) layout.addWidget(QPushButton("Click Me", clicked=lambda: print("Button clicked"))) widget.show() Либо так widget = QWidget(minimumWidth=400) layout = QHBoxLayout(widget) for wd in ( QLabel("Button >", alignment=Qt.AlignRight), QPushButton("Click Me", clicked=lambda: ...) ): layout.addWidget(wd) widget.show() ▫️ Можно хранить настройки в каком-то конфиге или генерировать на лету, после чего передавать как kwargs. kwargs = {"text": "Hello " * 30, "wordWrap": True} my_label = QLabel(**kwargs) Как получить полный список доступных свойств? Эта функция распечатает в терминал все свойства виджета и их текущие значения def print_widget_properties(widget): meta_object = widget.metaObject() for i in range(meta_object.propertyCount()): property_ = meta_object.property(i) property_name = property_.name() property_value = property_.read(widget) print(f"{property_name}: {property_value}") #tricks#qt
Пребарај: #command
@botsgram_cu · Post #3193 · 27.11.2020 г., 10:54
@TextTSBot Qué puede hacer este bot? Este convierte un texto a voz. Puedes seleccionar el idioma, el tipo de voz y el sexo Idioma: Inglés (visto en @BotsGram.cu) #command
Hashtags
@githubredteam · Post #84120 · 13.05.2026 г., 19:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:docs-atlas-c2fca190 👤项目作者:mintlify-atlas 🛠开发语言: MDX ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-05-13 19:01:51 📝项目描述: 无描述 🔗点击访问项目地址
@githubredteam · Post #83601 · 10.05.2026 г., 04:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2i 👤项目作者:Open-Technology-Foundation 🛠开发语言: Shell ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-05-10 04:00:54 📝项目描述: A lightweight utility for saving clipboard PNG images to files with timestamp. 🔗点击访问项目地址
@githubredteam · Post #83404 · 08.05.2026 г., 19:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:C2export 👤项目作者:rericha19 🛠开发语言: C++ ⭐Star数量: 11 | 🍴Fork数量: 2 📅更新时间: 2026-05-08 19:02:59 📝项目描述: Crash 2 level (re)builder and multipurpose tool 🔗点击访问项目地址
@GithubRedTeam · Post #80525 · 16.04.2026 г., 09:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:3f2c7fac-647f-4aba-864e-c28b35707023 👤项目作者:dgurfein 🛠开发语言: C# ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-16 09:03:06 📝项目描述: Longest Sequence 🔗点击访问项目地址
@GithubRedTeam · Post #80317 · 14.04.2026 г., 20:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:SEDAP-Express 👤项目作者:UNIITY-Team 🛠开发语言: Java ⭐Star数量: 27 | 🍴Fork数量: 4 📅更新时间: 2026-04-14 19:59:19 📝项目描述: SEDAP-Express is an exceptionally fast path/lightweight protocol to integrate new applications, sensors, effectors or other similar things especially into the ecosystem of MESE/UNIITY but not only! There are already a bunch of companies and individuals who use that internally for their own projects to exchange tactical or telemetry data. 🔗点击访问项目地址
@GithubRedTeam · Post #80202 · 14.04.2026 г., 03:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:overview 👤项目作者:MythicMeta 🛠开发语言: JavaScript ⭐Star数量: 8 | 🍴Fork数量: 0 📅更新时间: 2026-04-14 02:59:06 📝项目描述: Overview of Mythic C2 Profiles and Mythic Agents 🔗点击访问项目地址
@GithubRedTeam · Post #80090 · 13.04.2026 г., 08:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2c 👤项目作者:clankercode 🛠开发语言: Python ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-13 08:02:12 📝项目描述: Tools and documentation for Claude-to-Claude messaging experiments. Discover live Claude sessions, inject messages, inspect history, and coordinate multi-agent conversations on a shared machine. The foundation for chat-to-chat messaging systems. 🔗点击访问项目地址
@GithubRedTeam · Post #79248 · 07.04.2026 г., 11:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:gemma-c2c 👤项目作者:Abdulraqib20 🛠开发语言: Jupyter Notebook ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-07 11:02:16 📝项目描述: Chaos-to-Clarity (C2C): fine-tune Gemma 4 E4B to extract structured YAML from messy text. MLX, Hugging Face, Gradio. 🔗点击访问项目地址
@GithubRedTeam · Post #78856 · 05.04.2026 г., 02:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2e-slack 👤项目作者:w2ayz 🛠开发语言: Python ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-05 02:01:27 📝项目描述: Chinese to English Slack bot — local Whisper + Ollama + Edge TTS pipeline 🔗点击访问项目地址
@GithubRedTeam · Post #78625 · 03.04.2026 г., 14:04
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:Network-Instruction-Detection-System-Using-Scapy 👤项目作者:royaldevil8 🛠开发语言: Python ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-03 13:59:06 📝项目描述: A Network Instruction Detection System (NIDS) using Scapy monitors network traffic in real time, analyzes packets, and detects suspicious or malicious commands. It helps identify C2 signals, unauthorized instructions, exploits, and abnormal patterns, acting as a lightweight intrusion detection system. 🔗点击访问项目地址
@GithubRedTeam · Post #78217 · 01.04.2026 г., 01:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2cciutils 👤项目作者:camptocamp 🛠开发语言: Python ⭐Star数量: 4 | 🍴Fork数量: 2 📅更新时间: 2026-04-01 01:03:07 📝项目描述: 无描述 🔗点击访问项目地址