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

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #110 · 3 јул.

Есть у QLabel есть одна особенность. Её минимальный размер определяется текстом, который в неё записан. Это приводит к тому что длинный текст принудительно увеличивает ширину интерфейса. В большинстве случаев это выглядит плохо. Как с этим бороться? 🔸 Обрезать текст заранее, задав лимит по длине строки. В этом случае мы теряем часть визуальной информации. Не всегда угадаешь нужный размер. В разных OS шрифт используется разный. 🔸 Делать перенос строки. Тогда мы получим изменение размера в другую сторону, что тоже поломает интерфейс. 🔸 Переопределить paintEvent() и сделать кастомный рендеринг текста. Можно, но слишком сложно для такой задачи. Проще всего обрезать текст под текущий размер виджета используя класс QFontMetrics. Он имеет готовый метод elidedText(), который просто вызываем по событию resizeEvent. Я также добавил установку ToolTip чтобы всегда можно было увидеть полный текст при наведении курсора. 🌎 Код здесь #qt#source

Hashtags

Резултати

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

Пребарај: #aga

当前筛选 #aga清除筛选
UXLINK

@uxlink_community · Post #518 · 14.06.2025 г., 09:19

UXLINK Season 4 Airdrop Event & 2025 H1 Business Review Dear UXLINK Global Community, We are pleased to share our comprehensive 2025 first-half business review and announce the launch of the Season 4 Airdrop Event, designed to recognize and reward our valued contributors. 2025 H1 Key Achievements - User Growth: Reached 55 million registered users globally, solidifying our position as the #1 social platform in Web3. - Ecosystem Expansion: Partnered with over 500 organizations to drive innovation across the Web3 landscape. - Social Media Presence: Grew our TikTok user base to 1 million, enhancing engagement with broader audiences. - AI Integration: The AI Growth Agent (AGA) now supports 100,000+ social users and influencers, streamlining growth strategies for creators and startups. - Onchain Leadership: Maintained the #1 ranking in ETH ecosystem for $UXLINK and $UXUY holders, reflecting strong community trust. - Financial Performance: Achieved 12 consecutive months of profit growth and established strategic reserves of $BTC and $UXLINK to ensure long-term stability. - PayFi Ecosystem: Accelerated adoption of $UXLINK in daily transactions, with FujiCard undergoing public testing in over 10 countries. - Investment Milestone: Welcomed new strategic and long-term investors, reinforcing confidence in our vision for AI-powered Web3 infrastructure. Season 4 Airdrop Event: Reward Categories The Season 4 Airdrop is designed to recognize contributors across the following categories: 1. Influencer Starlink X influencers who drive adoption of AI Growth Agent(AGA) and create content promoting #UXLINK Season 4 & AGA. 2. PayFi Early Adopters Participants in the FujiCard public test (launching in Korea). 3. Social Club Card Phase 2 Users in Japan, Korea, Indonesia, and Vietnam are eligible for Phase 2 access to the Social Club Card. Partnership Task Achievers 4. Top yappers on the UXLINK Kaito Leaderboard and Kaito eco qualified users. How to Participate The Season 4 official website is now live at https://dapp.uxlink.io/season4. Visit to explore reward details, join ongoing initiatives, and contribute to building the UXLINK AI-powered Web3 Social Platform & Infrastructure. For questions or updates, follow us on X or join official Telegram groups and stay tuned for further announcements. #UXLINKSeason4#Airdrops#AGA Sincerely, The UXLINK Community

UXLINK

@uxlink_community · Post #514 · 10.06.2025 г., 07:13

Excited to partner with @PublicAI_ to innovate in AI and blockchain!🤝 PublicAI leverages 800k verified contributors for premium AI training data. Backed by @solana and @NEARProtocol Foundation & Stanford Blockchain Accelerator, secured $11M business revenue. #UXLINK AI Growth Agent will elevate AI training data quality together. 🚀 #AIAgent#PublicAI#AGA