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

Резултати

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

Пребарај: #eywa

当前筛选 #eywa清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #3723 · 26.12.2024 г., 22:00

New Bitcoin Bond ETF Announced! Vivek Ramaswamy’s Strive Asset Management has filed for a Bitcoin Bond ETF, allowing regular investors access to convertible bonds linked to companies holding Bitcoin treasuries. 📈 In other updates, Curve's EYWA protocol secured undisclosed strategic funding from Kenetic, Michael Egorov, and Anton Bukov. Also, ChainOpera AI raised $17M in seed funding, led by Finality Capital and others. Lastly, the vote to use Blackrock's $BUIDL as backing for the new Frax USD stablecoin is live, encouraging community engagement in its development. For more details, check out the updates: Frax USD Voting and Aave-Polygon Relationship. #Bitcoin#ETF#Crypto#Aave#Polygon#Strive#Curve#EYWA#ChainOpera#AI#Investment#Funding#Startups#Frax#Stablecoin#VivekRamaswamy#Blackrock#VC#Tech

Venture Village Wall 🦄

@venturevillagewall · Post #3676 · 23.12.2024 г., 16:00

Funding Boosts RWA and DeFi Ventures Usual Labs secures $10M in Series A funding led by Binance Labs and Kraken Ventures. EYWA, a cross-chain liquidity protocol, attracts $8.5M from major investors including Curve's founder. Core product CrossCurve surpasses $21M in TVL. Other funding highlights include Avalon Labs raising $10M, Valhalla $1.5M, Rumble $775M, and Allo $2M. Notably, CryptoQuant indicates substantial Bitcoin accumulation by ETFs and institutions, now holding 31% of circulating supply. 📈 #Funding#Stablecoin#DeFi#EYWA#Liquidity#CrossChain#Investors#AvalonLabs#Valhalla#Rumble#Allo#CryptoQuant#Binance#Kraken#TVL#Bitcoin#ETF#Curve#Trading#Tokenization

Venture Village Wall 🦄

@venturevillagewall · Post #3598 · 20.12.2024 г., 15:24

CrossCurve Boosts TON Liquidity CrossCurve by EYWA aims to create a unified marketplace for cross-chain liquidity on the Curve protocol, attracting investment from Curve founder Misha Egorov. Soon, TON integration will allow asset exchanges with tokens from Torch and Crouton. Additionally, CrossCurve offers a $300k incentive program following their upcoming TON integration. A podcast episode discussing their unique solution is available here. #CrossCurve#TON#Curve#EYWA#Liquidity#EVM#Stablecoins#DeFi#Podcast#Crypto#Blockchain#Incentives#Investment#Token#Torch#Crouton#Farming#Staking#Yield#Grants