TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

Пронајдени 6 слични објави

Пребарај: #aethir

当前筛选 #aethir清除筛选
Crypto Drop Club

@drop_cryptogo · Post #1625 · 16.01.2025 г., 13:04

🗣#Aethir: Farming EIGEN by Staking ATH Aethir is a DePin project building a decentralized GPU-based cloud infrastructure focused on AI, gaming, and computational processes. Announced a collaboration with EigenLayer, enabling staking on their platform. 🟠Users will be able to stake ATH and farm rewards in EIGEN. Awaiting further announcements and pool launches. 🟠Read more in the article. 🟠Investments total $148M, including node sales and IDO. Crypto Drop Club 👉 SUBSCRIBE

Hashtags

Crypto M - Crypto News

@CryptoM · Post #64897 · 10.04.2026 г., 07:57

🚀 Aethir Blocks Vulnerability Attack, Plans Compensation for Users Aethir has successfully thwarted a vulnerability attack on its bridge contract, estimating user losses to be around $90,000. According to NS3.AI, the company assured that ATH on Ethereum remains secure. Aethir is set to announce a compensation plan for affected users next week. #Aethir#VulnerabilityAttack#CompensationPlan#Ethereum#CryptoSecurity#NS3AI#UserProtection

Venture Village Wall 🦄

@venturevillagewall · Post #4335 · 08.03.2025 г., 01:00

Coinbase Expands Listings Amid Positive Crypto News Coinbase adds Aethir (ATH) and Syrup (SYRUP) to listing roadmap. Aethir is a decentralized yield aggregator; Syrup enhances institutional digital asset lending. In related news, Gemini, the crypto firm of the Winklevoss twins, confidentially files for IPO with Goldman Sachs, Citigroup support; public offering may happen this year. Additionally, the top US banking regulator rescinds digital asset restrictions, allowing banks to engage in crypto custody and stablecoin activities. Trump's administration pursuing strategies to increase U.S. Bitcoin reserves. #Coinbase#Aethir#Syrup#Gemini#IPO#Winklevoss#Crypto#Bitcoin#Finance#Regulation#US#Banking#Custody#Stablecoins#DigitalAssets#DeFi#VC#Trump#CryptoNews#MarketUpdates