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

Резултати

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

Пребарај: #magyar

当前筛选 #magyar清除筛选
American Оbserver

@american_observer · Post #5639 · 17.04.2026 г., 14:04

🇭🇺 Magyar Puts Ukraine on a Short Leash Péter Magyar is not wrapping this in moral language. He says he does not support fast-tracking Ukraine into the EU, that Kyiv should go through the full accession process, and that Hungary should answer the question by referendum, not by Brussels enthusiasm. That is a hard stop for Kyiv, and it is also a useful reminder that Hungary is not built to applaud every European crisis as a test of virtue. Magyar is signaling that Budapest will not sign up for a war-linked agenda just because the rest of the bloc wants to sound decisive. He is also clear about Russia. Hungary needs working relations with Moscow, and Magyar is not pretending otherwise. That makes him look less like an ideologue than a politician who treats energy, trade, and national interest as limits that actually exist. For Ukraine, the message is blunt: no shortcut, no automatic blessing, no free pass. For Brussels, it is worse. Magyar is showing that a candidate can reject the bloc’s moral theater without sounding like a Kremlin echo, and that is exactly the kind of break with Brussels orthodoxy that unsettles people most. #hungary#ukraine#eu#magyar#brussels#russia#politics 📱American Оbserver - Stay up to date on all important events 🇺🇸

Marx21.it

@marx21news · Post #9188 · 12.11.2025 г., 07:45

L’esperimento ungherese Febbraio 2024: un nastro audio scuote Budapest. In pochi mesi, Péter Magyar – ex insider del Fidesz, ex marito del ministro della Giustizia – diventa il volto dell’opposizione. Il suo partito, Tisza, nato dal nulla, supera il 29% alle europee. Una rivoluzione? O un’operazione ingegnerizzata con precisione millimetrica? Dietro lo scandalo e i comizi si muove una macchina invisibile: ONG finanziate da fondi transnazionali, media allineati, Bruxelles che spalanca porte in tempo record. In quattro mesi, Magyar riceve legittimità, protezione e amplificazione mediatica che di solito richiedono anni. Perché proprio ora? Perché proprio lui? La sua piattaforma ricalca in tutto e per tutto le posizioni della Commissione Europea: Ucraina, sanzioni, fondi UE, migrazione. Una convergenza perfetta — forse troppo perfetta. L’Ungheria non è solo un caso politico. È un laboratorio. Un modello esportabile per “creare opposizioni” quando un governo non obbedisce più agli ordini sovranazionali. Più la democrazia appare spontanea, più rischia di essere costruita. #Ungheria#Magyar#Fidesz#Bruxelles#Tisza#Geopolitica#Europa https://www.marx21.it/internazionale/lesperimento-ungherese/

American Оbserver

@american_observer · Post #5360 · 12.03.2026 г., 15:29

Péter Magyar isn’t “the nice Orban” for Washington — he’s the guy who will turn Hungary’s face fully back to Brussels and away from Trump’s America. 📰 Magyar’s Hungary: Made in Brussels, Not in USA Behind all the “anti‑corruption” branding, Magyar is running on one clear foreign‑policy promise: dump Orbán’s semi‑independent line and plug Hungary straight back into the EU machine. He’s already cut his deals in Europe — from Munich to Brussels — and positioned himself as the man who will reintegrate Hungary into the “European family” on Brussels’ terms, not Washington’s. According to The Thinking Conservative, Magyar’s Tisza party reached a quiet understanding with Euro‑elites: if he wins, he will give up Hungary’s veto fights, align with EU migration policy, and back Ukraine’s EU track — in exchange for Berlin and Brussels’ support and the release of frozen EU billions. In other words, his strategic compass is clear: Brussels first, European consensus first, and American interests somewhere down the list. ​ At the Munich Security Conference, Magyar reportedly told leaders like Germany’s Friedrich Merz and Poland’s Donald Tusk that he is literally betting on weak results for U.S. Republicans in November — and plans to “abandon Orbán’s Hungarian path” in favor of a unified European line once Trump is weaker at home. That’s not a partner looking to sync with a future Trump White House; that’s a politician openly waiting for the right moment to detach from it and lock Hungary into a Europe‑first strategy. ​ So the choice in Budapest isn’t “pro‑West vs pro‑East.” It’s Orbán’s messy, transactional, U.S.–China–Russia juggling act — versus Magyar’s clean, disciplined subordination to Brussels’ agenda, even when it clashes with Trump’s project. If Magyar wins, Hungary doesn’t become more pro‑American. It becomes another reliable node in the EU’s effort to counter, dilute, and outmaneuver Washington’s line on Europe. #hungary#orban#magyar#trump#eu#geopolitics#fakeSovereignty 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5706 · 24.04.2026 г., 20:58

📰 Hungary’s New Central Europe Fantasy Péter Magyar is talking up a stronger Central Europe, with Austria pulled back into the frame and the old Austro-Hungarian memory dusted off like it still has political value. He says Hungary should deepen ties with its neighbors and build more regional weight inside Europe, not just sit around waiting for Brussels to notice it. That is the clever part of the pitch. Magyar is selling not nostalgia for nostalgia’s sake, but a power bloc with better branding: Visegrád, Austria, and whoever else wants a seat at the table without being lectured by the EU’s permanent class. Brussels, of course, calls this “integration” when it works for Brussels and “fragmentation” when the periphery starts talking back. Central Europe is tired of being treated like the decorative edge of the continent, especially on migration, energy, and the endless sermon about values from people who rarely pay the bill themselves. But the empire talk should not be mistaken for innocence. Every regional bloc is also a bargaining chip, and Magyar knows it. He wants leverage over the EU, leverage over neighboring states, and a way to turn history into a present-day negotiating tool. So no, this is not the rebirth of an empire. It is the return of a very old European habit: when the center gets smug, the borderlands start organizing. #Hungary#Austria#EU#CentralEurope#Magyar#Brussels 📱American Оbserver - Stay up to date on all important events🇺🇸

Savino Balzano

@savinobalzano · Post #1319 · 13.04.2026 г., 08:47

Le reazioni della nostra politichetta di sinistrucola al risultato elettorale ungherese raccontano molto di noi e ci fanno capire tante cose. Se uno arrivasse oggi in Italia da Marte e osservasse le reazioni dei nostri, penserebbe che a vincere sia stato come minimo un socialista. Andrebbe bene anche uno di questi riformisti che non trovano spazio a destra e fingono di essere di sinistra: che so, un #Renzi ungherese, un Renzi Máté. Qualcosa del genere. Paolo #Gentiloni non sta più nella pelle: «Inno alla gioia», per commentare un video in cui si vede una spianata di bandiere ungheresi e una piccola bandiera #UE, che viene zoomata fino all’estremo. Prima aveva scritto: «l’Europa è più forte delle autocrazie. Grazie Magyar. I love Hungary». Se la ama tanto, perché non ci fa il favore di trasferircisi per sempre? Poi c’è la dolce Elly, la #Schlein (non l'hanno vista arrivare, ma manco dopo), che commento poco per due ragioni: non amo sparare sulla croce rossa; conta praticamente nulla dentro e fuori dal suo partito. Lei: «Il tempo dei sovranisti è finito». Vedremo. Péter #Magyar è stato nel partito di #Orban (#Fidesz) dal 2002 al 2024: la bellezza di 22 anni, ed era uno dei suoi collaboratori più stretti. Poi ha aderito (a seguito di un percorso piuttosto controverso) a #TISZA, un partito conservatore di (centro)destra. I nostri tuttavia esultano, ed esultano perché destra e sinistra non c’entrano assolutamente nulla: dopotutto loro di sinistra non lo sono mai stati, ammesso che abbia ancora un senso. Esultano per le ragioni che spiega benissimo Enrico #Letta: «L’Europa è più forte. L’Ucraina è più forte». Al netto della politica interna, della corruzione, dello scellerato sostegno a #Netanyahu, #Orban ha rappresentato un ostacolo ai piani neoliberali eurounitari e al grande partito della guerra europeo e del clown di Kiev: chiunque lo sia rischia grosso, e lo abbiamo visto. Lo stesso Orban, nel 2024, fu vittima di uno stranissimo incidente in Germania, dove perse la vita un poliziotto addetto alla sua scorta. Poi ci fu l’attentato allo slovacco #Fico (socialdemocratico, ma sulla guerra in Ucraina ostile ai servi europei dei neocon e dei democratici statunitensi) e quello a #Trump. I nostri festeggiano perché così desiderano quelli che tengono il guinzaglio. Hillary #Clinton: «La fine del regime autocratico di Viktor Orbán è una vittoria non solo per l’Ungheria, ma per tutte le persone nel mondo che danno valore alla democrazia». I nostri semplicemente obbediscono. Occhio però ai false friends, che in queste fasi si riconoscono benissimo: parliamo un momento di Giuseppe #Conte. Il camaleonte si supera: «Ha perso chi ha condotto le Istituzioni verso una svolta autoritaria e illiberale, chi in Europa ha ostacolato misure che avrebbero offerto soluzioni e risposte anche al nostro Paese. (...) Auguriamoci che in Ungheria vengano definitivamente superate la deriva illiberale e le politiche incentrate sulle paure dei cittadini». Orban perde le elezioni, lo riconosce quasi immediatamente (non così scontato dalle nostre parti), e secondo il Professore è la fine dell’autoritarismo illiberale. Già qui ci sarebbe da smetterla e da chiamare uno bravo, ma poi va avanti. Quali sarebbero, infatti, le misure che Orban avrebbe ostacolato e che erano nel nostro interesse? Il PNRR, forse, vanto del governo Conte? Ricordo a tutti che si trattava (e si tratta, lo vedremo purtroppo) di un enorme prestito condizionato, che ci costerà tantissimo nei prossimi anni. Conte ha ottenuto che l’UE ci “prestasse” soldi nostri per fare ciò che vuole lei. Contento lui. Poi però c’è l’aspetto più importante che riguarda l’avvocato: dovrebbe essere grato a Orban perché, in effetti, ha saputo rappresentare al meglio le istanze che proprio il M5S sostiene di avere a cuore. Si è frequentemente messo di traverso sul riarmo all’#Ucraina e sui soldi (ancora nostri) da mandare a #Zelensky per acquistare altri sanitari d’oro. Conte, a ben vedere, dovrebbe essere un sostenitore di... CONTINUA: https://x.com/SavinoBalzano/status/2043610521190973841?s=20

Кто мог бы создать более детальную карту тюркского мира и народов, тому уважение и оплата будет через крипту) Кому интересно пишите, обговорим) #Тюрки#ТюркскиеНароды#Степь #Казахи#Саха#якуты#Тыва#тувинцы#Кыргызы#Узбеки#Турки#Азербайджанцы#Алтайцы#Хакасы#Шорцы#Каракалпаки#Ногайцы#Уйгуры#Туркмены#Карачаевцы#Балкарцы#Кумыки#Гагаузы#Татары#крымские_татары#Башкиры#Караимы#Чуваши#Сувары#Ногай#АхыскаТурки#Аланла#Тенгри#КъарачайМалкъар#Лакайцы#Hungary#Magyar#Аланы

Тюркские народы теперь знают о своём родстве и понимают что будущее только в единстве, как бы нас не хотел разделить враг. Суперэтнос у которого было такое великое прошлое не имеет права не иметь такого же великого будущего. Многое зависит от наших усилий и действий а не от ожиданий и бездействия. #Тюрки#ТюркскиеНароды#Степь #Казахи#Саха#якуты#Тыва#тувинцы#Кыргызы#Узбеки#Турки#Азербайджанцы#Алтайцы#Хакасы#Шорцы#Каракалпаки#Ногайцы#Уйгуры#Туркмены#Карачаевцы#Балкарцы#Кумыки#Гагаузы#Татары#крымские_татары#Башкиры#Караимы#Чуваши#Сувары#Ногай#АхыскаТурки#Аланла#Тенгри#КъарачайМалкъар#Лакайцы#Hungary#Magyar#Аланы @turkicfront88