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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

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

Пребарај: #togetherwegrow

当前筛选 #togetherwegrow清除筛选
KIUT | Namangan rasmiy

@kiut_nm · Post #5478 · 19.02.2026 г., 07:12

KIND HEARTS JAMOSIDA MOVIE TIME 🎬 Kecha shunchaki film ko‘rmadik — birga kuldik, o‘yladik va ilhomlandik. “Kind Hearts” jamoasi bilan o‘tgan uchrashuvimiz haqiqatan ham unutilmas bo‘ldi. Samimiy muhit, ochiq suhbatlar, qiziqarli fikrlar va albatta, ko‘plab chiroyli suratlar 📸✨ Eng quvonarlisi — ishtirokchilarning faol ishtiroki va chuqur fikrlari bo‘ldi. Eng mazmunli fikr bildirganlar esa maxsus sovg‘alar bilan taqdirlandilar. 🎁👏 Bunday uchrashuvlar bizni bir-birimizga yanada yaqinlashtiradi va har safar yangi motivatsiya beradi. Siz ham bizning volontyorlarimiz safimizda bo‘lishni istasangiz @your_moh1ga yozing #KindHearts#KIUTNamangan#StudentLife#TogetherWeGrow

DRIFT Foundation

@ton_drift · Post #485 · 01.11.2024 г., 12:37

🎉🎂 Happy Birthday, DRIFT! 🎂 🎉 Today we celebrate our first year together with you! It’s been an incredible journey filled with challenges, victories, and unforgettable moments. We are grateful to each and every one of you who has supported and continues to support us along the way! Over this past year, DRIFT has become more than just a project; it’s a true crypto family united by a shared vision and passion for innovation. 🚀 💎 Our utility continues to grow! We launched an NFT DAO, giving every member the power to influence project decisions, and introduced our thrilling crypto game, which thousands of users around the world are already enjoying. And this is just the beginning: in the future, we plan to implement even more useful features to make DRIFT an essential tool in your crypto arsenal! 🔗 🎮 We’re not stopping here, and we’ve got many exciting surprises in store for our community. Stay with us because the best is yet to come! Thank you for your trust and support. DRIFT keeps moving forward because of you! 🙏🔥 #DRIFT#CryptoAnniversary#OneYearOfDRIFT#NFTDAO#CryptoGame#TogetherWeGrow

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #277 · 30.07.2025 г., 17:08

🧠 Yangi vazifalar oldidan psixologik tayyorgarlik! 💪 Yozgi institut doirasida ishtirokchilar uchun muhim mashg‘ulotlar tashkil etildi. Yangi bosqichga puxta tayyorlanish maqsadida psixolog Nissa Lebedinskaya tomonidan “Team building” mavzusida amaliy mashg‘ulotlar o‘tkazildi. 🧘‍♀️ Ushbu sessiyalar davomida ishtirokchilar o‘z emotsiyalarini anglash va boshqarish, jamoada samarali ishlash, o‘ziga bo‘lgan ishonchni mustahkamlash bo‘yicha muhim ko‘nikmalarga ega bo‘lishdi. 🔥 Bu mashg‘ulotlar ularni yangi vazifalarga ruhiy va psixologik jihatdan tayyorlanishga yordam berdi. Institutdagi har bir bosqich — ulkan o‘sish sari dadil qadam! 🤝O‘zbekiston Yoshlar ishlari agentligiga ushbu faoliyatlarni amalga oshirishda ko‘rsatgan yordami uchun alohida minnatdorchilik bildiramiz. 💬💬💬🗣 🧠 Psychological Preparation Before New Responsibilities! 💪 As part of the Summer Institute, important sessions were organized for participants. In order to thoroughly prepare for the next stage, practical training on the topic of “Team Building” was conducted by psychologist Nissa Lebedinskaya. 🧘‍♀️ During these sessions, participants gained important skills in recognizing and managing their emotions, working effectively in a team, and strengthening self-confidence. 🔥 These trainings helped them prepare mentally and psychologically for new responsibilities. Each stage of the Institute is a confident step toward great growth! 🤝 Special thanks to the Youth Affairs Agency of Uzbekistan for their support in making these activities possible. #SummerInstitute2025#TeamBuilding#PsychologicalSupport#LeadershipJourney#SelfAwareness#EmotionalIntelligence#GrowthMindset#FutureLeaders#TogetherWeGrow#TeachForUzbekistan Telegram |Linkedln| Instagram |Youtube