TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Hashtags

Резултати

Пронајдени 11 слични објави

Пребарај: #moonpay

当前筛选 #moonpay清除筛选
TONlines – News

@tonlines · Post #6887 · 21.04.2025 г., 17:58

⚡️The Daily TON: Key Developments and Updates #TON#MoonPay#NFT The Daily TON reports that Toncoin is now accessible in the US via MoonPay. Key highlights include advancements in TON programming languages, a partnership announcement with Ethena, and an analysis of scammers in Telegram chats. Additionally, exciting activities such as a new NFT collection and the Tact Smart Battle contest are underway. Insights are also shared about potential attendees of the TOKEN2049 conference. Source: link @tonlines

TONlines – News

@tonlines · Post #7653 · 30.11.2025 г., 17:45

TON — LIVE: MyTonWallet Update Expands Features #MyTonWallet#MoonPay TON — LIVE informs about the latest update from MyTonWallet, allowing users to withdraw cryptocurrency to bank cards via MoonPay and link a Telegram domain to their wallet. Source: link @tonlines

📰TON is now on MoonPay! Toncoin is now available for purchase via MoonPay in all U.S. states except New York. Users can fund their accounts and buy #TON using various payment methods, including PayPal, Venmo, and bank transfers. 🚀 A giveaway is also live on X (Twitter) — $2000 in TON will be sent to a random MoonPay user who likes this post. #USA#TON#MoonPay

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24521 · 11.05.2026 г., 15:45

【⚙️ 產品技術|MoonPay 收 Dawn Labs 推 AI 交易工具、整合 Polymarket】 加密支付公司 MoonPay 收購 AI 自主交易研究實驗室 Dawn Labs、推出 Dawn CLI 讓用戶用自然語言寫交易策略。首發整合 Polymarket、瞄準預測市場場景。 #MoonPay#Polymarket#AIAgent 📍閱讀全文: https://abmedia.io/moonpay-acquires-dawn-labs-dawn-cli-ai-trading-polymarket-may-2026

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24287 · 01.05.2026 г., 16:10

【🤖 AI|MoonPay 為 AI agent 推 Mastercard 穩定幣卡】 MoonPay 5/1 推 MoonAgents Card:虛擬 Mastercard debit 卡讓 AI agent 直接從鏈上錢包用穩定幣消費於全球 Mastercard 商家。透過 MoonPay CLI + MoonPay Agents 可程式化操作。英國、拉丁美洲先上線,美歐後續推出。創辦人 Soto-Wright:「AI agent 過去能在鏈上做所有事,唯一不能在商家消費,現在可以了。」 #MoonPay#AIagent#Mastercard 📍閱讀全文: https://abmedia.io/moonpay-moonagents-card-ai-agent-stablecoin-mastercard-may-2026

💰New Stablecoins in the TON & Telegram Ecosystem Last year was marked by the successful launch of TON-USDT, which became the most successful in Tether's history, with over 100 integrations, including payment of government fees in the Philippines. At the #TonGateway conference in November, they talked about new stablecoins that are preparing to launch: 🕗USDe from Ethena $USDe launch on TON announced, confirmed by verified contract. #Ethena is the largest DeFi protocol on #Ethereum with TVL of ~$5 billion, ready to increase liquidity and development #DeFi on TON. 🪙UAE Dirham from Tether (AED₮) Tether has announced the launch of a stablecoin pegged to #UAE dirham on TON. This will be the first digital dirham backed by liquid reserves in the UAE and backed by the Central Bank of the UAE. 🪙CRVUSD by Curve Curve Finance, with a TVL of ~$2.5 billion, is considering launching its $crvUSD stablecoin on $TON. The project has been consulting with other projects on implementing its technology, and while nothing has been confirmed, rumors continue. 💲USDC by Circle After adding TON to #MoonPay, introducing mandatory KYC for some key products in the #Telegram ecosystem, the arrival of $USDC will most likely not be long in coming. 🪙tgUSD by Torch Finance Torch Finance, backed by Ton Foundation and TVM Ventures, announced tgUSD, with the ability to pay via Torch Pay. This is a young project, but with serious support and prospects. The launch of more than five stablecoins will give TON a foundation for multi-currency DeFi, increase liquidity, and expand opportunities for ecosystem users.

Crypto M - Crypto News

@CryptoM · Post #64679 · 09.04.2026 г., 13:55

🚀 MoonPay Collaborates to Introduce Stablecoin Payments in Retail MoonPay has announced a partnership with WalletConnect and Ingenic to integrate stablecoin payments into physical retail environments. According to Foresight News, MoonPay's Virtual Accounts, supported by Iron, will facilitate fiat settlement for stablecoin transactions at checkout. #MoonPay#WalletConnect#Ingenic#StablecoinPayments#Retail#FiatSettlement#VirtualAccounts#Iron

Venture Village Wall 🦄

@venturevillagewall · Post #3866 · 13.01.2025 г., 16:00

MoonPay Acquires Helio for $175M MoonPay has acquired the Web3 e-commerce platform Helio for $175 million, marking its largest acquisition to date. The deal enhances MoonPay's capabilities for enabling crypto transactions on platforms like Shopify and Discord. This acquisition comes amid a significant surge in MicroStrategy's BTC holdings, where they recently purchased 2,530 BTC for $243 million. Bitcoin's exchange reserves are at a 7-year low, as hedge funds capitalize on current market conditions. #MoonPay#Helio#Ecommerce#Bitcoin#Crypto#MicroStrategy#USDC#BTC#Blockchain#Shopify#Discord#Payments#Investment#Acquisition#HedgeFunds#MarketTrends#CryptoNews#Finance#Tech#VC

Crypto M - Crypto News

@CryptoM · Post #65030 · 10.04.2026 г., 14:47

🚀 MoonPay, WalletConnect, and Ingenico Enable Stablecoin Payments at Retail Checkouts MoonPay, WalletConnect, and Ingenico have collaborated to facilitate stablecoin payments at physical retail checkouts. According to NS3.AI, this partnership utilizes MoonPay Virtual Accounts for fiat settlement, integrating wallet connectivity with point-of-sale terminals. This allows merchants to accept stablecoin payments and receive immediate fiat conversion. #MoonPay#WalletConnect#Ingenico#Stablecoin#Payments#Retail#Checkout#FiatConversion#NS3AI#VirtualAccounts#WalletConnectivity

Venture Village Wall 🦄

@venturevillagewall · Post #4267 · 28.02.2025 г., 10:00

Uniswap Expands Crypto-to-Fiat Options Uniswap collaborates with Robinhood, MoonPay, and Transak to enable seamless crypto-to-fiat transactions. Users across 180+ countries can convert crypto and deposit funds directly into bank accounts via the mobile wallet. This feature will soon be available on the browser extension and web version. For more details, visit Leviathan News. #Uniswap#Crypto#Robinhood#MoonPay#Transak#Banking#Fiat#DEX#Blockchain#Finance#Tech#Global#Innovation#Payments#Wallet#Transactions#Defi#Onboarding#CryptoAdoption#VC