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

Резултати

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

Пребарај: #volnoye

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

@druschbaFm_en · Post #52625 · 28.03.2025 г., 08:05

⚡️ 🇷🇺 🇺🇦⚔️ Ukraine Fronts on the Morning of 28 March⚡️ 🔴#Sumy Direction: 🔴In #Sudzha Sector, to the west on Ukrainian lands, the battle for #Vladimirovka reportedly continued {still unproven; 1st blue arrow on map}. 🟡 For #Veselovka as well, but confirmed {1st black arrow}. 🟡 In #Zhuravka as well. As for... 🟡#Basovka. 🟡#Novenkoye, is RFAF controlled {1st red arrow}. 🟡 In #Kursk region, the 'Sudza Gas Transmission Point' and the 'Border Checkpoint' came under RFAF control {2nd red arrow}. 🎬 Video 🟡#Gogolevka, reportedly has been taken by Russian troops {4th black arrow}. 🟡#Oleshnya remains AFU controlled. 🟡 In #Guyevo, according to unconfirmed reports, the RFAF control the northern part. Fierce fighting continues. 🟡#Gornal remains under save AFU control. 🔴In #KrasnayaYaruga Sector, the battle for #Popovka and #Demidovka continued, so far without tangible success for the AFU {5th/6th black arrow}. 🟡 At #Grafovka, lull. 🟡 At #Prilesye as well. 🗺 All on Map 1 🔴 In #Kharkov Direction, positional battles and aviation operations in the areas of #Liptsy, ​​Volchansk and strikes at AFU rear supply routes. 🔴#Svatovo Front: 🔴 In #Kupyansk and #Borovaya Sector, ongoing battles without significant changes. 🔴In #Liman Sector, Russian troops have advanced towards #Katerinovka and #Novoye. 🔴In #Seversk Sector, fighting at #Belogorovka (#LPR) and #Verkhnekamenskoye is ongoing. 🔴#ChasovYar Direction: 🔴In #ChasovYar and #Toretsk Sectors, the fighting continued, without major changes. 🔴#Pokrovsk Direction: 🔴 On the right Flank, far to the east, battles are taking place in the area of #​​Panteleymonovka. Further west for #Tarasovka and the territory to its west. 🔴 South of the City, the situation remains dynamic. 🟡 In #Peschanoye, Russian troops advanced reportedly in the western and central village parts {according to the map the AFU lost control of its (black added) boundaries}. 🗺 Map 2 🟡 In #Kotlino, the AFU entered (confirmed), and reportedly seized nearly all of the settlement's boundaries. 🗺 Map 3 🔴 On the left Flank, the area of #Udachnoye is sunk in the fog of war. 🟡 In #Uspenovka, Russian troops are reportedly clearing the village and have advanced southwest of it into... 🟡#Novoaleksandrovka, the fighting for which has begun. Further south... 🟡 On #Preobrazhenka's approaches, the fighting continues, as well as towards #Troitskoye and #Bogdanovka. 🔴#Komar Direction: 🔴In #Konstantinopol Sector, the same named village is in the fog of war. 🟡 In #Razliv, to the southwest, the RFAF have reportedly entered the village. 🔴 In #Komar Sector, Russian assault groups broke reportedly through north of #Dneproenergiya and attack the eastern part of #Vesyoloye. The village is also under assault from the south. 🟡 In #Volnoye Pole, Russian forces lost their positions in the centre, but consolidated in the eastern village part. 🔴#Zaporozhye Direction: 🔴In #Orekhov Section, fighting continues in the​#MalayaTokmachka - #Rabotino area. The main battles are taking place further west: 🟡 In #Shcherbaki, the RFAF have advanced into the village's centre. The AFU counterattacks. 🟡#MalyeShcherbakito the west, is still not completely RFAF controlled. 🟡 In #Stepovoye, further west, fighting continues with varying success. 🟡 In #Lobkovoye as well. 🟡#Pyatikhatki is RFAF controlled. 🔴 In #Kherson Direction, fights in the island zone. 💥#OldRussia: 🔵 In #Belgorod Region, the villages of #Belyanka, #Nechayevka, #Tishanka, #Shakhovka, #Smorodino and #Kukuyevka came under AFU fire. 💥#RestUkraine: 🔵 The RFAF struck objects in #Kiev, #Odessa, #Dnepropetrovsk, #Kharkov, #Khmelnitsky, #Nikolayev, #Cherkassy, and Poltava regions. 🎞 Video Source 🗺 Maps @olegtsarov; @petrenko_iHS 📋 Sources: CC; Tsarov; ⚡️2M; 🇺🇦Fiend;😼Kotenok 🕰As of 28 Mar 2025; 06:37 GMT+3;📃27 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