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

Резултати

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

Пребарај: #malayashapkovka

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

@druschbaFm_en · Post #52784 · 02.04.2025 г., 08:02

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 2 April⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian lands, there were no reports on major changes. Thus, the situation is likely as follows: 🟡#Vladimirovka- AFU; {1st blue↗️}; 🟡#Vodolagi - AFU; 🟡 Russian #Uspenovka - contested {1st black↘️}; 🟡#Veselovka - contested; 🟡#Belovody - AFU; 🟡#Zhuravka, contested; 🟡#Basovka, contested. 🟡#Novenkoye - RFAF {1st red⬆️}. 🟡 In #Kursk region, fighting continues north of the AFU controlled #Oleshnya, east of which Russian troops have (confirmed) advanced on the village. For #Guyevo the battle continues, the respective control zone of both parties is disputed. #Gornal is AFU controlled. 🔴In #KrasnayaYaruga Sector, fighting for #Popovka {6th black↙️} and #Demidovka is ongoing. 🗺 All on Map 1 🔴 In #Kharkov Direction, Russian aviation and artillery are reportedly striking the AFU's logistics routes. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, Russian units advanced west of the Oskol River towards #Kondrashovka, the battle for which has begun. Thus, the Russian claims regarding the village and #MalayaShapkovka to it's northwest, reported on 29 Mar have proven wrong. It has just been reported that Russian units have entered #Kondrashovka's north. 🗺 Map 2 🔴 In #Borovaya Sector, no major changes. 🔴In #Liman Sector, the battle at #Katerinovka and #Novoye continues. 🔴In #Seversk Sector, the most intense clashes are at #Belogorovka's chalk quarry. 🔴#ChasovYar Direction: 🔴In #ChasovYar Sector, positional battles without major changes. 🔴In #Toretsk Sector, fighting in the city for the 'Toretskaya Mine' in the north, in the western outskirts and in the southern 'Zabalka Microdistrict' continued, as well as to the west for the villages of #Shcherbinovka and #Leonidovka. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, the RFAF are still assaulting the southern village edge of #Valentinovka. Fighting continues around the recently taken #Panteleymonovka and for #Tarasovka further west. 🔴 South of the City, ongoing fighting along the frontline, without changes. 🔴 On the left Flank, the situation is dynamic. Reportedly, fierce fighting continues for #Udachnoye and in the #Uspenovka - #Novoaleksandrovka area. The AFU are trying to take #Uspenovka to slow down the Russian advance in #Novoaleksandrovka, the capture of which would enable further advance to #Novosergeyevka. 🟡 South of #Kotlyarovka, there was reportedly a breakthrough, Russian units cut of #Preobrazhenka from #Troitskoye and blocked the approaches to it from #Kotlyarovka. Currently, #Preobrazhenka is being cleared. The battles for #Kotlyarovka and #Bogdanovka continue. 🗺 Map 3 🔴#Komar Direction: 🔴 In #Bogatyr Sector, fighting around #Andreyevka and for #Konstantinopol continues. 🟡 For #Razliv, the RF MoD also claimed the takeover, but failed to provide evidence. The published video did not include the large buildings with blue roofs we mentioned yesterday. 🎬 Video 🔴 In #Komar Sector, at #Vesyoloye, Russian stormtroopers reportedly penetrated the AFU defences. In #VolnoyePole, fierce fighting for control over the settlement continues. 🔴#Zaporozhye Direction: 🔴In the #Orekhov Section, the battles for the 4 contested villages continue. 💥 In the #DPR, an AFU UAV hit City Bus No. 2 in #Gorlovka yesterday morning, wounding 15 civilians. 💥 In #Kherson Direction, the RFAF aviation carried out a massive bombing of the right Dnieper bank. 💥#Russia: 🔵The AFU attacked with UAVs at night. In #Kursk, at least 15 explosions were reported. In #RostovRegion, two apartment buildings in #Taganrog were damaged. 💥#RestUkraine: 🔵 The RFAF struck #Kharkov, #Kramatorsk and #Odessa with UAVs. ⚠️ The Term 'Reportedly' indicates that it is unconfirmed! 🎞 Videos Source 🗺 Maps @olegtsarov; @petrenko_iHS 📋 Sources: CC; Tsarov; 🇺🇦Fiend;⚡️2M;🐈Cat😼VK 🕰As of 2 Apr 2025; 06:53 GMT+3;📃1 Apr 📱 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 #52884 · 05.04.2025 г., 08:07

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 5 April⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian soil, the battles for #Veselovka and #Zuravka continue. 🟡#Basovka has reportedly been captured by Russian forces {3rd black⬆️}. 🟡 In #Kursk region, the AFU still controls #Oleshnya. South of #Guyevo, there is reportedly fighting along the road to 'St. Nicholas Monastery' which is part of AFU controlled #Gornal. 🔴In #KrasnayaYaruga Sector, the villages of #Popovka and #Demidovka remain contested. Fighting continues. 🗺 All on Map 1 🔴#Kharkov Direction: 🔴In #Liptsy and #Volchansk Sections, positional battles, no change. 🔴#Svatovo Front: 🔴 In #Kupyansk Sector, intense fighting in the area of ​​Oskol bridgeheads north of the city: #Kamenka has been entered by Russians troops. 🗺 Map 2 🟡 For #Figolevka, to the south, reportedly the battle has begun again. About 2 weeks ago the AFU recaptured the settlement. 🟡 In #Kondrashovka's northeastern part, fighting continues, as well to its northwest in nearby #MalayaShapkovka's southeastern part (unconfirmed). 🔴 In #Borovaya Sector, without changes. 🔴In #Liman Sector, battles are taking place west of #BalkaZhuravka. The RFAF took #Novolyubovka. To the west, fighting towards #Novoye and #Katerinovka continues. 🔴For #Seversk Sector, no news. 🔴#ChasovYar Direction: 🔴In #ChasovYar and #Toretsk Sectors, without major changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, the battle for #Tarasovka is ongoing. Otherwise no major changes. 🔴 South of the City, the situation is reportedly as follows: 🟡 Near #SukhoyYar (AFU controlled), there are positional battles. 🟡#Lysovka is mostly under Russian control, with exception of its northwestern part. 🟡 At #Zelenoye' northeastern outskirts, there are counter-fights. 🟡 At #Novoukrainka, Russian forces press towards the settlement. 🟡#Shevchenko is RFAF controlled. 🟡 Northeast of #Peschanoye and in #Zverevo, Russian assault units are attacking. 🟡 In #Kotlino's northwestern part, counterattacks take place. The AFU try unsuccessfully to enter the settlement's industrial zone (which should be east of the mostly AFU controlled village). 🔴 On the left Flank, reportedly fierce counterbattles in the area of #Udachnoye. RFAF assault units are restoring the situation in the village's northern part and have made significant progress in the residential area towards the central part. 🟡#Uspenovka, according to RF MoD claims, shall been taken. 🔴#Komar Direction: 🔴In #Bogatyr Sector, fighting at #Andreyevka and for #Konstantinopol continued. Near #Bogatyr, the RFAF reportedly extended their control zone. 🔴 In #Komar Sector, no major changes. 🔴#Zaporozhye Direction: 🔴In the #Orekhov Section, the RFAF advanced along the forest belts south of #Kamenskoye to a depth of up to 500 m. Otherwise no major changes. 💥 In the #DPR, the AFU struck #Gorlovka, killing a woman and wounding 5 more civilians. 💥 In #Kherson Direction, the AFU struck several villages, wounding civilians. 💥#OldRussia: 🔵 In #Bryansk Region, the AFU damaged a PS in the village of #Lemeshovka, violating the agreement. Also several villages and an agricultural enterprise have been attacked. 🟡 In#Samara region, UAVs hit the 'JSC Promsintez Plant' in #Chapayevsk, which produces explosives. 🟡 In the Republic of #Mordovia, UAVs have hit the 'JSC Optic Fiber Systems Plant' in #Saransk, crucial for the RF defence industry. 📸 Picture 💥#RestUkraine: 🔵 The RFAF struck targets in #Kiev, #Zhitomir, #Sumy, #Vinnitsa and #Cherkassy regions at night. 🟡 In #KrivoyRog, there was a massive UAV attack. Claims on an alleged missile strike are contradictory, the published footage does not allow the incident to be assessed. 🎬 Video ⚠️ The Term 'Reportedly' indicates that it is unconfirmed! 🗺 Maps @olegtsarov; @petrenko_iHS 📋 Sources: CC; Tsarov; 🇺🇦Fiend;⚡️2M;🐈Cat😼VK 🕰As of 5 Apr 2025; 06:36 GMT+3;📃4 Apr 📱 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 #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