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

Резултати

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

Пребарај: #krasnoye1st

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

@druschbaFm_en · Post #52695 · 30.03.2025 г., 07:55

⚡️ 🇷🇺 🇺🇦📆 Weekly Ukraine War Roundup⚡️ 🕊 The Negotiation Process was repeatedly undermined by Ukraine, which not only targeted key Russian energy sites with UAVs but also destroyed the strategic 'Sudzha Gas Metering Station.' Reports suggest a British HIMARS crew, using the #US system and French satellite support, was involved, though the full extent of foreign involvement remains to be clarified. Trump's team has hinted that ending the war in 100 Days is unlikely, while #US military aid and intelligence sharing with Kiev continue. 🇷🇺#Russia’s Battlefield Advances remain the main negotiating factor, given economic size and limited diplomatic progress. European bureaucrats, having sacrificed national interests for Washington, now fuel war hysteria to justify arms production. Military preparations against #Russia are evident, with discussions about restoring 'Nord Stream' taking on strategic importance. #Germany has postponed its green transition from 2030 to 2038, while Rheinmetall scrambles to increase arms output. ⚔️Frontline Situation 🔴 In #Sumy Region, there is progress, with Russian forces capturing #Veselovka, another village near #Zhuravka. 🔴 In #Kursk Region, heavy fighting continues. Russian forces have liberated new areas, reaching the 'Sudzha Border Checkpoint.' The AFU retains only two small pockets, offering no real bargaining power. 🔴 In #Belgorod Region, in the border sector, Russian troops fight mobile defensive battles near #Popovka and #Demidovka, areas that have changed hands multiple times last week. The AFU continues to shell the region, inflicting civilian casualties. Despite losing dozens of vehicles, Ukrainian forces retain offensive potential in the #KrasnayaYaruga sector. Additional enemy troop concentrations towards #Belgorod could force 'Group of Troops North' to redeploy units for defence rather than using them in the #Sumy offensive. 🔴 On the #Svatovo Front, further east, Russian forces secured #Krasnoye1st in #Kupyansk sector, expanding their Oskol River bridgehead and threatening the enemy’s flank. 🔴 In other Front Sections, #Russia maintains strategic initiative. South of #Toretsk, Russian forces stretch AFU defences by attacking the 'pocket' on the right #Pokrovsk flank, taking #Aleksandropol and #Panteleymonovka. Battles continue for #Tarasovka. Heavy fighting persists near #Pokrovsk, where the AFU is counterattacking. On the left flank, the RFAF advanced towards #Kotlyarovka, reigniting discussions about reaching the #Dnepropetrovsk region. In #Komar Direction (north of #VelikayaNovosyolka), Russian troops push forward daily. 🔴 In #Zaporozhye Direction, Russian airborne units advance through #Stepovoye and #MalyeShcherbaki towards #Shcherbaki and #Orekhov. In #Kherson, the AFU attempts to create pressure points on the Russian-held bank, particularly near the railway bridge. Ukrainian sabotage groups in the Black Sea continue drone attacks on #Crimea. 🇺🇦The AFU remains capable of organised defence and counterattacks, tying down Russian forces in #Belgorod region. #NATO flights to #Poland confirm that Western aid, though reduced, still reaches the front. Forced conscription enables Kiev, fully reliant on #EU support, to replenish losses and plan new operations. ❗️Talk of an imminent AFU Collapse or successful peace initiatives is premature and damages the RFAF morale. The ongoing need for mobilised troops, now officially acknowledged, shows Russia cannot yet replace them with contract volunteers. Continued reliance on volunteer support also highlights logistical gaps. As #Europe edges closer to war preparations, the need for military reform becomes increasingly urgent. 📌 Notes: A Russian view; in supplement: West of #Toretsk, the AFU advanced in #Shcherbinovka. The RFAF reentered #Uspenovka (#Pokrovsk, left flank). 🗺 Map Tsarov;📋Source: 2M 🕰As of 30 Mar 2025; 07:03 GMT+3 📃29 Mar;#sum 📱 Join GLOBAL DEPTH to boost your TG Feed 💬Join Military Chat for Comments & Discussions 🇺🇦On Ukraine Observer you will find your daily independent Ukraine War Battle Update

DruschbaFM - English

@druschbaFm_en · Post #52561 · 26.03.2025 г., 07:58

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 26 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian lands, for a RFAF presence at #Vladimirovka evidence is still missing (1st blue arrow on map). 🟡 For #Veselovka, the battle continues (1st black arrow). 🟡 In #Zhuravka as well. 🟡#Basovka is at best 50% RFAF controlled. 🟡#Novenkoye, is Russian controlled (1st red arrow). 🟡 In #Kursk region, according to unconfirmed reports, the 'Sudza Gas Transmission Point' is under RFAF control and the battle for the nearby border checkpoint continues (4th black arrow). 🟡#Gogolevka remains under full AFU control (2nd blue arrow). Contrary reports are unproven. 🟡#Melovoy came under the control of Russian troops, which advanced further westwards towards #Oleshnya (2nd red arrow). 🟡#Oleshnya, #Guyevo and #Gornal remain under AFU control for now. 🔴In #KrasnayaYaruga Sector, the AFU 8th Special Forces Regiment and 'Aidar' Nationalists failed to take #Popovka (5th black arrow). Over the past day, the AFU razed the village to the ground with artillery and drones. 🟡 In #Demidovka, nearby to the southeast, Small AFU groups enter periodically, uncapable to take the village (6th black arrow). 🟡 At #Grafovka, lull. 🟡 West of #Prilesye, the AFU have been driven out from Russian territory. 🗺 All on Map 1 🔴 In #Kharkov Direction, positional battles continue In the areas of #Lipsy and #​​Volchansk. A large number of drones, artillery and aircraft are used. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, north of the city, Russian forces created a new bridgehead between #Kamenka and #Krasnoye1st. In the area of #​​Dvurechnaya, the battles continue, as well as on the #Zapadnoye - #Kalinovo line. 🔴 In #Borovaya, #Liman and #Seversk Sectors, without major changes. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, heavy urban battles continue in 'Shevchenko Microdistrict' in the southern part of the city. To the south, fighting in the area of #Stupochki. 🔴In #Toretsk Sector, the RFAF continue attempts to take the city, increasing the pressure in its north. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, Russian troops attack southwest of #Aleksandropol and try to straighten the front. 🔴 South of the City and on the left Flank, no changes. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, the battle for the same named village continues. 🟡 Southeast of #Razliv, the RFAF advanced on a broad front, extending the zone of control in an area up to 4 km wide and up to 2.05 km deep, approaching the settlement located southwest of #Konstantinopol. 🔴 In #Komar Sector, Russian forces repulsed AFU counterattacks in the areas of the #Vesyoloye and #VolnoyePole settlements. 🔴#Zaporozhye Direction: 🔴In #Orekhov Section, the situation based on confirmed and evidenced data has improved for the RFAF: 🟡 In #Shcherbaki, the AFU lost full control. 🟡 In nearby #MalyeShcherbakito the west, the RFAF have advanced. The AFU still hold positions in its far northeast. 🟡 In #Stepovoye's, further west, there are heavy fights in the village. 🎬 Video 1 🗺 Map 2 🟡 In #Lobkovoye, the the RFAF advanced northwards. About 50% of the village came under Russian control. 🗺 Map 2 🟡 #​​Pyatikhatki, came under full RFAF control yesterday. 🗺 Map 2 🔴 In #Kherson Direction, no changes. 💥#OldRussia: 🔵 In #Belgorod Region, civil objects in #Politodelsky, #Kazinka, #Shebekino, #Tishanka and #Bessonovka came under AFU attack. 💥#RestUkraine: 🔵 The RFAF targeted AFU facilities and militants in #Zaporozhye, #Nikolayev and #Dnepropetrovsk, as well as in #Sumy, #Poltava and #Cherkassy regions. 🟡 In #KrivoyRog, more than 15 explosions occurred overnight. 🎬 Video 2 🎞 Vids Source 1; Source 2; 🗺 Maps @olegtsarov; @creamy_caprice 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 26 Mar 2025; 06:41 GMT+3;📃25 Mar 📱 Join GLOBAL DEPTH to boost your TG Feed 💬Join Military Chat for Comments & Discussions 🇺🇦On Ukraine Observer you will find your daily independent Ukraine War Battle Update

DruschbaFM - English

@druschbaFm_en · Post #52278 · 19.03.2025 г., 08:04

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 19 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west in #Ukraine, fights in and around #Zhuravka. To the southeast... 🟡 In #Basovka, the RFAF have advanced and the battle has shifted to the southern settlement part. 🟡 In #Kursk region, the battles for the villages of #Gogolevka and #Guyevo continue. 🟡#Oleshnya and #Gornal remain under AFU control. 🗺 Map 1; added arrows show the mentioned locations, black contested 🔴 In #KrasnayaYaruga Sector, the AFU crossed the border in the area of ​​the #Demidovka, #Grafovka and #Prilesye villages south of #Sudhza in #Belgorod region. Several attack waves have been stopped by destroying armoured vehicles. The AFU remnants tried to get a foothold. Fights on Russian territory, especially towards #Demidovka with tank support continued. According to the latest unconfirmed report, the invaders have withdrawn to their initial positions in #Sumy region. 🎬 Video 1 🗺 Map 2 🔴#Kharkov Direction: 🔴In #Liptsy Section, the AFU counterattacked unsuccessfully in the settlement area of #​​Glubokoye. 🔴 In #Volchansk Section, the battle for the city continues. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, to the north, the RFAF are advancing from #Topoli southwestwards towards #Kamenka, the eastern approaches of which are also attacked. Furthermore Russian troops advance from the south on the village. 🟡 Near #Krasnoye1st(Pervoye), to the southwest, Russin units are advancing on the settlement. 🟡#Figolevka, located further southwest, has been recaptured by the AFU. 🟡 North of #Kupyansk, Russian units are expanding the bridgehead northeast of #Kondrashovka. 🟡 Northeast of #Kupyansk, the AFU counterattacks in the area of #Petropavlovka. 🔴 In #Borovaya Sector, fierce fighting in the northern outskirts of #Boguslavka continues. 🔴In #Liman Sector, Russian troops have advanced to #BalkaZhuravka's northern settlement outskirts and continue to attack in the westerly direction. 🟡 North of #Torskoye, positional battles are taking place. 🔴In #Seversk Sector, fights in the area of #Bologorofka (#LPR) continue. The AFU still hold positions on the Chalk Quarry (White Mountain) south of the village. 🟡 In #Verkhnekamenskoye, fights for the centre. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, fierce battles continue. The AFU counterattacks. 🔴In #Toretsk Sector, the situation is unchanged. 🔴#Pokrovsk Direction: 🔴 South of the City, heavy battles and counterattacks continue. The situation is dynamic. 🟡#Shevchenko has been recaptured by Russian forces. The AFU counterattacks. 🟡 In #Peschanoye, the same situation as for #Shevchenko. 🟡 In #Kotlino, the northwestern outskirts and the cemetery area are embattled. 🔴 On the left Flank, the battle for #Udachnoye continues. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, west of #Andreyevka, the AFU have pushed back Russian assault groups, which attacked towards #Alekseyevka. 🟡 In #Konstantinopol, the RFAF lost control over the village. The AFU have advanced into its centre. 🎬 Video 2 🟡 South of #Konstantinopol, the RFAF expanded their control zone by more than 1 km. The battle for the village continues. 🟡 From #Razdolnoye, Russian units advanced northwards towards #Razliv and #Bogatyr. 🔴 In #Komar Sector, northwest of #VelikayaNovosyolka, the RFAF are building on their success at #Burlatskoye. 🔴#Zaporozhye Direction: 🔴In the #Orekhov Section, we have to clarify that according to objective evidence data, #Shcherbaki, #MalyeShcherbaki and #Stepovoye are still contested. 🔴 In #Kherson Direction, no changes. 💥#OldRussia: 🔵 In #Krasnodar Territory, the AFU struck the 'Kavkazskaya Oil Transshipment Point.' This, after the Trump - Putin call. 🎞 Video 1 Source; 🎞 Video 2 Source 🗺 Maps @olegtsarov 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend; 😼Kotenok 🕰19 Mar 2025; 06:43 GMT+3; #smo 📱 Join GLOBAL DEPTH to boost your TG Feed 💬Welcome to Military Chat & Ukraine Observer 🇺🇦On Ukraine Observer you will find your daily independent Ukraine War Battle Update

DruschbaFM - English

@druschbaFm_en · Post #52668 · 29.03.2025 г., 08:06

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 29 March⚡️ 🔴#Sumy Direction: 🔴 At #Bryansk Border, mutual strikes. 🔴In #Sudzha Sector, to the west on Ukrainian soil, reportedly the RFAF is about to expand the zone of control on a broad front from #Vladimirovka up to #Basovka: 🟡#Vladimirovka- contested; 🟡#Vodolagi - AFU {2nd blue⬆️}; 🟡#Veselovka - taken by the RFAF {1st black⬆️}; 🟡#Belovody - AFU {3rd blue⬆️}; 🟡#Zhuravka - contested; 🟡#Basovka - contested. 🟡#Novenkoye, RFAF {1st red⬆️}. 🟡 In #Kursk region, reportedly, Russian forces advanced from the 'Border Checkpoint' {3rd red arrow} further south and have entered #Oleshnya 4th blue⬅️}. 🟡#Gogolevka, is reportedly RFAF controlled {2nd red⬇️}. 🟡 In #Guyevo, Russians filmed their presence in the village's north and fights further south {4th black⬅️}. 🎬 Video 1 🟡#Gornal remains under AFU control. 🔴In #KrasnayaYaruga Sector, militants enter #Popovka regularly up to its eastern part under RFAF fire {5th black↙️}. 🗺 Map 2 🟡 In #Demidovka, the AFU controls ca. 50% of the village. 🟡 At #Grafovka, lull. 🟡 At #Prilesye as well. 🗺 All on Map 1 🔴 In #Kharkov Direction, without changes. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, far north, Russian troops advanced in #Krasnoye1st. RF MoD claims its takeover. Further south, reportedly: 🟡#MalayaShapkovka has been entered; 🟡#Kondrashovka was taken and 🟡#Tischenkovka has been entered. 🔴 In #Borovaya, #Liman and #Seversk Sectors, and... 🔴#ChasovYar Direction, no major changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, battles continue in the #Panteleymonovka area. To the west, for #Tarasovka. 🔴 South of the City, most of #Lysovka is RFAF controlled. 🔴 On the left Flank, the fighting (afore called clearing) continues in #Uspenovka. 🟡 In #Novoaleksandrovka, the battle for the village reportedly goes on. 🟡#Kotlyarovka has been approached by Russian troops. The AFU counterattack. 🟡 At #Bogdanovka, the RFAF advanced to the southern edge of the village. 🔴#Komar Direction: 🔴In #Bogatyr Sector (afore 'Konstantinopol Sector'), the RFAF advanced north of #Andreyevka in westerly direction and closed half of the pocket. Fighting continues to the west of the village (remember, previously the Russians were driven out of positions further west near #Alekseyevka). 🟡 In #Konstantinopol, Russian troops are still trying to regain control over the settlement. The AFU counterattack. 🟡 In #Razliv, the battle has reportedly shifted to the centre. 🟡On #Bogatyr, the RFAF are advancing on a broad front from the south. 🔴 In #Komar Sector, Russian troops move on #Otradnoye, located west of #Bogatyr. To the west, the battle for #Vesyoloye continue. 🔴#Zaporozhye Direction: 🔴In #Orekhov Section, positional fights in the are of​#MalayaTokmachka - #Rabotino area. Further west reportedly: 🟡 In #Shcherbaki, the battle continues with varying success. 🟡 In #MalyeShcherbakito the west, the RFAF try to get full control of the village. 🟡 In #Stepovoye, further west, the clashes continued. 🟡 In #Lobkovoye as well. 🟡#Pyatikhatki remains RFAF controlled. 🔴 In #Kherson Direction, the RFAF shelled AFU positions, the AFU, in turn, villages. 💥#Russia: 🔵 The AFU struck the 'Transmash Plant' in #Donetsk (#DPR); in #Lugansk (#LPR), the 'Industrial Zone'; in #Belgorod region, #Stroitel and several villages; and in #Kursk Region, again the 'Sudhza Gas Metering Station' and finished it off. 🎬 Video 2 💥#RestUkraine: 🔵 The RFAF, in turn, struck targets in the #Kiev, #Vinnitsa, #Zhitomir, #Kharkov, #Sumy, #Nikolayev, #Cherkassy, #Poltava, and #Chernigov regions, as well as in #Dnepropetrovsk. ⚠️ The Term 'Reportedly' indicates that it is unconfirmed! 🎞Vids Source 1; Source 2; 🗺 Maps @olegtsarov; @creamy_caprice 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 29 Mar 2025; 06:44 GMT+3;📃28 Mar 📱 Join GLOBAL DEPTH to boost your TG Feed 💬Join Military Chat for Comments & Discussions 🇺🇦On Ukraine Observer you will find your daily independent Ukraine War Battle Update