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

Резултати

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

Пребарај: #martynovka

当前筛选 #martynovka清除筛选
DruschbaFM - English

@druschbaFm_en · Post #51795 · 09.03.2025 г., 08:12

⚡️🇷🇺🇺🇦⚡️ Two Majors #Summary Overview for the Morning of 9 March 2025; 06:55 (GMT+3)⚡️ ⚔️ Key Frontline Developments 🔹 The Russian Army has launched a large-scale operation to liberate #Sudzha in the #Kursk region. Using a bold manoeuvre along a gas pipeline, troops breached AFU defences, encircled #Martynovka, raised the flag in #CherkasskoyePorechnoye, and engaged in battle within #Sudzha itself, where the enemy is retreating. The same pipeline once carried gas to #Europe via #Ukraine, with Kiev collecting transit fees even during the war. 🔹 The Offensive followed extensive preparations - bridges, communication hubs, and UAV relay stations were targeted. While heavy fighting continues, AFU defences have been pushed back significantly. 🌍 International Situation: War vs. Peace 🔸 Trump’s Efforts to limit aid to #Ukraine are largely symbolic. Kiev has stockpiles for months. Meanwhile, #Europe ignores #US intelligence-sharing bans and prepares for a larger conflict. The #EU plans to allocate $800 billion to Ukraine, the Bundeswehr and Polish military are expanding, and Macron has even suggested nuclear escalation. 🔸 British and French Interests: Due to #France and #Britain’s ambitions in the #Odessa region, Russian nightly strikes with Geran drones and missiles continue. London is increasing its control over AFU operations, boosting Ukraine’s naval capabilities and promoting its military leadership. ⚔️ Frontline Pressure and Tactical Shifts 🔹 Oskol River: A new foothold is being secured south of #Kupyansk. 🔹#Seversk Sector: Fighting has moved west of #Belogorovka. 🔹#ChasovYar: Russian forces advance in the Western district. 🔹#Pokrovsk: Ukrainian reserves have been deployed, with villages changing hands multiple times. 🔹#VelikayaNovosyolka: Russian control expands westward. 🔹#Zaporozhye Front: Clashes persist over #Pyatikhatki and approaches to #Shcherbaki. 🔹#Kherson Direction: Ukrainian forces attempted a landing near 'Antonovsky Bridge' but were eliminated. 🛡 Drone Attacks and Air Defence 🔹 Ukrainian Drones continue targeting Russian oil refineries. Some regions have strengthened air defences, but enemy drones still reach critical infrastructure due to organisational failures. No one takes responsibility for destroyed fuel depots or damaged equipment. 💥 Ukrainian Strikes on Russian Territory 🔹 The AFU continues targeted terror attacks on civilians in Russian border regions and the #DPR. This raises doubts about any 'peace agreements' and highlights the failure of past international monitoring efforts, such as the OSCE mission in #Donbass. 🕊 Reality of 'Peace Talks' 🔹 In Reality, war preparations are escalating. Even without additional European supplies, Ukraine can sustain combat for months. Mobilisation in Ukraine remains active, ensuring AFU combat readiness. The enemy has adapted to manpower shortages and semi-encirclements, fortifying new defensive lines while slowing Russian advances. 🔹 The only decisive Factor would be a complete halt to all Western military funding and intelligence support. However, the military-industrial complex and Western elites are deeply invested in prolonging the war. 🇷🇺 Russia: The Key to Lasting Peace 📌 The Russian Army remains the only force shaping conditions for long-term stability and securing a strong position for Russian policymakers on the global stage. 💬Welcome to Military Chat; 🇬🇧Battle Maps 📱 Join GLOBAL DEPTH to boost your TG Feed GLOBAL DEPTH from #HK This channel aims to unite interested individuals from around the world in an attempt to connect the dots. Subscriber participation is always welcome here and in the channel's Chat Group.

DruschbaFM - English

@druschbaFm_en · Post #51858 · 10.03.2025 г., 08:12

⚡️🇷🇺🇺🇦⚡️ Two Majors #Summary for the Morning of 10 March 2025; 06:39 (GMT+3)⚡️ 🔹 In #Kursk Region, in two full days of large-scale Russian Army offensive operations, significant gains have been achieved.🗺🎬👆Liberated settlements include #MalayaLoknya, #Loknya, #Nikolsky, #Lebedevka, #Kositsa, #Pravda, #Martynovka, #Kubatkin, #Viktorovka, #StarayaSorochina, and #CherkasskoyePorechnoye. This morning, reports confirmed the capture of #Makhnovka near #Sudzha, where retreating enemy forces are regrouping. Fighting is ongoing on the outskirts of #Sudzha. Several settlements were seized thanks to a 'pipeline manoeuvre - Russian assault units advanced over 15 km in a narrow space, emerging behind enemy lines and engaging in battle, causing panic. Until reinforcements arrived, assault groups fought encircled, awaiting a breakthrough. #Novenkoye in the #Sumy region has also been captured, roads are under fire control, and bridges have been destroyed to prevent enemy retreat. The objective is not to push AFU forces back but to annihilate them. This decisive push, combined with prolonged preparation and intense combat, has yielded significant results, marking the beginning of an operation that will go down in history. 🛡 Several UAVs were destroyed or suppressed in two districts of the Voronezh region overnight. Explosions were reported in #Novokuybyshevsk, #Samara region. Russian forces targeted a gas distribution station near #Lucerna (north of #Zaporozhye) with Geran drones. Additional explosions were reported in the #Kiev and #Dnepropetrovsk regions. 🔹 North and South of #Kupyansk, on the western bank of the Oskol River, AFU is urgently reinforcing positions westward in response to Russian foothold expansion. 🔹 In #Toretsk, the enemy continues sending personnel and equipment through gaps in Russian defences, only to end up surrounded and facing superior Russian forces. 🔹 Near #Pokrovsk, Russian troops are engaged in combat with counterattacking AFU units near #Peschanoye and #Shevchenko, with villages frequently changing hands. 🔹 West of #Kurakhovo, #Konstantinopol has been captured, confirmed by multiple videos showing Russian troops raising flags in different parts of the settlement. 🔹 On the #Zaporozhye Front, Russian forces continue fierce battles for #Pyatikhatki and advance towards #Shcherbaki. Air support is assisting infantry by striking enemy positions. Reports also indicate progress towards #Danilovka, north of #Rabotino. 💥 In #Belgorod Region, Ukrainian forces continue attacks on civilians. In the #Balka hamlet, two UAVs destroyed a private house by fire. In #Zhelobok, a drone struck a parked civilian vehicle. In the Valuysky district, a drone strike set a car ablaze in the settlement of #Dalny. In the village of #Borki, an FPV drone detonated within a private residence. In Grayvoron district, a drone targeted a commercial facility in #Golovchino. In #Shebekino, a man was injured by a detonated 'Kolokolchik' mine nearby. 💬Welcome to Military Chat; 🇬🇧Battle Maps 📱 Join GLOBAL DEPTH to boost your TG Feed GLOBAL DEPTH from #HK This channel aims to unite interested individuals from around the world in an attempt to connect the dots. Subscriber participation is always welcome here and in the channel's Chat Group.