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

Резултати

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

Пребарај: #enterpriseai

当前筛选 #enterpriseai清除筛选
APKPure_Official

@apkpurechannel · Post #2314 · 13.03.2025 г., 15:00

🚀 Revolutionize Your AI Experience with Abacus.AI! 🧠🏢 Whether you're an individual or an enterprise, Abacus.AI has the perfect AI solution for you! 👤For Personal Use: ✅ Access top LLMs (GPT-4, Claude, etc.) ✅ Create custom chatbots - no coding needed! ✅ Generate images & search the web ✅ Automate tasks with AI agents ✅ Just $10/month for unlimited AI power! 🏢For Enterprises: ✅ Build custom AI models effortlessly ✅ Implement predictive modeling & personalization ✅ Enhance forecasting & anomaly detection ✅ Seamlessly integrate with existing systems ✅ Join Fortune 500 companies already onboard! Ready to transform your AI journey? 👉Try Abacus.AI today:https://s.aipure.ai/abacus-ai #AI#AITools#PersonalAI#EnterpriseAI#AbacusAI

StartupBase

@startupbaseuz · Post #4968 · 13.11.2024 г., 07:13

#program ©IT Park Uzbekistan va “Plug and Play Central Asia” O‘zbekistonda Xalqaro akselerator dasturining 3-bosqichiga rasman start berdi! 🔥 O‘zbekiston, Qozog‘iston va Ozarbayjondan 80 dan ortiq arizalar orasidan #EnterpriseAI, #EdTech, #HealthTech, #Fintech, #Mobility va boshqa sohalarda yangi g‘oyalarni ilgari suruvchi 17 ta istiqbolli startap tanlab olindi! Bu tajribani yanada samaraliroq qilish uchun har bir startapga oldingi bosqichlarning tajribali asoschilari va bitiruvchilaridan iborat maxsus kuzatuvchi biriktiriladi: 🫣 Azizbek Qurbonov — “Sug‘urta Bozor” hammuassisi va bosh direktori 🫣 Muhammad Xalil — “Startup Garage” asoschisi 🫣 Rustam Hamdamov — “Billz” asoschisi 🫣 Alisher Alimov — “Azma Finance” asoschisi 🫣 Abduqahhor Toshmuhamedov — “Smartup X” asoschisi ⭐️ Ushbu kuzatuvchilar o‘z tajribalarini bo‘lishib, startaplarga qiyinchiliklarni yengish va o‘z salohiyatlarini ro‘yobga chiqarishda shaxsiy ko‘rsatma va yordam beradilar. Keyingi oylar davomida startaplar quyidagi imkoniyatlardan foydalanadilar: 🥶 Asosiy biznes ko‘nikmalari bo‘yicha mutaxassislar rahbarligidagi seminarlar 🥶 Tajribali mutaxassislar bilan yakka tartibdagi murabbiylik mashg‘ulotlari 🥶 Investorlar va korporativ hamkorlar bilan aloqa o‘rnatish imkoniyatlari 🥶 “Plug and Play” global tarmog‘iga maxsus kirish imkoniyati ⭐️ 3-bosqich va mazkur startaplarning qiziqarli sayohatlari haqida yangilanishlardan xabardor bo‘lib turing! 🚀 Telegram | Instagram | Facebook | Youtube | LinkedIn

Crypto M - Crypto News

@CryptoM · Post #64826 · 10.04.2026 г., 02:43

🚀 AI's Impact on Investment and Trading: Insights from Nansen CEO PANews posted on X (formerly Twitter) about a discussion with Nansen CEO Alex Svanevik on the evolving role of AI in investment and trading. Svanevik highlighted that 'smart money 2.0' is transforming into a predictive system, with agent trading expected to surpass human trading by 2028. However, he emphasized the need for users to build a 'trust ladder' before fully relying on trading agents. The conversation also covered the implementation of tools like OpenClaw in enterprise settings, where safety is prioritized over speed. Svanevik shared insights on how the Nansen team utilizes OpenClaw and how AI is reshaping team structures. He noted that 'judgment' is becoming the most scarce resource within AI-native companies. Svanevik further pointed out that low latency, overcoming AI bottlenecks, and open-source solutions will define the next generation of agent infrastructure. #AI#Investment#Trading#FinTech#MachineLearning#PredictiveAnalytics#OpenSource#EnterpriseAI#FinancialTechnology#AlgorithmicTrading

Crypto M - Crypto News

@CryptoM · Post #64989 · 10.04.2026 г., 13:04

🚀 AI TRENDS | Secure Blockchain Acquires Agentic Solutions in Stock Deal Secure Blockchain, a publicly traded Canadian company, has announced the acquisition of Agentic Solutions Limited, an AI Agent company based on ElizaOS, in an all-stock transaction valued at approximately $450,000, equivalent to 5 million common shares. According to Foresight News, the company also completed a private placement financing of $1.5 million, with the Eliza Foundation subscribing to about 50% of the shares, amounting to roughly $750,000. The funds raised will be allocated to AI Agent development, platform construction, and operational expenses. Additionally, Secure Blockchain settled $500,000 of debt through the issuance of approximately 4.44 million shares. Following the transaction, the total share capital stands at about 32.59 million shares, with a market value estimated at $3.67 million based on the financing price. The related shares are locked until August 11, 2026. Agentic Solutions is a commercial partner of ElizaOS, focusing on developing enterprise-level AI Agent products within this framework. ElizaOS, created by Eliza Labs, is one of the most active open-source AI Agent frameworks currently available. Secure Blockchain, previously specializing in blockchain embedded email encryption services, is transitioning into the Agentic AI sector following this acquisition. #AI#Blockchain#Acquisition#Financing#ElizaOS#AgenticSolutions#StockDeal#EnterpriseAI#OpenSourceAI#TechInvestment