@WorldNews · Post #73810 · 02.04.2026 г., 23:24
Quebec passes law banning street prayers, prayer rooms in universities [Read FullArticle] @WorldNews#QuebecLaw#ReligiousFreedom#CampusPolicy
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
Пребарај: #religiousfreedom
@WorldNews · Post #73810 · 02.04.2026 г., 23:24
Quebec passes law banning street prayers, prayer rooms in universities [Read FullArticle] @WorldNews#QuebecLaw#ReligiousFreedom#CampusPolicy
@rusembmalta · Post #1971 · 22.04.2025 г., 10:21
@RusEmbMalta Press release 📄Illegal Actions by the Kiev Regime Targeting the Ukrainian Orthodox Church (UOC) New report by the Russian Foreign Ministry For years, the Kiev authorities have pursued a systematic campaign against the canonical Ukrainian Orthodox Church (UOC) – discriminating against its clergy, persecuting believers, and pressuring them to join the schismatic, state-sponsored Orthodox Church of Ukraine (OCU). This pressure intensified after 2022, as martial law gave rise to an increasingly authoritarian regime marked by censorship, political repression, and attacks on religious freedom. Despite its formal independence from Moscow, the UOC continues to be treated as an enemy. A legal framework has been created to eliminate the Church – from banning its access to the historic Kiev-Pechersk Lavra and imposing sanctions on bishops, to launching over 100 criminal cases against clergy. Dozens have been convicted or stripped of citizenship under vague accusations. The law adopted by the Verkhovna Rada in August 2024 now gives the regime broad powers to ban the UOC outright and seize its property – often based on the most tenuous links to the Russian Orthodox Church. Forceful church takeovers, community re-registration, and open hostility toward believers continue, largely unchecked. 🔇 International bodies, including the UN, remain silent in the face of these grave violations – sending Kiev a dangerous signal of impunity. 📘 The latest report from the Russian Foreign Ministry presents a detailed account of these developments and sheds light on the external influences – particularly from the United States – that have contributed to this crisis. 📎 You can read the full report by the Russian Foreign Ministry on this issue here. #HumanRights#ReligiousFreedom#UOC#Ukraine#ChurchRights#StopReligiousPersecution