@developmentnewsindia · Post #44355 · 03.05.2026 г., 07:46
🇮🇳🚱🇵🇰 Baglihar Dam’s gates on the Chenab River in Ramban, Jammu & Kashmir, remain shut, with no visible water being released downstream towards Pakistan. #Water
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
Пребарај: #water
@developmentnewsindia · Post #44355 · 03.05.2026 г., 07:46
🇮🇳🚱🇵🇰 Baglihar Dam’s gates on the Chenab River in Ramban, Jammu & Kashmir, remain shut, with no visible water being released downstream towards Pakistan. #Water
Hashtags
@PracticalInformation · Post #1331 · 31.07.2022 г., 05:49
California announces plan to charge landowners for their own water It's not satire — it's Agenda 2030 perfect awareness of all resources and economic activity. California has announced to landowners that they now are going to be billed for the water they take out of their own wells, on their own land. Hundreds of dollars in fees are looming, with 25% penalties for those who don't pay on time: "Landowners whose property is within an unmanaged area and contains an operating ground water extraction well must report the volume of groundwater extracted from the well. The groundwater extraction volume must be reported as a monthly total. In addition to pumping volumes, reports must include the location of the well and the place and purpose of use of the groundwater. Groundwater extraction reports are not due to the state water board until February 1, 2023. However, if you are required to report, the report must include pumping volumes for each month between the date of receipt of this letter and September 30, 2022." #Water https://www.wnd.com/2022/07/california-announces-plan-charge-landowners-water/
Hashtags
@MostInspiring · Post #244 · 03.12.2018 г., 03:16
Most Important Thing in our lives is #water @MostInspiring
Hashtags
@NatureTravelVacationPictures · Post #718 · 16.04.2019 г., 18:30
🌿❤️✨🍃 Turtle🐢🐢🐢 #Water#Nature Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@vorishfursuits · Post #107 · 18.02.2021 г., 04:05
https://www.furaffinity.net/view/33871590/ #water#pooltoy
@ncdcgov · Post #4305 · 14.06.2024 г., 09:00
Contamination of drinking #water can occur at the source, during transportation, or storage at home. Ensure your water is safe before use: ➡️BOIL water before drinking ➡️USE water from safe sources ➡️STORE water in properly covered containers ➡️ENSURE bottled water is properly sealed before buying Advisory: https://ncdc.gov.ng/news/513/stop-cholera%3A-public-health-advisory #STOPCholera
Hashtags
@googlefactss · Post #40493 · 07.01.2026 г., 07:02
A water filter called "Life Straw" allows a person to drink directly from a dirty water source. Extremely portable and easy to use, it filters water through pores that are tiny enough to block parasites and other types of bacteria. [Read more..] @googlefactss#water#nowyouknow
Hashtags
@mdmbeng · Post #2201 · 12.10.2024 г., 11:00
#限免#Water Eject 📳手机震动排水 喇叭清灰App 【 Water Eject 】终身会员限免速收 📣 频道:@mdmbeng 投稿:@mdmbeng_Bot
@interesting_planet_facts · Post #506 · 05.08.2025 г., 20:22
🌎 In Mexico's Yucatán Peninsula, the cenote Ik Kil is a natural sinkhole filled with crystal-clear water, formed by collapsed limestone over thousands of years. Once sacred to the Maya, these cenotes provided fresh water and served as entrances to the underworld in ancient beliefs. ✨ #geology⚡#history⚡#water 👉subscribe Interesting Planet
@NatureTravelVacationPictures · Post #1411 · 28.05.2019 г., 02:30
🌿🍁🍃 Inyo National Park #Water#Places#Nature 💁Join Us ✅🔜@BillionaireHomes 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@naturetravelvacationpictures · Post #429 · 05.04.2019 г., 02:30
🌿❤️✨🍃 Karjini National Park, Australia #Places#Water#Nature Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@NatureTravelVacationPictures · Post #1539 · 08.06.2019 г., 03:20
🌿🌻✨🍃 #Scenery#Nature#Water Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃