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

Резултати

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

Пребарај: #kashkadarya

当前筛选 #kashkadarya清除筛选
EKOLOG.UZ| ENG

@ekologuzenglish · Post #12420 · 17.04.2026 г., 09:59

#Kashkadarya Spring is the breath of nature, the heartbeat of our land. When fields are covered with scarlet tulips, it feels as if the earth itself has dressed in festive colors… 🌺 Yet sadly, there are those who, instead of admiring this beauty, consider destroying it a “heroic” act. A video circulating on social media shows a car with the license plate 70 R418XA and two other vehicles driving over fields of tulips, crushing not only the flowers but also the insects and reptiles that live there. What is most disturbing is that they record this cruelty with laughter and a sense of “pride”… This is not just a violation. This is violence against nature. This is a clear manifestation of moral degradation. Tulips are not just flowers. They are a symbol of spring, a vital part of the ecosystem, and a habitat for thousands of living beings. Destroying them means breaking an entire chain of life. The exact location of the incident is unknown, but based on the license plate, it is likely that it took place in the Kashkadarya region. In this regard, we call on the Kashkadarya Regional Department of Ecology to provide a legal assessment of this incident and hold those responsible accountable under the law. Nature does not belong to us. We are only its guests. If we fail to protect beauty, we will fail to protect the future… 🌍 ☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.

Hashtags

Teach For Uzbekistan | Official

@teachforuzbekistan · Post #300 · 21.10.2025 г., 14:07

Qashqadaryodagi fellowlarimiz faoliyatlarining ikkinchi yilini davom ettirar ekan, ular uchun loyihani samarali boshqarish va project management tamoyillarini amaliy o‘rganishga bag‘ishlangan sessiya tashkil etildi. 📆 18–19-oktabr kunlari o‘tkazilgan mazkur sessiyada fellowlar ta’limdagi tashabbuslarni rejalashtirish, resurslarni boshqarish va jamoaviy ishni samarali yo‘lga qo‘yish bo‘yicha tajriba almashishdi. 💡 Sessiya BMT Taraqqiyot dasturi (UNDP) start-up tashabbuslar loyihasi mentori Barnoxon Artikxodjayeva tomonidan olib borildi. 😎Teach For Uzbekistan jamoasi Barnoxon Artikxodjayevaga o‘z tajribasi va qo‘llab-quvvatlovi uchun samimiy minnatdorlik bildiradi! #TeachForUzbekistan#FellowDevelopment#ProjectManagement#Qashqadaryo#EducationForAll 💬💬💬 As our fellows in Kashkadarya continue their second year of activities, a session was organized to strengthen their skills in effective project management and the practical application of project management principles. 📆 Held on October 18–19, the session focused on planning educational initiatives, managing resources, and fostering effective teamwork. 💡 The session was conducted by Barnokhon Artikkhodjaeva, mentor of the UNDP Start-up Initiatives Project. 😎The Teach For Uzbekistan team extends its sincere gratitude to Barnokhon Artikkhodjaeva for her valuable insights and continuous support! #TeachForUzbekistan#FellowDevelopment#ProjectManagement#Kashkadarya#EducationForAll 📱Instagram🕊Telegram🔹Linkedin📱Facebook📺YouTube🌍Veb sayt