В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль 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
🌿Воцерковленные люди воспринимают Великий пост не как сложность, а как истинное счастье.
💒 Это время, когда мы отключаемся от повседневной суеты, чтобы заглянуть внутрь себя и стать ближе к Богу.
☦ Пост — это шанс исцелить свою душу, подготовиться к вечной жизни и насладиться удивительным периодом, который называют духовной весной.
#Великий_пост
#Christianity
If the Zionists and Jews want to own the world, they must assassinate God.
They cannot win by killing prophets and genocide of #Muslims and Christians. Because every time God creates a child who makes the Israelites displaced. You "permanent destroyers of history" cannot rule the world by burning the Koran and distorting the Bible and creating porn networks because God is still alive.
Today, #Christianity is the official religion of 13 countries and Islam is the official religion of 27 countries. But #Jewish terrorists cannot have 1 independent country because God is still alive.
https://t.me/YediotNewsChat
Civilizational False Equivalence and Political Rhetoric in Ethiopian Discourse: Reconsidering Claims Attributed to Yonas Biru. Read more.
https://borkena.com/2026/03/27/ethiopia-civilizational-false-equivalence-and-political-rhetoric-in-ethiopian-discourse-reconsidering-claims-attributed-to-yonas-biru/#Ethiopia#politics#EthiopianPolitics#Gada#Christianity
✝️🇻🇦🤜🇮🇱🇺🇸Pope Leo XIV:
I am not afraid of the Trump administration, nor will I refrain from raising my voice to proclaim the message of the Gospel, which is, in essence, the mission of the Church. We are not political actors, but we believe deeply in the Gospel as the path and the strength to build peace.
#info
#nationalism#USA
#Christianity
Easter is a Christian holiday that celebrates the resurrection of Jesus Christ. It is one of the most important events in Christianity. Its timing is connected to the Jewish festival of Passover and the spring season.
Some Easter traditions, like eggs and rabbits, are linked to ideas of new life and fertility. These symbols may come from older seasonal customs. However, historians debate how strong these connections are.
Easter is mainly a religious celebration that later included cultural traditions over time.
🐣✝️🌸
[Read more 1]
[Read more 2]
How is this feast celebrated in your culture?
@googlefactss
#Easter#History#Christianity#Traditions#DidYouKnow
In the 3rd century, a Roman historian named Sextus Julius Africanus said Jesus Christ was conceived on March 25. Counting nine months from that date means Jesus would be born on December 25. The church in Rome officially began celebrating Christmas on December 25 in the year 336, during Emperor Constantine’s rule. Some believe this date was chosen to replace older pagan festivals that happened around the same time. This helped make Christianity the main religion in the Roman Empire.
[Source]
@googlefactss🎄📅
#Christmas#History#Christianity#HolidayFacts
ВСЕХ С ВОСКРЕСНЫМ ДНЁМ!
☦ До Пасхи остается 2 недели и сегодня Церковь в 5-е воскресенье Великого поста прославляет преподобную Марию Египетскую, как пример глубокого, искреннего покаяния.
⛪ Смысл этой недели - показать, что путь к Богу открыт каждому, независимо от тяжести прошлого, вдохновить на борьбу со страстями и укрепить постящихся перед окончанием Великого поста.
🛐 Поскольку время приближается к завершению Великого поста, пример преподобной Марии призывает верующих не унывать, а собрать все свои силы для того, чтобы с достоинством завершить путь поста, чтобы встретиться с Воскресшим Спасителем.
🙏 Прославляя преподобную Марию Египетскую, начнем деятельное покаяние: «Вот, иду… исполнить волю Твою, Боже мой» (Пс. 39: 8, 9).
Сегодня отслужил воскресную литургию в сельском храме, все, кто подал записки, всех помянул.😊
#Christianity
#Orthodox
#Великий_пост
#покаяние
🇻🇦🤜🇪🇸Valle de los Caídos: The Vatican Overrules the Archbishop of Madrid. It accepts the Benedictines' appeal against the "re-signification," that is, the desecration, being pursued by the Sánchez government and allowed by the Archbishop of Madrid.
By Eulogio López, April 22, 2026
As we reported yesterday, the Vatican has stepped into the matter of the Valley of the Fallen now that it has realized that the "re-signification" agreement it signed with the Spanish government is a fraud. Félix Bolaños's sole aim, like Pedro Sánchez's from the very beginning, is the desecration of a pontifical basilica and of the bodies of those buried there. First, because he is a Christophobe, and second, because he intends to go down in history, as he himself declared, as the man who defeated Francisco Franco, a full fifty years after the death of the general who led the uprising.
The deception Minister Bolaños carried out against Abp. Cobo is straightforward. The basilica is a single unified space, and the plan is to preserve one part of the temple for the Eucharist while surrounding that area with a re-signification museum, one that is deceitful and veering toward the blasphemous, at least based on what we know so far, which is still not the full picture.
All this comes precisely as the profaner, who apparently knows no limits, engages in a public display of that very desecration.
The Vatican has now accepted the appeal filed by the Benedictines of the Valley, who are beginning to see confirmed what they had long feared, namely, what the agreement with the Vatican, signed in good faith and relying on the management of the Archbishop of Madrid, José Cobo, actually entails.
🤫Another big win for the Vatican. They are showing that they can stand up both to the golem-left, like the Spanish government, and to the golem-"right," like the orange clown.
This is even more impressive because, just after reining in the leftist elements in the German Catholic Church, Leo XIV is doing the same in Spain.
#info#meta
#Christianity
#Spain
🇻🇦🇪🇸🤜🇮🇱 Just like in the last 1000 years, the main leader actually defending Catholicism is a Spaniard, even a Socialist one.
But at the same time it is the leaders of Catholic countries like Italy or Ireland, the few ones in the West that voice some criticism against Israel. The cultural impact of the Church can really be seen in all this.
#meta
#nationalism#Spain
#Christianity
Приближаясь к Кресту, люди выражают свою глубокую благодарность, делятся своими слезами, просят о поддержке и обретают надежду на то, чтобы достичь Пасхи.
В течение всей недели Крест стоит в середине храма на аналое, напоминая нам о его значении при каждом входе. Он предстает не как напоминание о долге, а как живое воплощение Христа, который говорит: «Я здесь, с вами. В моем Кресте – сила идти вперед».
Суть Крестопоклонной недели заключается не в простом соблюдении поста, а в понимании того, что наш жизненный путь – это путь с Крестом. И в этом Кресте, даже в моменты усталости и борьбы, уже предвкушается свет Воскресения.
#о_Нём
#Крест_Господень
#Christianity
#Orthodox
🇵🇱🇻🇦❓I predict that in 25 years Poland will be much less Catholic than Spain unless Russians invade or some shit. Polish Catholicism through history had a lot to do with national reaffirmation and uniqueness against Protestant Prussian and Orthodox Russians, and later atheist Soviets.
None of these threats exist now, while the main threat to Christianity in this century, Judeo-American capitalism, is embraced by pretty much everybody in Poland.
#meta
#nationalism#Poland
#History#Christianity
🇵🇱🇻🇦❓ In general, I get the feeling that the idea of "Based Catholic Poland" is already behind us.
With Holy Week approaching, and looking at the posts and comments from mainstream right-wing and Christian/Catholic accounts, one thing stands out. In the past, these accounts would have been full of posts about Poland, which was described as "the Catholic country of Europe," just as Ireland once was, or Spain was for most of its history.
That no longer seems to be the case. In general, I see two trends. In the West, we are seeing a revival of Catholicism, supported by iconic traditional, cultural, and artistic elements, such as Holy Week in Spain. The Pope is American, there is a revival of Catholicism among the young in France, the Irish are burning refugee centers, and in heretical countries such as the Netherlands or the USA, Catholicism is gaining strength. People can now look for examples closer to home, without needing to project "basedness" onto some distant image. In many cases, these are cultural expressions recognized as part of humanity's heritage, or examples of much greater courage, being Christian in hostile territory rather than in a place where hardly anyone cares very much.
Meanwhile, Catholicism continues to decline in Poland. They are where many other countries were 20 or 30 years ago, with fewer priests and fewer people going to church. It is most likely that these numbers may converge in the future with Western ones, since it is true that, as a percentage of the population, more people still go to church in Poland than in Spain or France, but we will see what happens once the boomers die off. At the same time, Poland is culturally very different from Western Catholicism in its cultural and social expression, undoubtedly much more Protestant and dull, which may be part of the Prussian legacy. The country is surrounded by some of the most atheist countries in Europe, such as East Germany, the Czech Republic, or Sweden, and they are obviously more similar culturally to them, than to Irish or French peoples.
There is a trend in Polish nationalist and Catholic circles and organizations to copy the cultural and religious expressions of Western Catholic countries, such as the Three Kings at Christmas or Holy Week processions, but the problem is obvious: these traditions are not native. Even people who are somewhat religious often see them as strange, which is only natural.
By contrast, for people in the West who may not be very religious, these traditions are still part of their childhood and their identity, which can draw them back toward the Church at some point.
Overall, I find it quite amusing that while a socialist president like Pedro Sanchez in Spain is defending Catholics in the Holy Land against the satanic Judeo-Americans, and Italy is closing its air bases following the example of Spain, or Ireland is condemning all of this, Poland just keeps swallowing Jewish cock, we have also the election results in which the left won, simply put the generation that was raised with Jan Pawel II is simply dying off…
Meanwhile, you have accounts in the style of Visegrad24 crying out and saying, we are still here, pay attention to us, give us love, let us go back to 2014.
#meta
#nationalism#Poland
#Christianity
#autism