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

Резултати

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

Пребарај: #jeffdanziger

当前筛选 #jeffdanziger清除筛选
​NO Kings ​🚫👑

@No_king_No_King · Post #178 · 12.04.2026 г., 16:47

Lies... (Not friend pedophile) - Email from Melania to Ghislaine Maxwell: "Dear G, How are you? Nice story about JE in New York Mag. You look great on the picture. I know you are very busy flying all over the world. How was Palm Beach? I cannot wait to go down. Give me a call when you are back in NY. Have a great time! Love, Melania" - Melania Trump: "The lies linking me with the disgraceful Jeffrey Epstein need to end today...I've never been friends with Epstein...I never had a relationship with Epstein or his accomplice Maxwell. My email reply to Maxwell can not be categorized as anything more than casual correspondence." - "Epstein did not introduce me to Donald Trump. I met my husband by chance." - "Donald and I were invited to the same parties as Epstein from time to time." - "I call on Congress to provide the women who have been victimized by Epstein with a public hearing specifically centered around the survivors. We must work openly and transparently to uncover the truth about Epstein." Trump: "She had a right to talk about it because the fake news covers her so inaccurately. Would I have done it that way?" the president mused. "Perhaps not, perhaps, I don't know." @michael_de_adder@rickmckeetoons davegranlundcartoons @mjhiblenart@lowtekguy@tooner13@jackohman60@misterjesseduquette@cdurando49@repeat1968#JeffDanziger@billdaycartoons@billbramhallcartoons@[email protected] #Cartoons#CoffeeAndCourtney#ComicRelief#CartoonCurator ✈️t.me/No_king_No_King