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

Резултати

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

Пребарај: #medusa

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

@venturevillagewall · Post #4324 · 06.03.2025 г., 19:00

$28M Raised for DoubleZero as Blockchain News DoubleZero secures $28M in funding from Multicoin Capital and others to enhance its network protocol. Tensorplex Labs also gains investment from YZi Labs to develop decentralized AI tools. Texas Senate passes Bitcoin Reserve Bill SB21. TON Core implements "Accelerator" update, boosting throughput to 100,000 TPS. World Liberty Financial partners with Sui, causing SUI price surge. Medusa Ransomware targets over 40 victims in 2025, demanding hefty ransoms. Kraken to begin next round of FTX creditor repayments on May 30. Seismic raises $7M led by a16z for a privacy blockchain. More on Bitcoin, blockchain, and crypto developments can be found at the relevant links. #Funding#Blockchain#Bitcoin#TexasSenate#Crypto#AI#Tensorplex#Web3#DoubleZero#SUI#Seismic#Ransomware#Medusa#A16z#DeFi#DecentralizedAI#TON#Kraken#VentureCapital

GitHub Trends

@githubtrending · Post #15100 · 29.08.2025 г., 11:30

#typescript#commerce#e_commerce#javascript#marketplace#marketplace_solution#medusa#medusajs#medusajs_v2#multi_vendor#multi_vendor_ecommerce#multivendor_ecommerce#nodejs#open_source#shopping_cart Mercur is a free, open-source platform that lets you build and run your own multi-vendor marketplace with full control over your data, infrastructure, and customizations. It combines the ease of SaaS with the freedom of open source, so you avoid transaction fees and vendor lock-in. Built on modern MedusaJS technology, Mercur supports both B2C and B2B marketplaces, offering customizable storefronts, admin and vendor panels, and integrations like Stripe for payments. This means you can create a unique, scalable marketplace tailored to your business needs without relying on costly or restrictive platforms. It requires some technical skill but gives you complete ownership and flexibility. https://github.com/mercurjs/mercur