@The2ndDim · Post #1778 · 06.01.2023 г., 18:48
#推荐#HackerSpace#DIY#3D_Printing#HardwareHacking Youtube 频道推荐: https://youtube.com/@ZackFreedman Keywords: DIY 3D打印 硬件黑客 全程高能 骚话连篇 (?) 妙语连珠
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #110 · 3 јул.
Есть у QLabel есть одна особенность. Её минимальный размер определяется текстом, который в неё записан. Это приводит к тому что длинный текст принудительно увеличивает ширину интерфейса. В большинстве случаев это выглядит плохо. Как с этим бороться? 🔸 Обрезать текст заранее, задав лимит по длине строки. В этом случае мы теряем часть визуальной информации. Не всегда угадаешь нужный размер. В разных OS шрифт используется разный. 🔸 Делать перенос строки. Тогда мы получим изменение размера в другую сторону, что тоже поломает интерфейс. 🔸 Переопределить paintEvent() и сделать кастомный рендеринг текста. Можно, но слишком сложно для такой задачи. Проще всего обрезать текст под текущий размер виджета используя класс QFontMetrics. Он имеет готовый метод elidedText(), который просто вызываем по событию resizeEvent. Я также добавил установку ToolTip чтобы всегда можно было увидеть полный текст при наведении курсора. 🌎 Код здесь #qt#source
Пребарај: #hackerspace
@The2ndDim · Post #1778 · 06.01.2023 г., 18:48
#推荐#HackerSpace#DIY#3D_Printing#HardwareHacking Youtube 频道推荐: https://youtube.com/@ZackFreedman Keywords: DIY 3D打印 硬件黑客 全程高能 骚话连篇 (?) 妙语连珠
@allsafekz · Post #731 · 20.05.2025 г., 09:37
https://lnkd.in/e25HNh7A Alhamdulillah, I finished writing this book in few days. I wrote this book to help my friends: Nurkhankyzy Aiya, Acute myeloid leukemia (AML). and all those children who are fighting for their lives. Why is the book called that? AIYA MMD - means Attack and Introduction or (Android and IOS), start Your Adventure in Mobile Malware Development. also AIYA means AIYA Nurkhankyzy. I will be very happy if this book helps at least one person to gain knowledge and learn the science of cybersecurity. The book is mostly practice oriented. Of course the book is not as big as my previous works, this is because firstly I needed to urgently start a fundraising campaign for the Aiya and secondly many things remain confidential (NDA) Mobile malware - it's a constantly evolving battlefield. What you learned here is just the beginning. Tools change, defenses adapt, but the mindset stays the same: think like the adversary to build stronger defenses. This book is dedicated to my wife, Laura, and my children, Yerzhan and Munira. I would like to express my deep gratitude to my friends and colleagues. Special thanks to #Russian#hacking#community, Medet Turin 2600.kz, BlackIce #hackerspace from Almaty (Kazakhstan) and my friends from Middle East countries: Kingdom of Bahrain, Kingdom of Saudi Arabia, UAE. All examples are practical cases for educational and research purposes only. Book design by: Muhammad Patel twitter: https://x.com/cocomelonckz/status/1924724518951457229 #hacking#mobile#malware#research#book#programming#android#ios#rat#spyware
@blackicehackerspace · Post #107 · 20.05.2025 г., 09:38
https://lnkd.in/e25HNh7A Alhamdulillah, I finished writing this book in few days. I wrote this book to help my friends: Nurkhankyzy Aiya, Acute myeloid leukemia (AML). and all those children who are fighting for their lives. Why is the book called that? AIYA MMD - means Attack and Introduction or (Android and IOS), start Your Adventure in Mobile Malware Development. also AIYA means AIYA Nurkhankyzy. I will be very happy if this book helps at least one person to gain knowledge and learn the science of cybersecurity. The book is mostly practice oriented. Of course the book is not as big as my previous works, this is because firstly I needed to urgently start a fundraising campaign for the Aiya and secondly many things remain confidential (NDA) Mobile malware - it's a constantly evolving battlefield. What you learned here is just the beginning. Tools change, defenses adapt, but the mindset stays the same: think like the adversary to build stronger defenses. This book is dedicated to my wife, Laura, and my children, Yerzhan and Munira. I would like to express my deep gratitude to my friends and colleagues. Special thanks to #Russian#hacking#community, Medet Turin 2600.kz, BlackIce #hackerspace from Almaty (Kazakhstan) and my friends from Middle East countries: Kingdom of Bahrain, Kingdom of Saudi Arabia, UAE. All examples are practical cases for educational and research purposes only. Book design by: Muhammad Patel twitter: https://x.com/cocomelonckz/status/1924724518951457229 #hacking#mobile#malware#research#book#programming#android#ios#rat#spyware