@BinanceAlphaAirdropTracker · Post #114 · 31.07.2025 г., 01:59
⏰#GAIA FCFS Claim with minimum 200 pts starts in about 1 minute 🎁 Airdrop: 500 $GAIA ($41)
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #381 · 23 окт.
Установить свойства виджета в PySide можно не только через соответствующие методы и конструктор класса. Можно их изменять с помощью метода setProperty по имени. btn = QPushButton("Click Me") btn.setProperty("flat", True) Это аналогично вызову btn.setFlat(True) Если указать несуществующее свойство, то оно просто создается btn.setProperty("btnType", "super") Получить его значение можно методом .property(name) btn_type = btn.property("btnType") Когда это может быть полезно? ▫️Можно просто хранить какие то данные в виджете и потом их доставать обратно widget = QWidget() widget.setProperty('my_data', 123) print(widget.property('my_data')) ▫️ Назначая эти свойства разным виджетам можно потом отличить виджеты во время итераци по ним. Например, найти все кнопки со свойством my_data="superbtn". Но ведь вместо кастомного свойства можно использовать objectName, будет тот же результат. Да, но y ObjectName есть ограничение - только строки. ▫️ Если нам потребуется не просто поиск а, например, сортировка по числу, то свойства позволяют нам это сделать. Поддерживается любой тип данных widget.setProperty('my_data', {'Key': 'value'}) widget.setProperty('order', 1) all_widgets.sort(key=w: w.property('order')) Но ведь Python позволяет всё вышеперечисленное сделать простым созданием атрибута у объекта widget.order = 1 widget.my_data = 123 Да, но я думаю что не надо объяснять почему не стоит так делать. К тому же, если у виджета нет свойства то метод .property(name) вернет None, а отсутствующий атрибут выбросит исключение. ▫️ Действительно полезное применение кастомным свойствам - контроль стилей. Здесь атрибутами не обойтись, нужны именно свойства. Дело в том, что в селекторах стилей можно указывать конкретные свойства виджетов на которые следует назначать стиль. Просто запустите этот код from PySide2.QtWidgets import * if __name__ == "__main__": app = QApplication([]) widget = QWidget(minimumWidth=300) layout = QVBoxLayout(widget) btn1 = QPushButton("Action 1") btn2 = QPushButton("Action 2") btn3 = QPushButton("Action 3", flat=True) layout.addWidget(btn1) layout.addWidget(btn2) layout.addWidget(btn3) # добавим кастомное свойство одной кнопке btn1.setProperty("btnType", "super") # добавляем стили widget.setStyleSheet( """ QPushButton[btnType="super"] { background-color: yellow; color: red; } QPushButton[flat="true"] { color: yellow; } """ ) widget.show() app.exec_() С помощью селектора мы избирательно назначили стили на конкретные кнопки. Как получить список всех кастомный свойств? Функция получения списка кастомных свойств отличается от получения дефолтных. def print_widget_dyn_properties(widget): for prop_name in widget.dynamicPropertyNames(): property_name = prop_name.data().decode() property_value = widget.property(property_name) print(f"{property_name}: {property_value}") #tricks#qt
Пребарај: #gaia
@BinanceAlphaAirdropTracker · Post #114 · 31.07.2025 г., 01:59
⏰#GAIA FCFS Claim with minimum 200 pts starts in about 1 minute 🎁 Airdrop: 500 $GAIA ($41)
Hashtags
@BinanceAlphaAirdropTracker · Post #111 · 30.07.2025 г., 07:59
⏰#GAIA Claim with minimum 233 pts starts in about 1 minute 🎁 Airdrop: 500 $GAIA ($41)
Hashtags
@cosmomyst · Post #511 · 21.11.2025 г., 12:21
🪐 As scientists plan for the future of interstellar travel, precision targeting has become a top priority, with research focusing on how to accurately send spacecraft toward stars like Alpha Centauri, over 4 light-years from Earth. To achieve this, astronomers use extremely detailed maps of nearby stars—created by ESA’s Gaia mission—which charts the exact positions and motions of more than a billion stars, allowing future probes to steer through space with unprecedented accuracy as they journey beyond our solar system. ✨ #spaceships⚡#navigation⚡#gaia⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space 👉subscribe Universe Mysteries 👉more Channels
@githubtrending · Post #15145 · 14.09.2025 г., 13:00
#javascript#gaia#general_purpose#multiagent_systems#multimodel DeepResearchAgent is a smart system that uses a top-level planner to break down big tasks into smaller parts and assigns them to specialized agents like analyzers, researchers, and browser tools. It can deeply analyze data, do thorough research, and automatically gather up-to-date information from the web. It supports many AI models and tools, including image and video generation, and runs tasks efficiently with asynchronous operations. This system helps you get detailed, well-organized research results faster and with less effort by automating complex, multi-step tasks and combining many AI capabilities in one framework. https://github.com/SkyworkAI/DeepResearchAgent
@githubtrending · Post #15399 · 07.01.2026 г., 13:30
#python#agent#agent_framework#browsecomp#deep_research#futurex#gaia#hle#research_agent#search_agent#xbench MiroThinker v1.5 is the top open-source AI search agent with a 256K context window and up to 400 tool calls per task for deep web research, code execution, and multi-step reasoning. It leads benchmarks like HLE-Text (39.2%), BrowseComp (69.8%), and GAIA (80.8%), beating other free agents at low cost. You benefit by getting accurate, real-world research help—like finding arXiv papers or solving complex queries—faster and cheaper than paid tools, with full open-source access on GitHub and Hugging Face. https://github.com/MiroMindAI/MiroThinker
@venturevillagewall · Post #4020 · 29.01.2025 г., 13:00
Recent Funding Rounds Overview 🔍 Latest funding rounds: - Zhongke Era: $27.61M - R&D in industrial control tech. Learn more - EIGHT Brewing Co: $26M - Organic lager by Troy Aikman. Learn more - Oncomatryx: $26.30M - Precision drugs for cancer treatment. Learn more - Atomicwork: $25M - AI-based IT service management. Learn more - Manas AI: $24.60M - AI models for drug development. Learn more - Token Security: $20M - Machine-First Identity Security. Learn more - iPronics: $20.86M - Solid-state optical switches for AI. Learn more - Gaia: $14M - Improving IVF payments. Learn more - Astrome Technologies: $10M - 5G internet infrastructure. Learn more - Paytner Factoring: $8.97M - B2B payment services. Learn more Keep an eye on these innovative startups! #Funding#ZhongkeEra#EIGHTBrewingCo#Oncomatryx#Atomicwork#ManasAI#TokenSecurity#iPronics#Gaia#Astrome#Paytner#AI#VC