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

Резултати

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

Пребарај: #alawites

当前筛选 #alawites清除筛选
Dan Kovalik

@danielmkovalik · Post #2214 · 19.04.2025 г., 08:34

Systematic expulsion of #Alawites from north Hama countryside by Sharaa government. Reallocation of #Syria land. Excellent Report By Bashir Ghadir 1. 12 Alawite Villages near Hama, Syria have been emptied of their inhabitants. 2. HTS expelled the villagers and offered their lands to investors through a corporation connected to the governorate. The investors get 40% of the profits. The state gets 60%. 3. Alawites tried to come back to their land, but the local authorities told them they could not guaranty their safety. The Alawite farmers were informed that their lands had been appropriated by the `Iktifa' corporation. 4. The same thing is happening in the countryside of Latakia and Homs. https://youtu.be/5BX7OgmDsmA?si=ZNJeTxDPv0hEJjqG via @YouTube

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29926 · 07.03.2026 г., 07:39

Exactly a year ago, this is how easy it was for them to kill old men just for being #Alawites. This is the result of more than a decade of incitement against our sect mainly by Qatar and their Muslim brotherhood. Why? Because it's too hard for their Islam to accept another faith. Until this very day, the media calls Alawites the #Assad sect whenever a massacre is being mentioned. Assad and his majority Sunni army fled or joined the new terrorist regime long ago, while civilian Alawites are still being oppressed with media cover up.

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29123 · 28.12.2025 г., 14:11

In #Jolani's textbook, you disperse peaceful protesters by bringing FUCKING TANKS. @TheAlawiteEcho Tens of thousands of #Alawites are protesting in the city of #Latakia and all around the Syrian coast, rejecting the Jihadist regime of #Jolani, calling for federalism. The Alawite community has lost thousands of civilians throughout the last year, with thousands more detained. https://t.co/SV7Sb1byDR View tweet

Eva Karene Bartlett

@EvaKarene_Bartlett · Post #29190 · 01.01.2026 г., 14:33

"Syria Al-Julani regime released kidnapped Druze kids after months of detention The Jolani regime has released two Druze brothers, Yanal Bashar al-Haddad (15) and Qais Bashar al-Haddad (13), who had been detained at Adra Prison in #Damascus since their arrest during the attack on #Suwayda on July 15, 2025. Its worth noting that terriost regime kidnapped and killed a lot of Druze and Alawites kids and women (see links on X post) ❗️ Note that the terrorist regime refuse to hold accountable the militants who committed massacres against the #Alawites or #Druze, and label them as “mojahdin” =jihadists, because fighting against “infidel” minorities is considered a heroic act in their eyes." https://x.com/SyJusticeArc/status/2006461460713488503

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3821 · 28.12.2024 г., 08:26

Thousands of #Alawites take to the streets in unprecedented protests across #Syria, sparked by allegations of a shrine attack and escalating violence. Clashes, a fatality, and curfews mark the country’s most significant unrest in years. #Syria2024#MiddleEast#SyriaProtests

Moscow Photographer

@moscowphotog · Post #1489 · 08.03.2025 г., 13:48

"A new massacre against the #Alawites in the city of #Latakia, in the #Dattour neighborhood, al-Mazar junction. I beg all segments of the Syrian people, especially the #Druze, #Kurds, and any remaining members of the #Sunni community who still have a little humanity left in their hearts, to take to the streets in protest to stop these massacres against the innocent. These #massacres are not from yesterday, they are happening today, and as of moments ago, they are still being carried out by Syrian members of Hay’at Tahrir al-Sham #HTS, wearing their official uniforms. Please, save those who remain." https://t.me/CoastSyrian24/771