@developmentnewsindia · Post #43991 · 23.04.2026 г., 17:00
Noida-based Maraal Aerospace has successfully flight tested it's Tejasvaan solar powered UAV. #Drones
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #62 · 4 апр.
Когда разрабатываете свой GUI с помощью PyQt для какого-либо софта бывает необходимо позаимствовать цвета из текущего стиля интерфейса. Например, чтобы правильно раскрасить свои виджеты, подогнав их по цвету. Ведь бывает, что ваш GUI используется в разных софтах. Причём некоторые со светлой темой а другие с тёмной. По умолчанию стили наследуются, но если вы задаёте какую-либо раскраску для части виджета через свой styleSheet, то требуется ссылаться на цвета текущего стиля. Как это сделать? Как получить нужный цвет из палитры имеющегося стиля? Это достаточно просто, нужно использовать класс QPalette и его роли. Например, мне нужно достать цвет текста из одного виджета и применить его в другом как цвет фона (не важно зачем именно так, просто захотелось😊). Получаем палитру виджета и сразу достаём нужный цвет, указав его роль. from PySide2.QtGui import QPalette color = main_window.palette().color(QPalette.Text) теперь можем использовать этот цвет в стилях my_widget.setStyleSheet(f'background-color: {color.name()};') Готово, мы динамически переопределили дефолтный стиль используя текущий стиль окна! На самом деле есть запись покороче, в одну строку и без лишних переменных. Не очень-то по правилам CSS, но Qt это понимает. my_widget.setStyleSheet('background-color: palette(Text);') Этот способ не подходит если вам нужно как-то модифицировать цвет перед применением в своих стилях. В этом случае потребуется первый способ. Зато он прекрасно сработает в файле .qss, то есть не придётся в коде прописывать раскраску отдельных элементов через ссылки на палитру, всё красиво сохранится в отдельном файле .qss! QListView#my_widget::item:selected { background: palette(Midlight); } Про имеющиеся роли можно почитать здесь🌍 #qt#tricks
Пребарај: #drones
@developmentnewsindia · Post #43991 · 23.04.2026 г., 17:00
Noida-based Maraal Aerospace has successfully flight tested it's Tejasvaan solar powered UAV. #Drones
Hashtags
@developmentnewsindia · Post #43920 · 22.04.2026 г., 13:13
Ahmedabad-based Gridbots has developed an indigenous throwable tactical robot (Throwbot) for CQB called HummingBird. #Drones
Hashtags
@voir_yeux · Post #12017 · 07.03.2026 г., 09:14
🇷🇺🇺🇦La défense aérienne russe a abattu 124 drones ukrainiens au-dessus des régions russes au cours de la nuit dernière, a annoncé le ministère russe de la Défense. #russie#drones
@abmedia_news · Post #23837 · 13.04.2026 г., 11:33
【🚀 傳統金融|華爾街日報:香港成伊朗洗錢據點,48 億美元地下金流曝光 】 #Drones#Geopolitics 📍 請見報導: https://abmedia.io/hong-kong-iran-money-laundering-exposed 📍 訂閱鏈新聞頻道:https://linktr.ee/abmedia.io
Hashtags
@developmentnewsindia · Post #44430 · 05.05.2026 г., 05:53
Indian startup Hoverit completed vehicle-mounted launch trials of its Divyastra Mk-2 long-range attack drone, with rocket-assisted takeoff testing next. The Divyastra Mk-2 has a range of 1,500–2,000 km, payload of 50–100 kg, and incorporates AI swarm intelligence with GPS-denied navigation capability. #Drones#Defence https://defence-blog.com/india-builds-a-shahed-type-strike-drone-with-2000-km-range/
@developmentnewsindia · Post #44426 · 05.05.2026 г., 04:46
JUST IN | Armory gets ₹100 crore order from MOD. Company to provide indigenous Al-powered counter-unmanned aerial systems called SURGE. #Defence#Drones
@developmentnewsindia · Post #44124 · 27.04.2026 г., 11:53
India just unveiled a supersonic loitering munition 🇮🇳 Meet Super Kaatil built by Dynamatic Technologies. A drone that combines the precision of a loitering munition with supersonic speed. Here is what it actually is👇 • 100 kg platform powered by a compact jet engine • Supersonic speed, faster than any conventional loitering munition • 350 km strike range for deep strike missions • 35 kg warhead for high value targets • Works in GPS denied and jammed environments • Terrain following flight to stay under radar coverage The original Kaatil had a 100 km range. Super Kaatil triples that and adds supersonic speed on top. #Drones#Defence
@developmentnewsindia · Post #44082 · 26.04.2026 г., 06:27
BREAKING: India is reshaping air warfare with the ADC-S (Air Dropped Canisterised Swarm) project, turning transport aircrafts into long-range stand-off strike platforms. The system can deploy multiple autonomous #drones from airborne canisters for deep strikes over 500 km away, even in GPS-denied environments, with high precision. Built under an indigenous framework, ADC-S signals India’s shift from platform-centric warfare to scalable swarm warfare and autonomous combat systems. #Defence https://fxtwitter.com/i/status/2048041840805581203
@developmentnewsindia · Post #43992 · 23.04.2026 г., 17:01
Hyderabad-based Redon Systems has successfully completed Field Trials of it's indigenous Achuk-150 loitering munition from Bheeshan launcher. #Drones#Defence
@developmentnewsindia · Post #43551 · 13.04.2026 г., 12:11
ZUPPA Delivers Over 500 STQC Certified Cyber Secure #Drones to the Indian Army. #Defence
@developmentnewsindia · Post #43527 · 12.04.2026 г., 16:00
Chief of the Army Staff General Upendra Dwivedi visited New Space Research & Technologies, where he was briefed on the organisation’s indigenous capabilities in unmanned and high-altitude systems. The interaction highlighted advancements in swarm drone technologies and ISR capabilities, critical for ensuring persistent surveillance and robust communication support in harsh operational environments. #Drones#Defence
@developmentnewsindia · Post #44294 · 01.05.2026 г., 14:20
Major relief to India's drone industry Conflict in West Asia has severely impacted their supplies and deliveries, causing heavy penalties for delays beyond their control. The Ministry of Finance now clarifies: if your contract was disrupted by the West Asia situation, you will receive an additional 2 to 4 months and face no fines. Fair and practical. #Drones#policy