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

Пребарај: #interests

当前筛选 #interests清除筛选
Red Nile

@rednile12 · Post #10846 · 22.01.2026 г., 17:40

🇪🇹 Nile Negotiations: Ethiopia’s Sovereignty Is Not on the Table Thank you, #SolomonMarkos🙏 🔗[email protected] https://m.facebook.com/story.php?story_fbid=pfbid0pFtuSJfcDvSUqkmGvpY7GDHkoarhXcsZE28sdRHRdnWdzkEuGffbN293GWF15mDel&id=1120295988&sfnsn=mo&mibextid=RUbZ1f Your intervention in the #RedNile comments is principled, direct, and unapologetically Ethiopian. It articulates what many externally driven “mediation” efforts try to obscure: Ethiopia’s sovereignty and national interests are not negotiable. At the heart of your position is a clear red line: “#Ethiopia Never Ever Compromise Its #Sovereignty and #National#Interests.” This must be the starting point of any discussion on the Nile—not the outcome. 🧠 Why This Position Is Strategically Strong 🔹Sovereignty first, not last Ethiopia is a rights-holder, not a “risk factor.” Any process that treats Ethiopia as a problem to be managed is illegitimate from the outset. 🔹Colonial treaties are null Insisting on the CFA framework restores African legal continuity and rejects agreements imposed when Ethiopia was excluded. 🔹No monopoly mediation Including the AU, Russia, China, and regional actors prevents Nile negotiations from being captured by a single power acting in Egypt’s favor. 🔹Development is non-negotiable Abay waters are tied to electricity, agriculture, and industrialization. Ethiopia retains the sovereign right to build future dams beyond GERD. 🔹The real issue is mismanagement, not scarcity Egypt’s irrigation of water-intensive crops reframes the crisis as one of policy waste, not upstream injustice. 🔹Responsible, not submissive Humanitarian flexibility during droughts projects cooperation without surrendering control—a smart counter to propaganda. 🔹GERD is Ethiopian-owned Fully domestically funded, GERD is insulated from donor leverage and external coercion. ⚠️ Tactical Challenges (Not Principle Flaws) ▪️ A 50%+ water share must be framed carefully using hydrology, population, and contribution data to avoid diplomatic deadlock. ▪️ Multiple mediators require clear role definitions to avoid paralysis. ▪️ A Nile-wide enforcement body will face resistance—but that resistance exposes the real imbalance in the system. These are communication and strategy issues, not weaknesses in Ethiopia’s position. 🔴 RedNile Media Position: The Only Legitimate Basis for Negotiation Any Nile process that claims legitimacy must be grounded in the following: 1️⃣Balanced mediation – No US monopoly 2️⃣All riparians included – The Nile belongs to all its peoples 3️⃣CFA only – Colonial treaties are invalid 4️⃣Ethiopia’s fair share – Not less than 50%+, with full rights to future development If a binding framework is ever discussed, it must also include: ▪️ A Nile Water Management Commission overseeing all dams and diversions—including Egypt’s Toshka Canal ▪️ Formal acknowledgment of Egypt’s excessive water use and export-oriented irrigation practices ♦️Bottom line: Ethiopia is not negotiating permission to exist, develop, or light its cities. The Nile question is about justice, sovereignty, and post-colonial reality—not appeasement. 🇪🇹💧 — RedNile Media🌊🧭 📡@rednile12 Geopolitics | Multipolarity | Sovereignty | Strategic Reality #GERD#NileDispute#GazaPeace#TrumpSisi