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

TGINSIGHT SIMILAR POSTS

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

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

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

Hashtags

Резултати

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

Пребарај: #fil

当前筛选 #fil清除筛选
Coin Sonar

@CoinSonar · Post #243408 · 17.04.2026 г., 01:50

#FIL | Volume spike (USDT PAIR) 58 times the average volume 258.06K USDT traded in 1 min └Buying vol: 179.20K USDT 🟢 Boost score: 5/10 24h Vol: 6.40M USDT (Binance) Price: 0.984 (-1.4% in 24h)

Hashtags

Pro Analysis

@proanalysistrader · Post #28045 · 21.10.2024 г., 13:07

#FIL/USDT analysis : #FIL is currently in an uptrend, consistently making higher highs (HHs) and higher lows (HLs) along the trendline. The price is now retracing towards the 200 EMA, presenting a potential long trade opportunity. The target should be the previous high levels, as the price is anticipated to rise further. TF : 1D Entry : $3.888 Target : $4.662 SL : $3.366

Hashtags

American Crypto©

@americancryptotrading · Post #27613 · 08.05.2026 г., 08:21

🇺🇸#FIL/USDT is approaching the midline of the descendingchannel formation on the 3D chart💁‍♂️ Looking for a rise✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27570 · 27.03.2026 г., 10:40

🇺🇸#FIL/USDT is printing the descendingchannel formation on the 2W timeframe👨‍💻 A strong rally is approaching🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27525 · 05.02.2026 г., 11:46

🇺🇸#FIL/USDT has found support at the lowerboundary of the descendingchannel formation on the 3D chart👨‍💻 Looking for a leg upward📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27490 · 03.01.2026 г., 11:17

🇺🇸#FIL/USDT is rebounding from the lowerborder of the descendingchannel pattern on the 3D chart👨‍💻 Bounce will bring a huge rally🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27457 · 02.12.2025 г., 10:25

🇺🇸#FIL/USDT is currently shaping the descendingchannel formation on the weekly chart👨‍💻 Send it if we break out🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27378 · 17.09.2025 г., 09:00

🇺🇸#FIL/USDT is hovering above the broken descendingresistance line on the daily timeframe🧐 A pump is expected📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27268 · 02.06.2025 г., 09:38

🇺🇸#FIL/USDT is retesting the broken descendingresistance line on the daily timeframe🔍 Time to rally🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27164 · 23.02.2025 г., 19:18

🇺🇸#FIL/USDT has found support at the lowerborder of the descendingtriangle formation on the weekly chart👀 Time to bounce and rally📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27096 · 24.12.2024 г., 15:01

🇺🇸#FIL/USDT is retesting broken descendingresistance on the weekly chart🧐 Looking for a rise✈️ American Crypto©

Hashtags

123•••56
ПретходнаСтраница 1 од 6Следна