@centralasian_greenuniversity · Post #401 · 30.11.2025 г., 07:45
#GreenUniversity#TITF2025#TourismFair#SustainableTourism#StudentExperience ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube
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
Пребарај: #studentexperience
@centralasian_greenuniversity · Post #401 · 30.11.2025 г., 07:45
#GreenUniversity#TITF2025#TourismFair#SustainableTourism#StudentExperience ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube
@centralasian_greenuniversity · Post #390 · 28.11.2025 г., 13:18
Green University Students at the Tashkent International Tourism Fair 2025 🖥Students of Green University are actively participating in the Tashkent International Tourism Fair, taking place on November 27–29, 2025 at CAEx, Tashkent. Our students are engaging with exhibitors, learning about sustainable tourism practices, and representing the university’s growing initiatives in environmental and climate education. #GreenUniversity#TITF2025#TourismFair#SustainableTourism#StudentExperience ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube
@centralasian_greenuniversity · Post #376 · 28.11.2025 г., 06:25
Field Training at Shaykhantakhur District Criminal Court 🗣On November 25, 2025, active members of the Green University Legal Clinic took part in a special field training session at the Shaykhantakhur District Court for Criminal Cases. 🗣This initiative was organized by Valijonov Daler Dilshodovich, PhD, Associate Professor and Head of the Legal Clinic at Green University. 🗣During the visit, students observed real court proceedings, allowing them to strengthen their legal knowledge, develop practical skills, and connect classroom theory with real-world legal practice. #GreenUniversity#LegalClinic#StudentExperience#CourtPractice#EnvironmentalLaw#EducationInAction ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube