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 слични објави

Пребарај: #dapps

当前筛选 #dapps清除筛选
TokenPocket

@tokenpocket_channel · Post #1364 · 21.06.2024 г., 12:48

🆕 We just released TokenPocket's new version on iOS.🔺2.3.7🔺 🔵Integrate Changelly on the ‘Trade’ Page. 🔵Support for solana Token2022 Protocol on the ‘Trade’ Page. 🔵Enable Switching to Desktop Mode for #DApps. 🔵Enhance the interaction experience for solana users. 🔵Optimize user experience on the ‘Trade’ Page.

Hashtags

Airdrop3 LTD

@airdrop3ltd · Post #399 · 01.11.2023 г., 09:17

RabbitHole 🐇 is a Web3 platform that allows users to earn rewards by interacting with #dApps. The platform provides diverse tasks and delivers a game-like experience, aiming to bring more users to the worlds of #Web3 and #DeFi. With this plateform, you don’t need to follow complicated steps like Galxe, no answering, retweeting like Layer3. It will gets straight to the point! 🪂 🟣 Sign up here : https://rabbithole.gg/quests?wallet_ref=0xCA99d35880CE5F6c62EbdC82bdAa02A8EA96101F ➖ Complete Daily Tasks on Many Networks with Confirmed Airdrops (zkSync, Base, ..). ➖ Increase your Power Score. ➖ Done! ✅

TokenPocket

@tokenpocket_channel · Post #680 · 24.07.2023 г., 03:31

#DAppListing Explore Linea Ecosystem with TokenPocket. 🔥Stay tuned for more #DApps being listed on TokenPocket and discover the prosperous crypto eco within TokenPocket. 👉https://tokenpocket.pro

TokenPocket

@tokenpocket_channel · Post #694 · 04.08.2023 г., 08:50

🟡 ᴏɴᴄʜᴀɪɴ Sᴜᴍᴍᴇʀ 🟡 #DAppListing Explore #Base Ecosystem with TokenPocket. 🔥Stay tuned for more #DApps being listed on TokenPocket and discover the prosperous crypto eco within TokenPocket. 👉https://tokenpocket.pro

Mirracoin Новости

@MirraChannel · Post #170 · 10.07.2024 г., 09:06

#dApps#DappRadar#Блокчейн#Крипто#Аналитика#Децентрализация#DeFi Какими аналитическими сервисами пользоваться в сфере децентрализованных приложений? В мире децентрализованных приложений (dApps) существует множество аналитических сервисов, которые помогают отслеживать активность, производительность и другие ключевые метрики. Один из самых популярных и мощных инструментов — DappRadar. 🔍 Давайте разберемся, почему он так важен и как им пользоваться! ❓Что такое DappRadar DappRadar — это аналитический сервис, который предоставляет подробную информацию о децентрализованных приложениях, работающих на различных блокчейнах, таких как Ethereum, Binance Smart Chain, Polygon и многих других. Он помогает пользователям отслеживать активность dApps, объемы торгов, количество пользователей и множество других показателей. ⚙️Основные функции DappRadar: • Рейтинги и списки dApps: Удобный интерфейс, который позволяет быстро найти и сравнить приложения по различным критериям, таким как количество пользователей, объем торгов и т.д. • Аналитика и метрики: Подробная статистика по каждому приложению, включая активность пользователей, транзакции, смарт-контракты и многое другое. • Обзоры и новости: Регулярные обновления и аналитические статьи, которые помогают оставаться в курсе последних тенденций в мире dApps. • Поддержка различных блокчейнов: DappRadar работает с большим количеством блокчейнов, что делает его универсальным инструментом для анализа децентрализованных приложений. ❓Как использовать DappRadar 1️⃣Регистрация и вход: Создайте бесплатный аккаунт на DappRadar для доступа ко всем функциям. 2️⃣Поиск и фильтрация: Используйте различные фильтры для поиска dApps по интересующим вас критериям. 3️⃣Анализ данных: Ознакомьтесь с подробной аналитикой по каждому приложению, чтобы принимать обоснованные решения. ⚠️ Помимо DappRadar, есть множество других полезных инструментов для анализа dApps и DeFi проектов. Рассмотрим их в одном из следующих постов… @MirraChannel😎

🚀Telegram Apps Center Launches "Streak System" Telegram Apps Center is a unique platform inside Telegram that allows users to discover and interact with #Web3 ecosystem applications directly in the messenger. Why is Telegram Apps Center important for the Telegram ecosystem? Telegram Apps Center is a strategic move for Telegram, allowing the messenger to move from traditional communication to interactive and functional services. By creating a single platform for #Web3 applications, Telegram not only strengthens its position in the market, but also attracts new users interested in innovative technologies. Activity "Streak System" From November 18 to December 26, 2024, the Telegram Apps Center is hosting a campaign called "Streak System" . The goal of the campaign is to increase user engagement and interest in the services of the platform's partners. How to participate: ✔️ Participants must complete daily tasks (currently launching an app) to build and maintain their "streak" — a series of consecutive days of completing tasks. ✔️ For missed days, you can use "lives", which can be earned or purchased for 150 points. ✔️ There is also a referral mechanism where members earn points for attracting new users. ✔️ Later, the "Wheel of Fortune" will be added — a game feature that gives participants the opportunity to win additional prizes and gifts by spending accumulated points. 🏆 Prizes: The total prize pool is 10,000 TON: 🏅 Main Prize: 1 winner - 2,000 TON. 🏅 Second prizes: 4 winners – 500 TON each. 🏅 Third prizes: 50 winners – 100 TON each. 🏅 Fourth prizes: 100 winners – 10 TON each. You can read the official rules of the promotion here. This activity is definitely worth attention!✈️ #appstore#googleplay#TMA#Telegram#TON#dApps

Venture Village Wall 🦄

@venturevillagewall · Post #3733 · 28.12.2024 г., 04:00

Solana Co-Founder Sued, Binance Adds dApps 💥 Metaplanet CEO discusses Bitcoin ambitions. 👩‍⚖️ Solana co-founder Stephen Akridge faces lawsuit from ex-wife alleging multi-million dollar theft in staking rewards. 🔗Read more here 🆕 Binance Wallet adds support for 9 new dApps including UniSat and WOOFi. 🔗View details 📈 ETF application submitted for Solana futures by Volatility Shares. 🔗Learn more #Bitcoin#Solana#Binance#dApps#Crypto#ETF#SEC#Futures#Blockchain#Finance#Investing#Staking#Lawsuit#CryptoRegulation#DeFi#AI

GitHub Trends

@githubtrending · Post #14848 · 21.06.2025 г., 00:00

#typescript#blockchain#dapps#debugging#ethereum#javascript#smart_contracts#solidity#task_runner#tooling#typescript Hardhat is a powerful Ethereum development tool that helps you write, test, and deploy smart contracts easily and efficiently. It includes a local Ethereum network for testing without real money, advanced debugging tools to find and fix errors quickly, and a flexible plugin system to add extra features. This makes your development faster, safer, and more convenient, especially if you want to build decentralized applications. You can install it with npm, follow simple setup steps, and access many guides and plugins to customize your workflow. Hardhat is widely used by professionals to streamline Ethereum programming and improve code quality. https://github.com/NomicFoundation/hardhat

Venture Village Wall 🦄

@venturevillagewall · Post #3979 · 25.01.2025 г., 07:00

Bitcoin Holdings Shift to Large Investors CryptoQuant analysts reveal that since Trump's election, large investors have increased Bitcoin holdings from 16.2M to 16.4M BTC, while smaller investors reduced their assets from 1.75M to 1.69M BTC. Notably, January 24 saw Bitcoin spot ETF net inflows of $518 million, marking seven consecutive days of inflow, with Fidelity ETF leading at $186 million. Total net assets in Bitcoin spot ETFs now stand at $123.058 billion. #Bitcoin#ETF#Crypto#Investors#Finance#Market#Trends#Assets#Fidelity#SpotETF#Trading#Solana#AllianceDAO#Clout#Dapps#Technology#Innovation#News#Analytics#Quant

Venture Village Wall 🦄

@venturevillagewall · Post #3778 · 02.01.2025 г., 22:00

Uniswap Unveils Exciting v4 Features! Uniswap launches v4, introducing: - 😎 "Hooks" for custom user code execution - 😎 Custom oracles - 😎 Automated liquidity management - 😎 Flash accounting for instant settlements - 😎 Support for multiple pool types In response, $UNI climbs 6% in a day, outperforming the market. More details: link #Uniswap#UNI#DeFi#Crypto#Blockchain#Liquidity#Oracles#Finance#Web3#DApps#Fintech#Investing#Market#Tech#Innovation#V4#FlashAccounting#AutomatedLiquidity#Pools#CryptoNews#NFT