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

Резултати

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

Пребарај: #nasrallah

当前筛选 #nasrallah清除筛选
Libertà è ragione

@libertaeragione · Post #4248 · 28.09.2024 г., 08:33

#Israele#Libano Capo di Stato Maggiore dell’#IDF: “La morte di Hassan #Nasrallah non è la fine delle nostre azioni. Il messaggio è semplice: chiunque minacci i cittadini dello Stato di Israele sapremo come raggiungerlo”. @OsservatorioEsteri

Red Nile

@rednile12 · Post #11265 · 15.03.2026 г., 14:14

OSINT leaks - Syrian Mossad spy taking refuge in Lebanon's Ukrainian embassy. A terrorist with Syrian, Ukrainian and Israeli citizenship. He helped in killing Hassan Nasrallah and other terrorist attack. Credits: Journalist Radwan Mortada @cKure #Lebanon#Nasrallah#Mossad#Ukraine#Hezbollah

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #4074 · 26.02.2025 г., 07:51

A historic funeral procession was held in Beirut on Sunday for late Hezbollah chiefs Hassan Nasrallah and Hashem Safieddine who were assassinated by Israel late last year. Although Israeli fighter jets flew twice at a low altitude over the hundreds of thousands crowded to mourn the Hezbollah chiefs, the masses stood unwavering chanting “Death to Israel.” #Nasrallah#NasrallahFuneral#Hezbollah#Lebanon#Israel

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #4053 · 24.02.2025 г., 21:29

A historic funeral procession was held in Beirut on Sunday for late Hezbollah chiefs Hassan Nasrallah and Hashem Safieddine who were assassinated by Israel late last year. Although Israeli fighter jets flew twice at a low altitude over the hundreds of thousands crowded to mourn the Hezbollah chiefs, the masses stood unwavering chanting “Death to Israel.” #Nasrallah#NasrallahFuneral#Hezbollah#Lebanon#Israel

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3447 · 11.10.2024 г., 17:51

Journalist and geopolitical analyst Fiorella Isabel @FiorellaInMoscow tackles the latest Israeli war crimes in Gaza and Lebanon. She underlines that the assassination of Hezbollah Chief Hassan Nasrallah created more support for the Lebanese group, and that thousands of his likes will be created to fight Israel back. #Hezbollah#Nasrallah#Lebanon#Gaza#Palestine#Netanyahu#Israel

White House Watch

@WhiteHouseWatch · Post #18278 · 17.03.2026 г., 20:58

#Iran L’agenzia stampa Fars, conferma la notizia che il Segretario del Consiglio Supremo per la Sicurezza Nazionale Ali #Larijani sia morto a seguito dell’attacco israeliano. “Ali Larijani, Segretario del Consiglio Supremo per la Sicurezza Nazionale, è stato martirizzato. […] Le anime pure dei martiri hanno accolto l'anima pura di Abdul Saleh God, il martire Dr. Ali Larijani, che, dopo una vita di lotta per il progresso dell'Iran e della Rivoluzione Islamica, ha finalmente realizzato il suo desiderio di lunga data, ha risposto alla chiamata della verità e ha orgogliosamente raggiunto la grazia del martirio nelle trincee del servizio. Egli si unì all'Imam dei Martiri del Ramadan, il Comandante dei Credenti Ali (pace su di lui), e al leader della carovana del martirio e del jihad contro l'America e Israele, Sua Santità l'Ayatollah Seyyed Ali #Khamenei, al suo maestro martire, Sua Santità il Maestro Ayatollah Motahari, e ai suoi compagni martiri Seyyed Hassan #Nasrallah e Hajj Qassem #Soleimani”. @OsservatorioEsteri

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3616 · 11.11.2024 г., 11:56

For the first time, Israeli Prime Minister Benjamin Netanyahu admitted in a cabinet meeting on Sunday that he stands behind several terrorist attacks against Lebanon such as the assassination of Hezbollah chief and the pagers and walkie-talkies attacks. #Hezbollah#Nasrallah#Pagers#UnitedStates#Israel#Netanyahu

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3129 · 25.08.2024 г., 21:05

#Hezbollah Chief Sayyed Hassan #Nasrallah refuted Israeli claims about a preemptive strike ahead of “Operation Al-Arbaeen” in the #Israeli depth. He also set a condition of resuming the retaliation, which has to do with the enemy’s admitting of losses inflicted in first phase. #Lebanon#SouthLebanon#IsraeliArmy

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3247 · 19.09.2024 г., 18:41

In the first remarks after the Israeli terrorist attack against Lebanon, Hezbollah Secretary General Hassan Nasrallah termed the aggression as a declaration of war from the Israeli side. #Hezbollah#Lebanon#Nasrallah#Pagers#Israel#Mossad#Gaza#Palestine

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3122 · 25.08.2024 г., 13:46

Lebanese #Hezbollah military media releases video showing bases targeted in #Israel part of the First Phase of its response to the assassination of senior commander Fuad Shukr and killing of several civilians in #Beirut's southern suburbs on July 31. #Lebanon#SouthLebanon#Nasrallah#Gaza#Palestine#IsraeliArmy

12
ПретходнаСтраница 1 од 2Следна