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

Резултати

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

Пребарај: #defense

当前筛选 #defense清除筛选
Indian Development News 🇮🇳

@developmentnewsindia · Post #43483 · 12.04.2026 г., 00:19

Next-Gen Radar Tech | High-Altitude Dominance Central Acquisition Radar – Prime, designed by LRDE, DRDO and manufactured by Bharat Electronics Limited (BEL), is strengthening India’s Air defence with an indigenous Phased Array Radar engineered for extreme altitudes and unmatched vigilance. 🔹 Electronic beam steering for rapid detection of airborne threats up to 150 km 🔹 Advanced ECCM ensures reliable performance in heavy jamming environments 🔹 GaN-based radar delivering higher efficiency, extended range, and superior performance 🔹 Integrated IFF system for accurate friend-or-foe identification 🔹 Real-time data sharing for seamless integration with weapon systems 🔹 Fully automated, mobile, single-vehicle platform with an integrated energy system, operable up to 4500 m AMSL #Defense

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43450 · 10.04.2026 г., 13:06

Indian Navy’s 6 Next Gen Missile Vessels (NGMV) will pack serious capabilities with 18 KAMEWA Waterjets from KONGSBERG Maritime. Unlike conventional propellers, waterjets draw water in, accelerate it, and eject it at high speed delivering: ✅ Superior stealth (lower acoustic signature) ✅ High-speed performance & rapid acceleration ✅ Exceptional manoeuvrability (ideal for littoral warfare) ✅ Reduced draft perfect for shallow waters ✅ Better survivability (no exposed propellers) #Defense

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43324 · 07.04.2026 г., 08:23

"At DRDO, we have three or four laboratories that work specifically on materials... The DRDO has realised the importance of materials long back, and this is one of the thrust areas in DRDO. I would like to point out the challenges we face. It is very easy to develop materials in a laboratory. A lot of new work happens in academic institutions as well as in various DRDO labs. But very few of these get translated into industrial production." – Samir V Kamat, Chairman, DRDO #Defense

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43321 · 07.04.2026 г., 06:11

InsideFPV executed ₹10 crore MoD kamikaze drone contract in 60 days under emergency procurement. Delivered hundreds of drones with operating range −35°C to 50°C and GPS-denied capability. Company scaling to 20,000 sq ft facility for higher-volume defence orders. #Defense

Hashtags

Egountchi Behanzin Officiel

@egountchibehanzinOfficiel · Post #6990 · 11.08.2024 г., 18:45

#DEFENSE Bonne nouvelle !! Renforcement de la coopération militaire AES - RUSSIE 🇷🇺 : le Mali 🇲🇱 et le Burkina Faso 🇧🇫 participeront au forum "Armée-2024". Les ministres de la Défense du Mali et du Burkina Faso ont confirmé leur participation au forum international militaro-technique "Armée-2024", qui se tiendra du 12 au 14 août dans la région de Moscou, au centre culturel Patriot. L'événement sera l'occasion de nouvelles discussions stratégiques. Question: Selon vous, est-ce une bonne stratégie le renforcement militaire avec la Russie pour les pays de l'AES ? Exprimez-vous @egountchibehanzinTV

Hashtags

Indian Development News 🇮🇳

@developmentnewsindia · Post #43566 · 13.04.2026 г., 17:06

BSNL signs agreement to deliver LEO-based high-speed, secure satellite internet to the Indian Army, a move aimed at ensuring resilient, encrypted, and real time battlefield connectivity while reducing reliance on vulnerable terrestrial networks and significantly enhancing operational readiness in contested battlespaces. #Defense#Space

Interesting Planet 🌍

@interesting_planet_facts · Post #504 · 05.08.2025 г., 16:22

🌎 Australia’s frilled lizard sports a dramatic neck frill that pops up like an umbrella when threatened, making the animal appear larger and scaring away predators—nature’s instant fright mask! ✨ #reptiles⚡#adaptation⚡#defense 👉subscribe Interesting Planet

Interesting Planet 🌍

@interesting_planet_facts · Post #457 · 29.07.2025 г., 14:22

🌎 The Saturniid moth caterpillar wears a suit of bright, stinging bristles that can inject venom, deterring predators with both bold color and painful defense. ✨ #insects⚡#defense⚡#nature 👉subscribe Interesting Planet

ПретходнаСтраница 1 од 5Следна