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 слични објави

Пребарај: #dgxr

当前筛选 #dgxr清除筛选
D3VXR verified

@d3vxrverified · Post #21 · 27.05.2025 г., 00:42

🚨 GameFi is changing — and D3VXR.app is at the center of it. 🎮 We’re not just building a game. We’re building a Web3-powered ecosystem where you can: ⚔️ Play PvP 💰 Stake and Earn 🎲 Compete with real rewards 🔗 Powered by $DGXR on Solana 🔍 Want to understand the vision? Read more: https://d3vxr.app/about This is just the beginning. Let’s shape the future of GameFi together. 🌐🔥 #D3VXR#DGXR#GameFi#Solana#Web3Gaming

D3VXR verified

@d3vxrverified · Post #24 · 30.05.2025 г., 02:50

🔑 Utility is what separates real projects from the noise. $DGXR is more than a token — it's the engine behind the D3VXR platform. From games to crypto activities, every feature has a purpose. D3VXR isn’t here to ride hype. It’s here to build useful Web3 experiences on Solana. Check it out: https://d3vxr.app #DGXR#D3VXR#CryptoUtility#Solana#Web3Gaming

D3VXR verified

@d3vxrverified · Post #23 · 29.05.2025 г., 04:08

🚀 The Power of Utility-Driven Tokens: Why $DGXR Matters In a sea of hype tokens, $DGXR stands apart — because it’s built for real use, real players, and real rewards. 🎮D3VXR.app is more than a platform. It’s a living Web3 gaming ecosystem where: ✅ Every $DGXR token gives you access to games and challenges ✅ Win battles, earn more $DGXR — use it, don’t just hold it ✅ Buy, trade, and level up NFTs with actual in-game value ✅ Shape the future — $DGXR gives you power in the ecosystem ⚡️ This isn’t speculation. It’s participation. D3VXR is designed from the ground up to reward time, skill, and strategy — powered by $DGXR. 👉 Dive in: https://d3vxr.app 🔗 Join the revolution. Play to earn, not just to play. #D3VXR#DGXR#Web3Gaming#GameFi#Solana#UtilityToken