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

Пребарај: #panathinaikos

当前筛选 #panathinaikos清除筛选
🏆 Info 288 - DEPORTES

@info288_deportes · Post #35614 · 17.10.2024 г., 21:22

🏀🇪🇺Euroliga Real Madrid 90-86 Panathinaikos#Euroliga#RealMadrid#Panathinaikos Para ganar al campeón de la Euroliga hay que hacer un partido muy serio, con mucha concentración, sin demasiados errores... Todo eso lo cumplió el Real Madrid para sacar la cabeza del hoyo en el que estaba (balance de 4-5 ahora en encuentros oficiales) y levantar la voz. Tumbó al Panathinaikos (90-86) en la reedición de la final de la temporada pasada en un triunfo coral que apuntaba a cómodo (78-62, min. 33) y acabó complicándose. En cualquier caso, una inyección de moral. https://www.marca.com/baloncesto/euroliga/2024/10/17/real-madrid-levanta-voz.html Otros marcadores Alba 71-78 Fenerbahce Maccabi 79-91 Partizan Milano 82-85 Zalgiris Bayern 109-107 Paris 🏆@Info288_deportes

AI match predictions

@ai_match_prediction · Post #11607 · 19.04.2026 г., 09:05

Greece Super League 1🇬🇷 2026-04-19 15:00 UTC AEK Athens FC vs. PAOK Predicted outcome: Draw❌ Predicted score: 1:1 Actual: AEK Athens FC 3:0 #AEK#PAOK 2026-04-19 18:00 UTC Panathinaikos vs. Olympiakos Piraeus Predicted outcome: Olympiakos Piraeus✅ Predicted score: 0:1 Actual: Olympiakos Piraeus 0:2 #Panathinaikos#Olympiakos #Football#GreeceSuperLeague1

AI match predictions

@ai_match_prediction · Post #12077 · 13.05.2026 г., 09:05

Greece Super League 1🇬🇷 2026-05-13 14:00 UTC Levadiakos vs. OFI Predicted outcome: Levadiakos✅ Predicted score: 3:1 Actual: Levadiakos 3:2 #Levadiakos#OFI 2026-05-13 14:00 UTC Volos NFC vs. Aris Thessalonikis Predicted outcome: Aris Thessalonikis✅ Predicted score: 1:2 Actual: Aris Thessalonikis 1:2 #Volos#Aris 2026-05-13 16:30 UTC Olympiakos Piraeus vs. Panathinaikos Predicted outcome: Olympiakos Piraeus✅ Predicted score: 2:1 Actual: Olympiakos Piraeus 1:0 #Olympiakos#Panathinaikos 2026-05-13 16:30 UTC PAOK vs. AEK Athens FC Predicted outcome: AEK Athens FC❌ Predicted score: 1:2 Actual: Draw 1:1 #PAOK#AEK #Football#GreeceSuperLeague1

AI match predictions

@ai_match_prediction · Post #12023 · 10.05.2026 г., 09:05

Greece Super League 1🇬🇷 2026-05-10 14:00 UTC Aris Thessalonikis vs. OFI Predicted outcome: Aris Thessalonikis✅ Predicted score: 2:1 Actual: Aris Thessalonikis 3:1 #Aris#OFI 2026-05-10 14:00 UTC Volos NFC vs. Levadiakos Predicted outcome: Levadiakos✅ Predicted score: 1:2 Actual: Levadiakos 0:3 #Volos#Levadiakos 2026-05-10 16:30 UTC Olympiakos Piraeus vs. PAOK Predicted outcome: Draw✅ Predicted score: 1:1 Actual: Draw 1:1 #Olympiakos#PAOK 2026-05-10 16:30 UTC AEK Athens FC vs. Panathinaikos Predicted outcome: AEK Athens FC✅ Predicted score: 2:1 Actual: AEK Athens FC 2:1 #AEK#Panathinaikos #Football#GreeceSuperLeague1

AI match predictions

@ai_match_prediction · Post #11894 · 03.05.2026 г., 09:06

Greece Super League 1🇬🇷 2026-05-03 14:00 UTC Levadiakos vs. Volos NFC Predicted outcome: Levadiakos✅ Predicted score: 3:1 Actual: Levadiakos 5:2 #Levadiakos#Volos 2026-05-03 14:00 UTC OFI vs. Aris Thessalonikis Predicted outcome: OFI❌ Predicted score: 2:1 Actual: Aris Thessalonikis 0:2 #OFI#Aris 2026-05-03 16:00 UTC PAOK vs. Olympiakos Piraeus Predicted outcome: Olympiakos Piraeus❌ Predicted score: 1:2 Actual: PAOK 3:1 #PAOK#Olympiakos 2026-05-03 18:00 UTC Panathinaikos vs. AEK Athens FC Predicted outcome: AEK Athens FC❌ Predicted score: 1:2 Actual: Draw 0:0 #Panathinaikos#AEK #Football#GreeceSuperLeague1

AI match predictions

@ai_match_prediction · Post #11323 · 05.04.2026 г., 09:05

Greece Super League 1🇬🇷 2026-04-05 14:00 UTC Levadiakos vs. Aris Thessalonikis Predicted outcome: Levadiakos❌ Predicted score: 2:1 Actual: Draw 1:1 #Levadiakos#Aris 2026-04-05 14:00 UTC Volos NFC vs. OFI Predicted outcome: Draw✅ Predicted score: 2:2 Actual: Draw 1:1 #Volos#OFI 2026-04-05 16:00 UTC PAOK vs. Panathinaikos Predicted outcome: PAOK❌ Predicted score: 2:1 Actual: Draw 0:0 #PAOK#Panathinaikos 2026-04-05 18:00 UTC Olympiakos Piraeus vs. AEK Athens FC Predicted outcome: Draw❌ Predicted score: 1:1 Actual: AEK Athens FC 0:1 #Olympiakos#AEK #Football#GreeceSuperLeague1

AI match predictions

@ai_match_prediction · Post #11156 · 22.03.2026 г., 09:06

Greece Super League 1🇬🇷 2026-03-22 17:00 UTC Olympiakos Piraeus vs. Larisa Predicted outcome: Olympiakos Piraeus❌ Predicted score: 2:0 Actual: Draw 0:0 #Olympiakos#Larisa 2026-03-22 17:00 UTC AEK Athens FC vs. Kifisia Predicted outcome: AEK Athens FC✅ Predicted score: 3:1 Actual: AEK Athens FC 3:0 #AEK#Kifisia 2026-03-22 17:00 UTC Panetolikos vs. Panserraikos Predicted outcome: Panetolikos❌ Predicted score: 2:1 Actual: Draw 0:0 #Panetolikos#Panserraikos 2026-03-22 17:00 UTC Asteras Tripolis vs. Panathinaikos Predicted outcome: Panathinaikos✅ Predicted score: 1:2 Actual: Panathinaikos 1:2 #Asteras#Panathinaikos 2026-03-22 17:00 UTC Levadiakos vs. Atromitos Predicted outcome: Levadiakos✅ Predicted score: 2:1 Actual: Levadiakos 1:0 #Levadiakos#Atromitos 2026-03-22 17:00 UTC Aris Thessalonikis vs. OFI Predicted outcome: Aris Thessalonikis❌ Predicted score: 1:0 Actual: OFI 0:2 #Aris#OFI 2026-03-22 17:00 UTC Volos NFC vs. PAOK Predicted outcome: PAOK❌ Predicted score: 0:2 Actual: Volos NFC 2:1 #Volos#PAOK #Football#GreeceSuperLeague1