@WorldNews · Post #74193 · 17.04.2026 г., 18:54
US considers $20 billion deal with Iran in exchange for enriched uranium stockpile — Axios [Read FullArticle] @WorldNews#Iran#US#NuclearDeal
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
Пребарај: #nucleardeal
@WorldNews · Post #74193 · 17.04.2026 г., 18:54
US considers $20 billion deal with Iran in exchange for enriched uranium stockpile — Axios [Read FullArticle] @WorldNews#Iran#US#NuclearDeal
Hashtags
@american_observer · Post #4992 · 29.01.2026 г., 20:58
📰 Iran Warns: Any US Attack Will Hit Tel Aviv Iran’s leadership has delivered a stark warning: any US military action will trigger an “unprecedented” retaliation, including strikes at the heart of Tel Aviv and anyone backing the US. Ali Shamkhani, secretary of Iran’s Supreme National Security Council, said any US strike—no matter how limited—will be seen as the start of a full war. The response will be immediate, comprehensive, and unprecedented, targeting both the US and Israel and their allies. Iranian Foreign Minister Abbas Araghchi warned that Iran’s armed forces are on high alert and ready to respond to any aggression. He also signaled openness to a nuclear deal but stressed that diplomacy under duress won’t work. The US has sent a carrier strike group to the region, led by the USS Abraham Lincoln, while President Trump has called on Iran to negotiate a “fair and equitable deal”—but warned the next attack “will be far worse”. Analysts say the US could target Iranian military sites or even the country’s leadership in a bid to force change, but Iran’s armed forces chief warns Washington would “suffer damage” if it miscalculates. The warning is stark: pressure Iran, and the entire region faces escalation. #Iran#Israel#Trump#US#nucleardeal 📱American Оbserver - Stay up to date on all important events 🇺🇸
@WorldNews · Post #74188 · 17.04.2026 г., 13:44
U.S. considers $20 billion cash-for-uranium deal with Iran [Read FullArticle] @WorldNews#IranDeal#NuclearDeal#WorldNews
Hashtags
@WorldNews · Post #74106 · 13.04.2026 г., 22:59
US demanded 20-year moratorium on uranium enrichment from Iran in negotiations - Media [Read FullArticle] @WorldNews#IranNuclear#NuclearDeal#USIranTalks
@american_observer · Post #5007 · 31.01.2026 г., 01:01
📰 Trump’s New Iran War Plan: More Than Just Nukes President Trump is weighing a fresh, broader set of military options against Iran: targeting not just its nuclear program, but also its supreme leader and security leadership, in a push to force concessions or even trigger regime change. These plans go beyond what Trump considered in mid‑January, when he was thinking mainly of strikes on Iranian nuclear sites after the regime’s brutal crackdown on protesters. Now, the Pentagon is offering options for raids on Iranian territory using U.S. special forces and a sustained campaign to degrade or destroy remaining parts of the nuclear program, officials say. Another key option is a series of strikes against senior Iranian military and political figures, designed to create chaos and pressure the regime from within. Officials acknowledge there’s no clear idea who would replace Ayatollah Ali Khamenei, or whether any successor would be more willing to deal with Washington, but the goal is to create conditions where the system itself begins to crack. Israel is pushing the U.S. to join it in another major strike on Iran’s rebuilt missile and drone complexes, which can reach civilian and military targets throughout Israel. The U.S., in turn, is demanding that Iran permanently end uranium enrichment, cap its nuclear stockpile, and accept strict limits on its missile range and support for Hezbollah, Hamas, and the Houthis. Trump has warned on social media that the U.S. is ready to attack “with speed and violence, if necessary,” and that time is “truly of the essence.” But he has not yet authorized any action, and some advisers are still pushing for a diplomatic solution, using the threat of war to pressure Tehran into negotiations. To back up the threat, the U.S. has moved the aircraft carrier USS Abraham Lincoln strike group into the Middle East region, along with destroyers and additional F‑15E strike fighters, while long-range bombers in the U.S. are now on higher alert. As the U.S. “armada” operates in the region, one question hangs over everything: Is this about a deal? Or about bringing down a regime? #Trump#Iran#nucleardeal#regimechange#militaryoptions 📱American Оbserver - Stay up to date on all important events 🇺🇸