@teasticker · Post #9866 · 27.06.2022 г., 11:00
#LZfinance#meditation#animated
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #110 · 3 јул.
Есть у QLabel есть одна особенность. Её минимальный размер определяется текстом, который в неё записан. Это приводит к тому что длинный текст принудительно увеличивает ширину интерфейса. В большинстве случаев это выглядит плохо. Как с этим бороться? 🔸 Обрезать текст заранее, задав лимит по длине строки. В этом случае мы теряем часть визуальной информации. Не всегда угадаешь нужный размер. В разных OS шрифт используется разный. 🔸 Делать перенос строки. Тогда мы получим изменение размера в другую сторону, что тоже поломает интерфейс. 🔸 Переопределить paintEvent() и сделать кастомный рендеринг текста. Можно, но слишком сложно для такой задачи. Проще всего обрезать текст под текущий размер виджета используя класс QFontMetrics. Он имеет готовый метод elidedText(), который просто вызываем по событию resizeEvent. Я также добавил установку ToolTip чтобы всегда можно было увидеть полный текст при наведении курсора. 🌎 Код здесь #qt#source
Пребарај: #meditation
@teasticker · Post #9866 · 27.06.2022 г., 11:00
#LZfinance#meditation#animated
Hashtags
@QuietWorld · Post #8016 · 24.02.2022 г., 01:37
Pulled a card for messages regarding yesterday & I got the card “Stop fuvking whining.” 😂 “No one wants to listen to that shit. Complaining makes you weak. You have the strength to change your world; so do it.” Thank you for the message, Spirit Guides ☺️ Imma pick myself back as usual. I may not always have people to be there for me whenever I'm down but I always can count on my angels & Spirit Guides. I have an army of my spiritual team around me that always have my back. We all do. Isn't that the best thing ever? They can do what humans can't do. #thoughts#meditation#tarot#oracle@quietworld🍃
@QuietWorld · Post #8351 · 17.01.2024 г., 02:43
#deep#meditation#selfreminder#selftalk#reflection @quietworld🌸
@psypokerinfo · Post #2689 · 12.04.2026 г., 18:56
#BrainSync#Meditation#Attention#ADHD Deep Focus
@teasticker · Post #10082 · 30.07.2022 г., 03:58
#ProstoufaNew#meditation#anonymous#unknown#hack#animated
@QuietWorld · Post #7644 · 19.10.2020 г., 02:38
Have you ever heard of Memory Palace Technique? – a technique in studying that helps you remember what you learn better and faster? Well, I'm using that technique, but not in studying; but in reminding myself of gratitude and encouraging positive self affirmation with crystals. One thing for sure, ever since I get myself involved in crystals (since July to be precised), I'm coping with my self-esteem, motivation & anxiety, better. Interested? Check out Ponderlog for more 😘 #ponderlog#crystallovers#grootcrystal#meditation#selfhealing#crystalhealing#crystalmeditation#memory#reminder#mindbodyspirit
@teasticker · Post #9732 · 13.05.2022 г., 10:00
Cipher (Raj) 🧘♂️ #TheRaj_hacker#meditation#clone#dev#hacker#man#animated #冥想#克隆#开发者#骇客#男人#动画
@lup_tg · Post #33523 · 12.03.2026 г., 15:18
Ничего особо не видел. Туман был сильный. #travel#foodie#fitness#art#music#photography#nature#fashion#beauty#motivation#quotes#books#coffee#technology#gaming#movies#design#architecture#cars#motorcycles#space#science#history#culture#streetstyle#selfcare#mindfulness#yoga#meditation#business#entrepreneur#marketing#startup#coding#ai#robotics#education#learning#languages#writing#poetry#drawing#painting#digitalart#illustration#animals#cats#dogs#wildlife#ocean#mountains#sunset#sunrise#citylife#streetphotography#minimalism#vintage#retro#luxury#watches#sneakers#streetwear#makeup#skincare#healthyfood#vegan#recipes#baking#gardening#plants#flowers#home#interior#decor#lifestyle#adventure#explore
Hashtags