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

Резултати

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

Пребарај: #automatedtrading

当前筛选 #automatedtrading清除筛选
SLEX NEWS

@slex_io · Post #69 · 19.07.2023 г., 12:32

🚀Are you ready to elevate into a crypto trading game?🤖 SLEX will bring an array of bots designed to supercharge your trading strategies and maximize your profits. Let us introduce to you the different types of SLEX trading bots: 1️⃣ Grid Bot: This intelligent bot follows a buy-low, sell-high approach by strategically placing orders at predefined price intervals 🌊📈📉 2️⃣ Arbitrage Bot: Say hello to the Arbitrage Bot, which hunts for pricing inefficiencies and swiftly executes trades to exploit them 💸💱 3️⃣ DCA Bot: The DCA Bot allows you to gradually build your crypto position over time by spreading out your orders at regular intervals📉🔄📈 4️⃣ AI Bot: Experience the future of trading with our AI Bot, which executes trades, identifies patterns, and develops robust trading strategies 🤖📊 👉Open the window to the future with the prospects of SLEX trading bots: SLEX.io/registration #SLEX#TradingBots#CryptoTrading#AutomatedTrading Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter

SLEX NEWS

@slex_io · Post #73 · 01.08.2023 г., 13:32

🚀 Hello, SLEXians! 🤖As you already know SLEX platform will launch an Automatic Trading Feature along with AI-Powered Trading Bots! 💻Trading around the clock, analyzing market trends, executing trades, and even learning from market shifts – that's what our Automatic Trading Feature ensures. 🤔But we're curious... What's your trading style? Are you ready to use Trading Bots and AI? Or do you prefer a hands-on approach to navigating the crypto world? 🌊 Jump into the comments and let us know! 🗣️ We're excited to hear how you plan to use (or not use) these advanced features on the SLEX platform! 💬👥 #SLEX#CryptoTrading#AutomatedTrading#AI#TradingBots Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter

FX EA TRADER

@fxeatrader2023 · Post #420 · 20.10.2023 г., 08:52

🤖Unlock Automated Trading with Ease: Buy Our Robot with Bitcoin or USDT! Ready to embrace the future of trading with Forex EA Trader? We've got great news for you - now you can purchase our cutting-edge robot using Bitcoin or USDT, making it even more convenient to access our advanced trading technology. Whether you're a cryptocurrency enthusiast or prefer the stability of USDT, we've got you covered. Say goodbye to complicated payment methods and hello to a seamless trading experience. Don't miss out on this opportunity to elevate your trading journey. Get started today and see the power of automation in action! 📈Achieve Consistent Profits 📊Diversify Your Portfolio 🚀Maximize Returns, Minimize Risk Join us on this exciting trading adventure. Buy our robot now with Bitcoin or USDT and watch your investments grow effortlessly! Ready to get started? Simply contact @niko139 to purchase our robot with your preferred cryptocurrency. Let's make trading simpler and more profitable together! 💪✨#ForexEATrader#Bitcoin#USDT#AutomatedTrading

FX EA TRADER

@fxeatrader2023 · Post #366 · 05.10.2023 г., 18:19

🤖Unlock Automated Trading with Ease: Buy Our Robot with Bitcoin or USDT! Ready to embrace the future of trading with Forex EA Trader? We've got great news for you - now you can purchase our cutting-edge robot using Bitcoin or USDT, making it even more convenient to access our advanced trading technology. Whether you're a cryptocurrency enthusiast or prefer the stability of USDT, we've got you covered. Say goodbye to complicated payment methods and hello to a seamless trading experience. Don't miss out on this opportunity to elevate your trading journey. Get started today and see the power of automation in action! 📈Achieve Consistent Profits 📊Diversify Your Portfolio 🚀Maximize Returns, Minimize Risk Join us on this exciting trading adventure. Buy our robot now with Bitcoin or USDT and watch your investments grow effortlessly! Ready to get started? Simply contact @niko139 to purchase our robot with your preferred cryptocurrency. Let's make trading simpler and more profitable together! 💪✨#ForexEATrader#Bitcoin#USDT#AutomatedTrading

Daily Channels

@dailychannels · Post #6471 · 09.11.2025 г., 01:00

Channel: Crypto Signals & Automated Trading Bot Members: ~4K 💢 Username: @cryptosignalalert Description: Founded in 2017 - We provide high quality ALT COIN, Spot & Margin Signals, BTC Signals No of Trial/Free Signals Sent - 290 Success Ratio Of Trial/Free Signals - 100% We do provide Crypto Bot for Automated Trades Contact - @cripexperts for Premium Group 🏷 Tags: #crypto_fx_trading #cryptosignal#automatedtrading#cryptobot#bitcoinbot https://telegramchannels.me/channels/cryptosignalalert

Crypto M - Crypto News

@CryptoM · Post #65410 · 13.04.2026 г., 05:53

🚀 South Korea Warns of Crypto Market Abuse via APIs South Korea's Financial Supervisory Service has issued a warning to consumers regarding increasing abuse in the cryptocurrency market linked to APIs. According to NS3.AI, these application programming interfaces are responsible for approximately 30% of the nation's virtual asset trading volume. The regulator highlighted that automated trading programs are being utilized to artificially inflate transactions and manipulate market conditions. In response, a consumer advisory was released, providing examples of such misconduct to raise awareness among investors. #SouthKorea#Crypto#Cryptocurrency#API#MarketAbuse#Regulation#ConsumerProtection#AutomatedTrading#VirtualAssets#InvestorAwareness

Crypto M - Crypto News

@CryptoM · Post #64557 · 09.04.2026 г., 07:54

🚀 Binance Trading Bot Adds Full USDⓈ-M Futures Support for Position Snowball Strategy Binance Trading Bot will extend Position Snowball support to all existing Futures Grid USDⓈ-M Futures contracts, excluding ETHBTC Perpetual, effective April 9, 2026 at 08:00 UTC, according to a Binance Announcement. Position Snowball is an automated trading strategy that scales positions using unrealized profits, designed for directional trending markets. The expansion broadens the strategy's contract coverage beyond its previous scope, giving users access to a wider range of futures instruments within the automated bot framework. #Binance#TradingBot#USD-MFutures #PositionSnowball#FuturesGrid#AutomatedTrading#CryptoTrading#UnrealizedProfits#TrendingMarkets#BinanceAnnouncement