@developmentnewsindia · Post #44388 · 04.05.2026 г., 08:20
BHEL has completely indegenised Zorya Mashproekt 40 MW Gas Turbines. #MakeInIndia
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
Пребарај: #makeinindia
@developmentnewsindia · Post #44388 · 04.05.2026 г., 08:20
BHEL has completely indegenised Zorya Mashproekt 40 MW Gas Turbines. #MakeInIndia
Hashtags
@developmentnewsindia · Post #44266 · 01.05.2026 г., 02:20
Carrier Global to invest ₹863 crore in Sri City plant for chiller systems; project to create 721 jobs. Move aligns with Andhra Pradesh 6 GW data centre target, localising cooling infra for hyperscale facilities and reducing supply chain dependence. #MakeinIndia
Hashtags
@developmentnewsindia · Post #44220 · 30.04.2026 г., 06:19
🇷🇺🤝🇮🇳 Rosatom deploys RusBeam 2800 industrial 3D printer in India using EBAM technology for aerospace components. System can produce metal parts up to ~2.8 m and ~4 tonnes, marking entry into India’s additive manufacturing market. #MakeInIndia https://t.co/BNRzsaWaUx
Hashtags
@developmentnewsindia · Post #44214 · 30.04.2026 г., 03:20
BHEL partners with NSTL-DRDO to transfer Gas Turbine-Infrared Suppression System (GT-IRSS) technology for naval vessels. Boosts #MakeinIndia. Source
Hashtags
@developmentnewsindia · Post #44080 · 26.04.2026 г., 06:04
Azad Engineering inaugurates 7,600 sq m Hyderabad facility to support Baker Hughes global supply chain. Plant is its 4th unit, integrated with Centre of Excellence; partnership with Baker Hughes spans ~8 years. Focus on aerospace, defence, energy manufacturing expansion. #MakeInIndia https://t.co/ZxbXjq1xQo
Hashtags
@developmentnewsindia · Post #44031 · 24.04.2026 г., 15:12
Diasave Ltd has inaugurated a 4 million units/year dialyser membrane production facility at Andhra Pradesh MedTech Zone in Visakhapatnam, the first of its kind in India. #MakeInIndia
Hashtags
@developmentnewsindia · Post #43904 · 22.04.2026 г., 04:21
🇮🇳🤝🇯🇵Now, JSW has brought in another partner, Japan’s JFE Steel, with a combined ₹30,000 crore investment in Odisha. This JV with JFE will expand Bhushan Power & Steel (BSPL) to 10 MTPA capacity. JSW’s upcoming steel projects in Odisha: 1. Paradip - 13.2 MTPA (WIP) 2. Keonjhar - 5 MTPA 3. Dhenkanal - 6 MTPA 4. Sambalpur - 6 MTPA expansion (from 4 to 10 MTPA) #MakeInIndia
Hashtags
@developmentnewsindia · Post #43788 · 18.04.2026 г., 15:24
JSW Steel has approved a joint venture with South Korea’s POSCO Group to set up a 6 MTPA integrated steel plant in Odisha. The project will be executed through Saffron Resources, which will become a 50:50 JV between the two companies. This JV is for the Keonjhar steel plant. #MakeInIndia
Hashtags
@developmentnewsindia · Post #43769 · 18.04.2026 г., 07:11
UltraTech Cement has crossed the 200 million tonnes per annum capacity mark, becoming the world’s largest cement maker outside China. #MakeInIndia
Hashtags
@developmentnewsindia · Post #43591 · 14.04.2026 г., 14:09
Karnataka plans Mandya industrial hub with ARAI facility; ecosystem size proposed ~500 acres vs initial 100 acres. Site options include ~105 acres at Basaralu and ~425 acres at Bellur; separate proposal seeks 2,550 acres for electrical equipment manufacturing. #MakeInIndia
Hashtags
@developmentnewsindia · Post #43393 · 09.04.2026 г., 03:33
Japan's Daikin Industries is setting up its first R&D centre outside Japan in India . The ₹1,000 crore hub will be focused on chillers and AC systems for data centres, residential, and commercial use. The centre, likely near its existing Neemrana plant, will hire 500 engineers from top Indian institutions. Beyond R&D, Daikin is also building a compressor plant, setting up a local refrigerant production entity, and investing ₹200 crore to locally manufacture data centre chillers #MakeInIndia
Hashtags
@MyGovCoronaNewsdesk · Post #13382 · 22.04.2025 г., 05:43
Indian Automobiles, Global Dreams! 🌍🚗 India’s auto exports race ahead with a massive 73% surge from 2014 to 2025! #MakeInIndia
Hashtags