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

TGINSIGHT SIMILAR POSTS

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

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

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

Hashtags

Резултати

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

Пребарај: #xlm

当前筛选 #xlm清除筛选
Pro Analysis

@proanalysistrader · Post #28537 · 13.03.2025 г., 03:30

#XLM/USDT analysis : #XLM is in an uptrend, trading above the 200-day EMA on the daily timeframe. The price has tested the support zone and 200-day EMA, and it is expected to rebound from the current level and move upside to test higher levels. For a long entry, wait for the price to break above the $0.2760 level. TF : 1D Entry : $0.2764 Target : $0.6374 SL : $0.2094

Hashtags

Pro Analysis

@proanalysistrader · Post #28490 · 21.02.2025 г., 15:22

#XLM/USDT analysis : #XLM is in an uptrend, forming higher highs (HHs) and higher lows (HLs) above the 200 EMA. The price has retested the 200 EMA and is anticipated to rebound, resuming its bullish momentum to test swing high levels. For a long entry, it is recommended to wait for a breakout above the $0.3751 level. TF : 1D Entry : $0.3751 Target : $0.6374 SL : $0.2764

Hashtags

Pro Analysis

@proanalysistrader · Post #27761 · 17.07.2024 г., 17:09

#XLM/USDT analysis - #XLM recently broke above the 200 EMA with strong momentum. The next move might be a retest of this level and a test of the support zone. Look for a pullback near the 200 EMA for a potential long entry. The previous resistance zone could serve as the target level. TF : 4h Entry : $0.0937 Target : $0.1198 SL : $0.0863

Hashtags

American Crypto©

@americancryptotrading · Post #27579 · 05.04.2026 г., 09:35

🇺🇸#XLM/USDT is currently forming the descendingchannel formation on the 3D timeframe🔍 Accumulate before the rocket takes off✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27489 · 02.01.2026 г., 10:30

🇺🇸#XLM/USDT is trading inside the descendingchannel on the 2D chart👨‍💻 Bullish on a breakout🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27390 · 28.09.2025 г., 08:30

🇺🇸#XLM/USDT is holding above the broken s/rzone on the daily chart🔥 Bullish📈 American Crypto©

Hashtags

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