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

Пребарај: #nadeyevka

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

@druschbaFm_en · Post #52441 · 23.03.2025 г., 08:03

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 22 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west, the battles for #Zhuravka and #Basovka on Ukrainian territory continue, without mayor changes. The AFU are reinforcing. #Novenkoye became Russian. 🟡 In #Kursk region, the village of #Rubanshchina is under safe Russian control (large red arrow to the right on map), #Gogolevka, #Oleshnya, #Guyevo and #Gornal remain under AFU control for now (4 large blue arrows on map). 🟡 At #Gogolevka, the RFAF attack towards the village. 🟡#Melovoy has been confirmed entered by Russian troops (small black arrow on map). The takeover of the village and further advance westwards would threaten the AFU garrison in #Gogolevka (to the northwest) with encirclement. 🟡 At #Guyevo, Russian troops attack the village from the north. 🔴 In #KrasnayaYaruga Sector, the AFU continue to penetrate the Russian #Belgorod region with infantry groups to a depth of 1 1/2 -2 km at the #Demidovka - #Grafovka line, as well as at #Prilesye further south. Both sides operating with UAV and artillery support. The RFAF is also striking the AFU deployment area in adjacent #Sumy region. Both sides are reinforcing, For now: 🟡#Demidovka's ruins remain under RFAF control. 🟡#Grafovka also and 🟡#Prilesye as well. 📌Given the Events, after 4 days of attacks without any success, the AFU's offensive attempts can be seen as another failure. The #Kursk offensive itself was the turning point of the war. As a result, the AFU gained nothing, but suffered heavy losses of material, militants (🎬1) and territory in other front sections. 🗺 All on Map 🔴 In #Kharkov Direction and on #Svatovo Front, the battles continued without significant changes. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, the northwestern part of the city has reportedly come fully under RFAF control, with further advances west and southwest of the city centre. If true, the AFU will soon have to withdraw from the centre and only parts of the city's southwest will remain under AFU control. 🔴In #Toretsk Sector, without changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far east, the RFAF attack towards #Aleksandropol. Further west, the battle for #Tarasovka continues. 🔴 South of the City, heavy fights in the areas of ​#Shevchenko and #Peschanoye. Both villages are contested, with the RFAF controlling a larger part. 🔴 On the left Flank, the AFU repelled several attacks in the area of #​​Udachnoye. Battles near #Nadezhdinka (#Nadeyevka; RFAF control). Developments: 🟡 ​​#Uspenovka, according to unconfirmed reports, has been recaptured by the RFAF. 🟡 At #Preobrazhenka, the RFAF attacks at the eastern village edge. 🟡 At #Zaporozhye, the RFAF advanced north of the village and southwest of it towards #Bogdanovka. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, fights in the area of #Andreyevka (RFAF control) and on the eastern edge of the 'Stavkovaya Beam.' Otherwise, no major changes. 🟡 At #Konstantinopol (grey zone), the battles continue. 🔴 In #Komar Sector, the yesterday reported start of the battle for #Vesyoloye village has been confirmed. 🔴#Zaporozhye Direction: 🔴In the #Orekhov Section, fighting is taking place near #MalyeShcherbaki, in the area of #Stepovoye (RFAF control) and on the approaches to #Lobkovoye. 🔴 In #Kherson Direction, the RFAF struck successfully AFU targets with aviation and UAVs. 💥#OldRussia: 🔵In #Rostov Region, a Ukrainian drone hit a civilian multi-story building in #RostovOnDon, wounding 2 persons. 📸 Pic 🟡 In the #DPR, the AFU hit civilian targets in #Gorlovka, killing a man. 💥#RestUkraine: 🔵 In #Zaporozhye, the RFAF hit AFU targets with reportedly 40 UAVs (incl. thermobaric warheads) in the city. 🎬 Video 2 🎞 Vids Source 1; Source 2; 🗺 Map @olegtsarov 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 22 Mar 2025; 06:34 GMT+3;📃21 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 #52411 · 22.03.2025 г., 08:05

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 22 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west, the battles for #Zhuravka and #Basovka on Ukrainian territory continue, without mayor changes. The AFU are reinforcing. #Novenkoye became Russian. 🟡 In #Kursk region, the village of #Rubanshchina is under safe Russian control (large red arrow to the right on map), #Gogolevka, #Oleshnya, #Guyevo and #Gornal remain under AFU control for now (4 large blue arrows on map). 🟡 At #Gogolevka, the RFAF attack towards the village. 🟡#Melovoy has been confirmed entered by Russian troops (small black arrow on map). The takeover of the village and further advance westwards would threaten the AFU garrison in #Gogolevka (to the northwest) with encirclement. 🟡 At #Guyevo, Russian troops attack the village from the north. 🔴 In #KrasnayaYaruga Sector, the AFU continue to penetrate the Russian #Belgorod region with infantry groups to a depth of 1 1/2 -2 km at the #Demidovka - #Grafovka line, as well as at #Prilesye further south. Both sides operating with UAV and artillery support. The RFAF is also striking the AFU deployment area in adjacent #Sumy region. Both sides are reinforcing, For now: 🟡#Demidovka's ruins remain under RFAF control. 🟡#Grafovka also and 🟡#Prilesye as well. 📌Given the Events, after 4 days of attacks without any success, the AFU's offensive attempts can be seen as another failure. The #Kursk offensive itself was the turning point of the war. As a result, the AFU gained nothing, but suffered heavy losses of material, militants (🎬1) and territory in other front sections. 🗺 All on Map 🔴 In #Kharkov Direction and on #Svatovo Front, the battles continued without significant changes. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, the northwestern part of the city has reportedly come fully under RFAF control, with further advances west and southwest of the city centre. If true, the AFU will soon have to withdraw from the centre and only parts of the city's southwest will remain under AFU control. 🔴In #Toretsk Sector, without changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far east, the RFAF attack towards #Aleksandropol. Further west, the battle for #Tarasovka continues. 🔴 South of the City, heavy fights in the areas of ​#Shevchenko and #Peschanoye. Both villages are contested, with the RFAF controlling a larger part. 🔴 On the left Flank, the AFU repelled several attacks in the area of #​​Udachnoye. Battles near #Nadezhdinka (#Nadeyevka; RFAF control). Developments: 🟡 ​​#Uspenovka, according to unconfirmed reports, has been recaptured by the RFAF. 🟡 At #Preobrazhenka, the RFAF attacks at the eastern village edge. 🟡 At #Zaporozhye, the RFAF advanced north of the village and southwest of it towards #Bogdanovka. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, fights in the area of #Andreyevka (RFAF control) and on the eastern edge of the 'Stavkovaya Beam.' Otherwise, no major changes. 🟡 At #Konstantinopol (grey zone), the battles continue. 🔴 In #Komar Sector, the yesterday reported start of the battle for #Vesyoloye village has been confirmed. 🔴#Zaporozhye Direction: 🔴In the #Orekhov Section, fighting is taking place near #MalyeShcherbaki, in the area of #Stepovoye (RFAF control) and on the approaches to #Lobkovoye. 🔴 In #Kherson Direction, the RFAF struck successfully AFU targets with aviation and UAVs. 💥#OldRussia: 🔵In #Rostov Region, a Ukrainian drone hit a civilian multi-story building in #RostovOnDon, wounding 2 persons. 📸 Pic 🟡 In the #DPR, the AFU hit civilian targets in #Gorlovka, killing a man. 💥#RestUkraine: 🔵 In #Zaporozhye, the RFAF hit AFU targets with reportedly 40 UAVs (incl. thermobaric warheads) in the city. 🎬 Video 2 🎞 Vids Source 1; Source 2; 🗺 Map @olegtsarov 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 22 Mar 2025; 06:34 GMT+3;📃21 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 #52724 · 31.03.2025 г., 08:55

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 31 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian lands, the AFU counterattacked. Furthermore, video evidence has 👉emerged. As a result, the corrected situation (our added large arrows on map have been always correct) based on confirmed information and evidence is as follows: 🟡#Vladimirovka- AFU; {1st blue⬆️}; 🟡#Vodolagi - AFU {2nd blue⬆️}; 🟡#Uspenovka in Russia - contested {1st black⬆️}; 🟡#Veselovka - contested {2nd black⬆️}; 🟡#Belovody - AFU; 🟡#Zhuravka - contested; 🟡#Basovka - contested. 🟡#Novenkoye, RFAF {1st red⬆️}. 🟡 In #Kursk region, #Gogolevka and the 'Border Checkpoint' are RFAF controlled, an entry in #Oleshnya {4th blue⬅️} remained unconfirmed, fighting towards the village. 🟡 For #Guyevo, the battle continues. 🟡#Gornal is AFU controlled. 🔴In #KrasnayaYaruga Sector, the AFU in #Popovka and surrounding are under constant fire {6th black↙️}. 🟡 In #Demidovka, the battle on the ground continues. 🟡 At #Grafovka and #Prilesye, lull. 🗺 All on Map 1 🔴#Kharkov Direction: 🔴In #Liptsy Section and in #Volchansk, positional battles. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, Russian troops are expanding the bridgehead north of the city. 🔴In #Liman Sector, the battle for #Katerinovka has begun. 🔴In #Seversk Sector, fighting at #Belogorovka and towards #Verkhnekamenskoye. An entry into the latter remained unconfirmed. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, without major changes. 🔴In #Toretsk Sector, the battle for the city continues. To the west, the AFU have further advanced in #Shcherbinovka and entered #Leonidovka. 🗺 Map 2 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, fighting continues in the area of #Panteleymonovka and #Aleksandropol, the full control of which is disputed. Northwest of the former, the RFAF advanced to the southern edge of #Valentinovka. To the west, the battle for #Tarasovka is ongoing. 🔴 South of the City, fighting for #Lysovka. #Shevchenko and #Peschanoye are RFAF controlled for now. East of #Kotlino the AFU advanced; in the village itself the RFAF at best hold the far southeastern edge (see 28 Mar). 🗺 Map 3 🔴 On the left Flank, Russian troops have at best presence in #Udachnoye's far southeastern part. The AFU have breached into #Solenoye. In #Uspenovka the RFAF reentered (earlier reports on clearing have not been confirmed) and attack towards #Novoaleksandrovka (reports on fights inside have not been confirmed). 🗺 Map 3 🟡#Nadezhdinka (#Nadeyevka) has been reentered by Russian forces (in the meantime, they have somehow lost control of the village). 🟡 Towards#Kotlyarovka and #Preobrazhenka, Russian assaults continue. 🔴#Komar Direction: 🔴In #Bogatyr Sector, the battle for #Konstantinopol continues. This contrary to 'Two Majors,' who have emphasised 'liberated' more than once (they know about the real facts). In #Razliv, the RFAF have consolidated their positions in the eastern, central and western parts of the settlement. 🔴 In #Komar Sector, the battle for #Novosyolka has shifted to the village's centre. 🔴#Zaporozhye Direction: 🔴In #Orekhov Section, the fighting continues. 4 villages remain contested: 🟡#Shcherbaki; 🟡#MalyeShcherbakito the west; 🟡#Stepovoye, further west; 🟡#Lobkovoye; 🟡#Pyatikhatki is RFAF controlled. 🗺 Map 4 🔴 In #Kherson Direction, the AFU shell villages. 💥#OldRussia: 🔵 AFU UAVs attacked #Bryansk, #Belgorod and Kursk regions, as well as #Crimea. 💥#RestUkraine: 🔵 The RFAFstruck with Iskanders in the #Sumy region, and 'Geraniums' worked in #Kiev, they reported a massive strike by UAVs on targets in the Zhitomir region. ⚠️ The Term 'Reportedly' indicates that it is unconfirmed, today without! 🗺 Maps @olegtsarov; @z_arhiv 📋 Sources: CC; Tsarov; 🇺🇦Fiend;⚡️2M;🐈Cat😼VK 🕰As of 31 Mar 2025; 07:26 GMT+3;📃29 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 #52226 · 18.03.2025 г., 08:03

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 18 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, west of the city on Ukrainian territory, battles are being fought for the villages of #Zhuravka and to the southeast for #Basovka. 🟡 In #Kursk region, heavy battles are taking place for the villages of #Gogolevka, most of which is under Russian control, and #Guyevo. 🟡#Oleshnya and #Gornalin the far south are the last villages in the #Kursk region still under AFU control. 🗺 Map 1 🔴#Kharkov Direction: 🔴In #Liptsy Section, there are positional battles, as well as... 🔴 In #Volchansk Section, especially in and in the area of the city. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, north of the city, the expansion of the Russian bridgeheads on the right bank of the Oskol River continues. 🟡 In the area of #Petropavlovka, Russian troops have advanced almost 1 km towards #Kupyansk. 🔴 In #Borovaya Sector, the battle for #Boguslavka continues with fierce fighting in its northern outskirts. 🔴In #Liman Sector, Russian troops attack in the areas of ​​#Yampolovka and #Novolyubovka. 🔴In #Seversk Sector, the RFAF attack in the area of #Verkhnekamenskoye. Otherwise positional battles. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, Russian troops continue attacks in the settlements area of #OrekhovoVasilyevka and #Grigorovka. 🟡 In the City, Russian forces are advancing in several microdistricts. 🟡 Towards #Stupochki, south of the city, the Russians are attacking as well. 🔴In #Toretsk Sector, fights for #Krymskoye, in the city itself and even in the southern 'Zabalka Microdistrict' continue. 🗺 Map 2 🔴#Pokrovsk Direction: 🔴 On the right Flank, far east the front has been reactivated. The RFAF advanced from #Novobakhmutovka in the direction of #Aleksandropol. 🟡 Towards #Aleksandropol2nd and #Tarasovka, Russian assault groups are attacking. 🗺 All on Map 2 🔴 South of the City, battles for #Lysovka, #Shevchenko, #Peschanoye, and #Kotlino continue. 🔴 On the left Flank, battles for #Udachnoye continue. 🟡 In #Uspenovka, the RFAF could regain 50% control. 🟡 Southwest of #Nadezhdinka (#Nadeyevka), Russian units are attacking towards #Kotlyarovka. 🟡#Preobrazhenka has been entered by Russian forces. There are fights in the eastern settlement part. 🔴#Komar Direction: 🔴In #Kontantinopol Sector, Russian assault groups are attacking from the area of #Andreyevka towards #Alekseyevka. 🔴 In #Komar Sector, the RFAF advanced south of the #Vesyoloye village along the forest belt. Further southwest, the RFAF expanded the control zone on the #Privolnoye - #Novosyolka line up to 2 km, taking up new positions south of #Privolnoye. 🔴#Zaporozhye Direction: 🔴In the #Orekhov Section, the RFAF continue the offensive north of #Nesteryanka and southeast of #Shcherbaki on a broad front towards #Novoandreyevka, in the vicinity of which the town of #Orekhov itself is located to the northeast. 🟡#Shcherbaki, #MalyeShcherbaki and #Stepovoye came under Russian control. Clearing is taking place. This according to unconfirmed reports. Further evidence or confirmation from the opposing side are currently missing. 🟡 Nort of #Pyatikhatki, there is fighting on the approaches to #Lobkovoye. 🗺 Map 3 💥 In #Kherson Direction, mutual strikes. The RFAF targets EW systems, vehicles, and firing positions while the AFU concentrate on civilian objects. 💥#OldRussia: 🔵 In #Belgorod Region, the AFU attacked civilian targets in several villages overnight, causing civilian casualties. 🎯 The RFAF struck targets in #Dnepropetrovsk, #Kiev, #Odessa, #Cherkassy, #Poltava, and #Nikolayev regions. 🗺 Maps @olegtsarov; @voenkorKotenok 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend; 😼Kotenok 🕰18 Mar 2025; 06:40 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