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

Пребарај: #easternconference

当前筛选 #easternconference清除筛选
Crypto M - Crypto News

@CryptoM · Post #65087 · 10.04.2026 г., 23:24

🚀 Polymarket Sees Significant Bet on Hornets vs. Pistons NBA Game A notable transaction has occurred on Polymarket regarding the NBA regular season game between the Charlotte Hornets and the Detroit Pistons. According to Odaily, an account with a 43% win rate, identified by the address 0xe0f01e5ce19e71138a1fc77d3b466f50b7f3bad3, has purchased $200,000 worth of shares predicting a Hornets victory at an average price of 66 cents. The game between the Hornets and Pistons began today at 7 a.m. UTC+8. As the NBA regular season nears its conclusion, the Hornets hold a record of 43 wins and 37 losses, placing them 9th in the Eastern Conference. Meanwhile, the Pistons lead the Eastern Conference with 58 wins and 22 losses. #Polymarket#NBA#Hornets#Pistons#SportsBetting#Basketball#EasternConference

Crypto M - Crypto News

@CryptoM · Post #65329 · 12.04.2026 г., 23:24

🚀 NBA Regular Season: Magic Lead Celtics at Halftime In the Polymarket prediction event for the NBA regular season game between the Orlando Magic and the Boston Celtics, a user with significant earnings of over $1.8 million has invested more than $370,000 on the Magic to win with a 10.5-point spread at an average opening price of 57.9¢. Additionally, the user placed $30,000 on the Magic to win with a 12.5-point spread at an average opening price of 52¢. According to Odaily, the game, which started at 6 a.m. UTC+8, is currently at halftime with the Magic leading 61-52. Today marks the final day of the NBA regular season, with the Magic holding a record of 45 wins and 36 losses, placing them 7th in the Eastern Conference. The Celtics, with a record of 55 wins and 26 losses, are ranked 2nd in the Eastern Conference. #NBA#OrlandoMagic#BostonCeltics#Polymarket#basketball#EasternConference#MagicLead#NBARegularSeason#sportsbetting#halftime

Crypto M - Crypto News

@CryptoM · Post #64783 · 09.04.2026 г., 23:05

🚀 High-Stakes Bet on Bulls vs. Wizards NBA Game A significant wager has been placed on the Polymarket prediction platform regarding the NBA regular season game between the Chicago Bulls and the Washington Wizards. According to Odaily, an account with a history of over $4.3 million in losses has invested $150,000 on the Bulls to win against the Wizards with a 5.5-point spread, at an average opening price of 56 cents. Additionally, the same account has placed a $40,000 bet on the Bulls to win with a 6.5-point spread, at an average opening price of 50.9 cents. The NBA regular season game between the Bulls and the Wizards commenced today at 7 a.m. UTC+8. As the season nears its conclusion, the Bulls hold a record of 30 wins and 49 losses, placing them 12th in the Eastern Conference. Meanwhile, the Wizards have a record of 17 wins and 62 losses, ranking 15th in the Eastern Conference. #HighStakesBet#BullsVsWizards#NBA#Polymarket#ChicagoBulls#WashingtonWizards#NBASeason#Betting#SportsBetting#PointSpread#BasketballBetting#EasternConference