@fight4f · Post #8470 · 18.06.2024 г., 12:41
沙特阿拉伯放棄石油美元預示美國經濟問題 沙烏地阿拉伯上週不再續簽與美國簽訂的長達50年的在石油交易中專門使用美元的協議,這是個大新聞,但在互聯網上簡單搜索一下就發現,而西方主流媒體並沒有對此進行任何報道。 #沙烏地阿拉伯 #USDollar #經濟 #PetroDollar @PressTV
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
Пребарај: #usdollar
@fight4f · Post #8470 · 18.06.2024 г., 12:41
沙特阿拉伯放棄石油美元預示美國經濟問題 沙烏地阿拉伯上週不再續簽與美國簽訂的長達50年的在石油交易中專門使用美元的協議,這是個大新聞,但在互聯網上簡單搜索一下就發現,而西方主流媒體並沒有對此進行任何報道。 #沙烏地阿拉伯 #USDollar #經濟 #PetroDollar @PressTV
Hashtags
@CryptoM · Post #65442 · 13.04.2026 г., 08:59
🚀 U.S. Dollar's Share in Global Reserves Hits Lowest Since 1994 The U.S. dollar currently represents approximately 46% of global foreign exchange and gold reserves, according to NS3.AI, citing data from the International Monetary Fund (IMF). When excluding gold, the dollar accounts for 57% of global reserve currencies, marking its lowest share since 1994. #USDollar#GlobalReserves#IMF#ForeignExchange#GoldReserves#ReserveCurrency #1994
@CryptoM · Post #64914 · 10.04.2026 г., 09:23
🚀 Analyst Predicts US Dollar Support Amid Potential Inflation Rise ING analyst Francesco Pesole suggests that the US dollar could receive support if the March US Consumer Price Index (CPI) indicates a notable acceleration in inflation. According to NS3.AI, Pesole attributes the potential rise in inflation to increasing energy prices associated with the Iran conflict. He also notes that the Federal Reserve will be monitoring for secondary effects on core inflation in the upcoming months. #USDollar#Inflation#CPI#FederalReserve#EnergyPrices#IranConflict#CoreInflation#FrancescoPesole#NS3AI
@venturevillagewall · Post #3957 · 23.01.2025 г., 07:00
Goldman Sachs CEO on Bitcoin's Speculative Nature Goldman Sachs CEO David Solomon states that the firm cannot engage in Bitcoin transactions due to regulatory constraints. He also dismissed Trump's strategic Bitcoin reserve proposal, labeling Bitcoin a speculative asset that won't undermine the US dollar's status. Read more here. #Bitcoin#GoldmanSachs#Dollar#Regulation#Crypto#Speculation#Finance#Investment#DavidSolomon#USDollar#CryptoNews#MarketUpdate#Banking#DigitalAssets#USD#Web3#Economy#Blockchain#VC
@CryptoM · Post #65333 · 13.04.2026 г., 00:13
🚀 PRECIOUS METALS | U.S. Inflation and Fed Rate Cut Expectations Impact Gold Prices On April 13, Jin10 reported that a research note from CITIC Securities highlighted the significant rise in U.S. overall inflation for March, driven by soaring oil prices, while core inflation remained moderate. According to Jin10, CITIC Securities anticipates minimal risk of secondary inflation in the U.S. and suggests that April's CPI may continue to show elevated growth due to compensatory increases in rental inflation. If oil prices decline slowly, U.S. CPI could remain above 3% year-on-year for the rest of the year. CITIC Securities also forecasts a 25 basis point rate cut by the Federal Reserve within the year, which may lead to a weaker U.S. dollar in the near term. This scenario could create liquidity-driven recovery opportunities for gold prices. Additionally, U.S. equities might benefit from improved risk appetite, while U.S. Treasury yields may lack sufficient downward momentum due to economic fundamentals. #PreciousMetals#USInflation#FedRateCut#GoldPrices#CITICSecurities#OilPrices#CoreInflation#CPI#USDollar#USEquities#USTreasuryYields
@CryptoM · Post #65254 · 12.04.2026 г., 10:37
🚀 Oil Prices May Rise as U.S.-Iran Talks Fail, Says Saxo Bank Strategist Saxo Bank's Chief Investment Strategist, Charu Chanana, has commented on the recent failure of U.S.-Iran negotiations, describing it as a setback. According to Jin10, this development suggests that previous easing trades might dissipate, potentially leading to a rise in oil prices and a renewed impact on risk sentiment. The Strait of Hormuz remains a significant chokepoint risk, even if it is not completely closed. Chanana noted that the substantial differences in positions between the two parties on nuclear safeguards and the Strait of Hormuz issues make this outcome unsurprising. For the U.S. dollar, this situation could mean a resurgence of safe-haven support, although a full-scale surge is unlikely unless there is a new military escalation. Gold might benefit from renewed geopolitical hedging demand, but the market is not expected to revert to the worst-case inflation shock scenario. #OilPrices#USIranTalks#SaxoBank#CharuChanana#RiskSentiment#StraitOfHormuz#USDollar#Gold#GeopoliticalHedging#SafeHaven#NuclearSafeguards#MilitaryEscalation#MarketImpact
@CryptoM · Post #65351 · 13.04.2026 г., 01:57
🚀 Barclays Analysts: Asian Central Banks Likely to Maintain Monetary Policy Amid Middle East Conflict On April 13, Barclays Bank's fixed income, foreign exchange, and commodities research team released a report suggesting that Asian central banks may keep their monetary policies unchanged in the short term due to ongoing Middle East conflicts. According to Jin10, the analysts noted that the Monetary Authority of Singapore is likely to maintain its current policy this week, expressing concerns over the risks of extreme negative growth rather than inflation. Meanwhile, Barclays believes that unless the U.S. dollar significantly depreciates against the Indonesian rupiah before the upcoming Bank Indonesia meeting, the Indonesian central bank is unlikely to quickly resume its rate-cutting cycle. Additionally, the central banks of Thailand and the Philippines, which are also holding meetings this month, are expected to remain on hold. #Barclays#AsianCentralBanks#MonetaryPolicy#MiddleEastConflict#Singapore#Indonesia#Thailand#Philippines#InterestRates#BankIndonesia#USdollar#Rupiah#RateCut