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 слични објави

Пребарај: #westerncrisis

当前筛选 #westerncrisis清除筛选
New Eastern Outlook

@neweasternoutlook · Post #11800 · 06.01.2026 г., 14:01

🌐🌎Why will the international system enter an irreversible post-Western phase in 2026, and why? The year 2026 marks a geostrategic tipping point where the "American Century" definitively collapses, superseded by a sovereign Eurasian pole and a Global South liberated from the dollar's stranglehold and Bretton Woods institutions ✍️Author:Mohamed Lamine KABA Expert in geopolitics of governance and regional integration, Pan-African University ➡️The West's doctrine of containment has failed spectacularly. NATO's expansion, intended to subordinate Eurasia, has instead reawakened Russian strategic power and resilience. Europe, held hostage to this strategy, is committing industrial suicide by severing itself from Russian energy, leading to deindustrialization and wealth transfer to the US and Global South. The Franco-German industrial core is crumbling under prohibitive energy costs, while Brussels remains paralyzed by bureaucratic dogma like the Green Deal, reducing the EU to a servile entity in a multipolar world. ➡️Simultaneously, the Global South is breaking its chains. The unprecedented freezing of Russian assets in 2022 shattered trust in the Western financial system, triggering active de-dollarization. By 2025, this became an infrastructural reality: oil and mining transactions now bypass SWIFT, conducted in local currencies or via the BRICS+ payment system. Russia, resilient against total sanctions, has become the "emergency banker" for nations seeking stability outside IMF conditionalities. Africa is rejecting European paternalism, the Sahel expelled French forces, and Latin America ignores the Monroe Doctrine, integrating instead with Eurasian value chains. 🟦Asia has already won the logistical battle. China's Belt and Road Initiative, consolidated with Moscow and Tehran, creates transcontinental corridors that bypass Western-controlled straits, neutralizing sanctions. The center of gravity has irreversibly shifted to an integrated Eurasian bloc. The West is not falling to an assault; it is collapsing from obsolescence, locked in a sanctions-based Cold War mentality while the world builds a pluralistic modernity based on civilizational sovereignty and pragmatic alliances. #BRICS#Economiccrisis#EU#geoeconomics#Russia#TheGlobalSouth#Westerncrisis READ MORE ✅@NewEasternOutlook